Class ProcessedFuelData
- Namespace
- Geotab.Checkmate.ObjectModel.Fuel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents all data necessary to create processed fuel entities for a period of time.
public class ProcessedFuelData
- Inheritance
-
ProcessedFuelData
- Inherited Members
Constructors
ProcessedFuelData(bool, IDictionary<Id, IList<StatusData>>, IList<FuelTransaction>, IList<Trip>, ProcessedFuelJobData, IList<Trip>, in DateTime, in DateTime)
Initializes a new instance of the ProcessedFuelData class.
public ProcessedFuelData(bool newDataToProcess, IDictionary<Id, IList<StatusData>> statusData, IList<FuelTransaction> fuelTransactions, IList<Trip> trips, ProcessedFuelJobData processedFuelJobData, IList<Trip> currentTrips, in DateTime currentTripsToDate, in DateTime baselineFillUpDate)
Parameters
newDataToProcessboolTrue if there is data in this period to process.
statusDataIDictionary<Id, IList<StatusData>>Fuel status data (e.g., total fuel used, fuel level, etc.).
fuelTransactionsIList<FuelTransaction>Fuel transaction records.
tripsIList<Trip>Trips.
processedFuelJobDataProcessedFuelJobDataData to carry over into the next processing cycle.
currentTripsIList<Trip>Current batch of trips.
currentTripsToDateDateTimeCurrent trip batch to date.
baselineFillUpDateDateTimeThe date of the baseline fill up.
Properties
BaselineFillUpDate
Gets the date of the baseline fill up.
public DateTime BaselineFillUpDate { get; }
Property Value
- DateTime
The date when the baseline fill up happened.
CurrentTrips
Gets the current batch of trips.
public IList<Trip> CurrentTrips { get; }
Property Value
CurrentTripsToDate
Gets the current trip batch to date.
public DateTime CurrentTripsToDate { get; }
Property Value
- DateTime
The current trip batch to date
FuelTransactions
Gets the fuel transaction records.
public IList<FuelTransaction> FuelTransactions { get; }
Property Value
- IList<FuelTransaction>
The fuel transaction records.
NewDataToProcess
Gets a value indicating whether there is data in this period to process.
public bool NewDataToProcess { get; }
Property Value
- bool
True or false.
ProcessedFuelJobData
Gets or sets the data to carry over into the next processing cycle.
public ProcessedFuelJobData ProcessedFuelJobData { get; set; }
Property Value
- ProcessedFuelJobData
The data to carry over into the next processing cycle.
StatusData
Gets the fuel status data (e.g., total fuel used, fuel level, etc.).
public IDictionary<Id, IList<StatusData>> StatusData { get; }
Property Value
- IDictionary<Id, IList<StatusData>>
The fuel status data.
Trips
Gets the trips.
public IList<Trip> Trips { get; }