Class EnergyConsumedRecord
- Namespace
- Geotab.Checkmate.ObjectModel.Energy
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The energy consumption reported for the trip.
public class EnergyConsumedRecord
- Inheritance
-
EnergyConsumedRecord
- Inherited Members
Constructors
EnergyConsumedRecord(Device?, Driver?, DateTime?, double?, float?)
Initializes a new instance of the EnergyConsumedRecord class.
public EnergyConsumedRecord(Device? device, Driver? driver, DateTime? dateTime, double? energyConsumed, float? distance)
Parameters
device
DeviceThe device.
driver
DriverThe driver.
dateTime
DateTime?The dateTime.
energyConsumed
double?The energyConsumed.
distance
float?The distance.
Properties
DateTime
Gets or sets the DateTime associated with the consumption report.
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the Device associated with the consumption report.
public Device? Device { get; set; }
Property Value
Distance
Gets or sets the distance traveled.
public float? Distance { get; set; }
Property Value
- float?
The distance traveled.
Driver
Gets or sets the Driver associated with the energy usage.
public Driver? Driver { get; set; }
Property Value
EnergyConsumed
Gets or sets the total energy consumed in (kWh). Default [0].
public double? EnergyConsumed { get; set; }
Property Value
- double?
The energy consumed.