Class StatusData
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A record that represents an engine status record from the engine system of the specific Device.
[ReportClass]
public class StatusData : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IDiagnosticProvider, IDeviceProvider, IDateTimeProvider, ILastActive, IDeviceStatusInfoDiagnostic
- Inheritance
-
StatusData
- Implements
- Derived
- Inherited Members
Constructors
StatusData()
Initializes a new instance of the StatusData class.
public StatusData()
StatusData(StatusData)
Initializes a new instance of the StatusData class.
protected StatusData(StatusData statusData)
Parameters
statusDataStatusDataThe status data.
StatusData(Id?, long?, Device?, DateTime?, double, Diagnostic?, Controller?)
Initializes a new instance of the StatusData class.
public StatusData(Id? id, long? version, Device? device, DateTime? dateTime, double data, Diagnostic? diagnostic, Controller? controller = null)
Parameters
idIdThe Id.
versionlong?The version.
deviceDeviceThe Device.
dateTimeDateTime?The log DateTime.
datadoubleThe data.
diagnosticDiagnosticThe diagnostic.
controllerControllerThe controller.
Properties
Controller
Gets or sets the Controller for the Device specified.
public Controller Controller { get; set; }
Property Value
Data
Gets or sets the recorded value of the diagnostic parameter.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.StatusDataData })]
public double? Data { get; set; }
Property Value
- double?
Nullable<T> where T is. double
DateTime
Gets or sets the date and time of the logged event.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.StatusDataDateTime })]
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the StatusData for the Device specified.
public Device? Device { get; set; }
Property Value
Diagnostic
Gets or sets the Diagnostic for the Device specified.
public Diagnostic? Diagnostic { get; set; }
Property Value
IsLastActive
Gets or sets a value indicating whether this instance is the last active record in the vehicle's active period. Possible values are:.
- false: The record is within the active period and not the last active record
- true: The record is within the active period and is the last active record
- null: The record is not within the active period or the diagnostic does not observe active state (ex. Accelerometer)
public bool? IsLastActive { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
Stringified()
Returns a string that represents the current object with detailed information.
public string Stringified()
Returns
- string
A string with detailed information of Status data.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.