Class FillUpExtrema
- Namespace
- Geotab.Checkmate.ObjectModel.Fuel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents the low and high values of fuel level for a fill-up.
public class FillUpExtrema
- Inheritance
-
FillUpExtrema
- Inherited Members
Constructors
FillUpExtrema()
Initializes a new instance of the FillUpExtrema class.
public FillUpExtrema()
FillUpExtrema(StatusData, StatusData, FillUpExtremum?, FillUpExtremum?)
Initializes a new instance of the FillUpExtrema class.
public FillUpExtrema(StatusData maxima, StatusData minima, FillUpExtremum? maximaPoint = null, FillUpExtremum? minimaPoint = null)
Parameters
maxima
StatusDataThe peak.
minima
StatusDataThe valley.
maximaPoint
FillUpExtremumThe maxima fuel data point.
minimaPoint
FillUpExtremumThe minima fuel data point.
FillUpExtrema(FillUpExtremum, FillUpExtremum)
Initializes a new instance of the FillUpExtrema class.
public FillUpExtrema(FillUpExtremum maximaPoint, FillUpExtremum minimaPoint)
Parameters
maximaPoint
FillUpExtremumThe maxima point of the FillUpExtrema.
minimaPoint
FillUpExtremumThe minima point of the FillUpExtrema.
Properties
Maxima
Gets or sets the maxima value.
public StatusData? Maxima { get; set; }
Property Value
MaximaPoint
Gets or sets the maxima FillUpExtremum for the fill-up.
public FillUpExtremum? MaximaPoint { get; set; }
Property Value
Minima
Gets or sets the minima value.
public StatusData? Minima { get; set; }
Property Value
MinimaPoint
Gets or sets the minima FillUpExtremum for the fill-up.
public FillUpExtremum? MinimaPoint { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetDiagnostic()
Gets the diagnostic.
public Diagnostic? GetDiagnostic()
Returns
- Diagnostic
The diagnostic.
GetDifference()
Gets the difference between the values.
public double GetDifference()
Returns
GetHashCode()
public override int GetHashCode()