Table of Contents

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 Device

The device.

driver Driver

The 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

DateTime?

DateTime

Device

Gets or sets the Device associated with the consumption report.

public Device? Device { get; set; }

Property Value

Device

Device

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

Driver

Driver

EnergyConsumed

Gets or sets the total energy consumed in (kWh). Default [0].

public double? EnergyConsumed { get; set; }

Property Value

double?

The energy consumed.