Class FaultCycle
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A class that holds the DTC cycles for a fault.
public sealed class FaultCycle : AggregatedDataEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
FaultCycle
- Implements
- Inherited Members
Constructors
FaultCycle()
Initializes a new instance of the FaultCycle class.
public FaultCycle()
FaultCycle(FaultCycle)
Initializes a new instance of the FaultCycle class.
public FaultCycle(FaultCycle faultCycle)
Parameters
faultCycle
FaultCycleThe fault cycle to initialize
FaultCycle(Id, DateTime?)
Initializes a new instance of the FaultCycle class.
public FaultCycle(Id id, DateTime? lastUpdated)
Parameters
FaultCycle(Id?, DateTime?, Device?, int?, int?, int?, int?, DateTime?, DateTime?, bool?, bool?, DateTime?, long?, DateTime?, long?, long?, long?, long?, DateTime?, long?, DateTime?, long?, long?, long?, long?, DateTime?, long?, DateTime?, long?, long?, long?, long?)
Initializes a new instance of the FaultCycle class with all properties.
public FaultCycle(Id? id, DateTime? lastUpdated, Device? device, int? protocolCode, int? controllerCode, int? diagnosticCode, int? failureModeCode, DateTime? cycleStart, DateTime? cycleEnd, bool? cycleOnGoing, bool? validCycle, DateTime? summaryCycleFirstPending, long? summaryCycleOdometerFirstPending, DateTime? summaryCycleLastPending, long? summaryCycleOdometerLastPending, long? summaryCycleDurationPending, long? summaryCycleDistancePending, long? pendingEventCount, DateTime? summaryCycleFirstActive, long? summaryCycleOdometerFirstActive, DateTime? summaryCycleLastActive, long? summaryCycleOdometerLastActive, long? summaryCycleDurationActive, long? summaryCycleDistanceActive, long? activeEventCount, DateTime? summaryCycleFirstConfirmed, long? summaryCycleOdometerFirstConfirmed, DateTime? summaryCycleLastConfirmed, long? summaryCycleOdometerLastConfirmed, long? summaryCycleDurationConfirmed, long? summaryCycleDistanceConfirmed, long? confirmedEventCount)
Parameters
id
IdThe identifier.
lastUpdated
DateTime?The version of the entity.
device
DeviceThe Device.
protocolCode
int?The Protocol code.
controllerCode
int?The Controller code.
diagnosticCode
int?The Diagnostic code.
failureModeCode
int?The FailureMode code.
cycleStart
DateTime?The first DateTime of the DTC Cycle.
cycleEnd
DateTime?The last DateTime of the DTC Cycle.
cycleOnGoing
bool?The indication whether the DTC cycle is considered as persistent.
validCycle
bool?The indication whether a cycle is valid or invalid due to more recent DTC cycle.
summaryCycleFirstPending
DateTime?The datetime of the first pending DTC.
summaryCycleOdometerFirstPending
long?The odometer value of the first pending DTC.
summaryCycleLastPending
DateTime?The dateTime of the last Pending DTC.
summaryCycleOdometerLastPending
long?The odometer value of the last Pending DTC.
summaryCycleDurationPending
long?The duration where DTC cycle is in the pending state.
summaryCycleDistancePending
long?The distance driven with DTC cycle in pending state.
pendingEventCount
long?The count of all Pending DTCs inside the cycle.
summaryCycleFirstActive
DateTime?The DateTime of the first Active DTC.
summaryCycleOdometerFirstActive
long?The Odometer value of the first Active DTC.
summaryCycleLastActive
DateTime?The dateTime of the last Active DTC.
summaryCycleOdometerLastActive
long?The Odometer value of the last Active DTC.
summaryCycleDurationActive
long?The duration where DTC cycle is in the active state.
summaryCycleDistanceActive
long?The distance driven with DTC cycle in active state.
activeEventCount
long?The count of all Active DTCs inside the cycle.
summaryCycleFirstConfirmed
DateTime?The DateTime of the first Confirmed DTC.
summaryCycleOdometerFirstConfirmed
long?The Odometer value of the first Confirmed DTC.
summaryCycleLastConfirmed
DateTime?The DateTime of the last Confirmed DTC.
summaryCycleOdometerLastConfirmed
long?The Odometer value of the last Confirmed DTC.
summaryCycleDurationConfirmed
long?The duration where DTC cycle is in the confirmed state.
summaryCycleDistanceConfirmed
long?The distance driven with DTC cycle in confirmed state.
confirmedEventCount
long?The count of all Confirmed DTCs inside the cycle.
Properties
ActiveEventCount
Gets or sets the count of all Active DTCs inside the cycle.
public long? ActiveEventCount { get; set; }
Property Value
ConfirmedEventCount
Gets or sets the count of all Confirmed DTCs inside the cycle.
public long? ConfirmedEventCount { get; set; }
Property Value
ControllerCode
Gets or sets the Controller code.
public int? ControllerCode { get; set; }
Property Value
CycleEnd
Gets or sets the last DateTime of the DTC Cycle.
public DateTime? CycleEnd { get; set; }
Property Value
CycleOnGoing
Gets or sets the indication whether the DTC cycle is considered as persistent. If the cycle is persistent the last seen DTC is not yet set as the DTC cycle end and can still update.
public bool? CycleOnGoing { get; set; }
Property Value
CycleStart
Gets or sets the first DateTime of the DTC Cycle.
public DateTime? CycleStart { get; set; }
Property Value
Device
Gets or sets the Device.
public Device? Device { get; set; }
Property Value
DiagnosticCode
Gets or sets the Diagnostic code.
public int? DiagnosticCode { get; set; }
Property Value
FailureModeCode
Gets or sets the FailureMode code.
public int? FailureModeCode { get; set; }
Property Value
PendingEventCount
Gets or sets the count of all Pending DTCs inside the cycle.
public long? PendingEventCount { get; set; }
Property Value
ProtocolCode
Gets or sets the Protocol code.
public int? ProtocolCode { get; set; }
Property Value
SummaryCycleDistanceActive
Gets or sets the distance driven with DTC cycle in active state.
public long? SummaryCycleDistanceActive { get; set; }
Property Value
SummaryCycleDistanceConfirmed
Gets or sets the distance driven with DTC cycle in confirmed state.
public long? SummaryCycleDistanceConfirmed { get; set; }
Property Value
SummaryCycleDistancePending
Gets or sets the distance driven with DTC cycle in pending state.
public long? SummaryCycleDistancePending { get; set; }
Property Value
SummaryCycleDurationActive
Gets or sets the duration where DTC cycle is in the active state.
public long? SummaryCycleDurationActive { get; set; }
Property Value
SummaryCycleDurationConfirmed
Gets or sets the duration where DTC cycle is in the confirmed state.
public long? SummaryCycleDurationConfirmed { get; set; }
Property Value
SummaryCycleDurationPending
Gets or sets the duration where DTC cycle is in the pending state.
public long? SummaryCycleDurationPending { get; set; }
Property Value
SummaryCycleFirstActive
Gets or sets the DateTime of the first Active DTC.
public DateTime? SummaryCycleFirstActive { get; set; }
Property Value
SummaryCycleFirstConfirmed
Gets or sets the DateTime of the first Confirmed DTC.
public DateTime? SummaryCycleFirstConfirmed { get; set; }
Property Value
SummaryCycleFirstPending
Gets or sets the datetime of the first pending DTC.
public DateTime? SummaryCycleFirstPending { get; set; }
Property Value
SummaryCycleLastActive
Gets or sets the dateTime of the last Active DTC.
public DateTime? SummaryCycleLastActive { get; set; }
Property Value
SummaryCycleLastConfirmed
Gets or sets the DateTime of the last Confirmed DTC.
public DateTime? SummaryCycleLastConfirmed { get; set; }
Property Value
SummaryCycleLastPending
Gets or sets the dateTime of the last Pending DTC.
public DateTime? SummaryCycleLastPending { get; set; }
Property Value
SummaryCycleOdometerFirstActive
Gets or sets the Odometer value of the first Active DTC.
public long? SummaryCycleOdometerFirstActive { get; set; }
Property Value
SummaryCycleOdometerFirstConfirmed
Gets or sets the Odometer value of the first Confirmed DTC.
public long? SummaryCycleOdometerFirstConfirmed { get; set; }
Property Value
SummaryCycleOdometerFirstPending
Gets or sets the odometer value of the first pending DTC.
public long? SummaryCycleOdometerFirstPending { get; set; }
Property Value
SummaryCycleOdometerLastActive
Gets or sets the Odometer value of the last Active DTC.
public long? SummaryCycleOdometerLastActive { get; set; }
Property Value
SummaryCycleOdometerLastConfirmed
Gets or sets the Odometer value of the last Confirmed DTC.
public long? SummaryCycleOdometerLastConfirmed { get; set; }
Property Value
SummaryCycleOdometerLastPending
Gets or sets the odometer value of the last Pending DTC.
public long? SummaryCycleOdometerLastPending { get; set; }
Property Value
ValidCycle
Gets or sets the indication wheter a cycle is valid or invalid due to more recent DTC cycle.
public bool? ValidCycle { 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.