Class RangeEstimate
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Data pertinent to the range estimates for a vehicle.
public sealed class RangeEstimate : AggregatedDataEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
RangeEstimate
- Implements
- Inherited Members
Constructors
RangeEstimate()
Initializes a new instance of the RangeEstimate class.
public RangeEstimate()
RangeEstimate(Id, DateTime?)
Initializes a new instance of the RangeEstimate class. Constructor.
public RangeEstimate(Id id, DateTime? lastUpdated)
Parameters
id
IdThe Id.
lastUpdated
DateTime?The last update date time of the RangeEstimate.
Properties
DetectionDate
Gets or sets the detection date.
public DateTime? DetectionDate { get; set; }
Property Value
- DateTime?
The date for when the range estimate was evaluated.
Device
Gets or sets the device.
public Device? Device { get; set; }
Property Value
RangeEstimateLowerBoundKm
Gets or sets the range estimates lower bound in km.
public double? RangeEstimateLowerBoundKm { get; set; }
Property Value
- double?
The current estimate lower bound in km.
RangeEstimateMeanKm
Gets or sets the range estimates mean in km.
public double? RangeEstimateMeanKm { get; set; }
Property Value
- double?
The current estimate mean in km.
RangeEstimateUpperBoundKm
Gets or sets the range estimates upper bound in km.
public double? RangeEstimateUpperBoundKm { get; set; }
Property Value
- double?
The current estimate upper bound in km.
RangeEstimationMethod
Gets or sets the estimation method.
public CalculationMethod? RangeEstimationMethod { get; set; }
Property Value
- CalculationMethod?
The estimation method using CalculationMethod enum.
Vin
Gets or sets the vehicle identification number.
public string? Vin { get; set; }
Property Value
- string
The vehicle identification number.
Methods
Clone()
Creates a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of the current instance.
ParseRangeEstimationMethod(string)
Parses the range estimation method from a string.
public static CalculationMethod ParseRangeEstimationMethod(string methodString)
Parameters
methodString
stringThe string representation of the estimation method.
Returns
- CalculationMethod
The estimation method using CalculationMethod enum.
RangeEstimationMethodToString(CalculationMethod)
Converts the range estimation method to its string representation.
public static string RangeEstimationMethodToString(CalculationMethod method)
Parameters
method
CalculationMethodThe estimation method using CalculationMethod enum.
Returns
- string
The string representation of the estimation method.