Table of Contents

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

newDataToProcess bool

True if there is data in this period to process.

statusData IDictionary<Id, IList<StatusData>>

Fuel status data (e.g., total fuel used, fuel level, etc.).

fuelTransactions IList<FuelTransaction>

Fuel transaction records.

trips IList<Trip>

Trips.

processedFuelJobData ProcessedFuelJobData

Data to carry over into the next processing cycle.

currentTrips IList<Trip>

Current batch of trips.

currentTripsToDate DateTime

Current trip batch to date.

baselineFillUpDate DateTime

The 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

IList<Trip>

The current batch of trips.

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; }

Property Value

IList<Trip>

The trips.