Class FuelTankCapacity
- Namespace
- Geotab.Checkmate.ObjectModel.Fuel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represent a vehicle's fuel tank capacity and how it was derived.
public class FuelTankCapacity : IDefaultable
- Inheritance
-
FuelTankCapacity
- Implements
- Inherited Members
Constructors
FuelTankCapacity(double?, FuelTankCapacitySource?)
Initializes a new instance of the FuelTankCapacity class.
public FuelTankCapacity(double? volume = null, FuelTankCapacitySource? source = null)
Parameters
volume
double?The volume.
source
FuelTankCapacitySource?The source.
Properties
Source
Gets or sets the FuelTankCapacitySource.
public FuelTankCapacitySource? Source { get; set; }
Property Value
Volume
Gets or sets the volume (L). Default [-1].
public double? Volume { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PopulateDefaults()
Populate non-required empty (null) properties with default values.
public void PopulateDefaults()