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
faultCycleFaultCycleThe 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
idIdThe identifier.
lastUpdatedDateTime?The version of the entity.
deviceDeviceThe Device.
protocolCodeint?The Protocol code.
controllerCodeint?The Controller code.
diagnosticCodeint?The Diagnostic code.
failureModeCodeint?The FailureMode code.
cycleStartDateTime?The first DateTime of the DTC Cycle.
cycleEndDateTime?The last DateTime of the DTC Cycle.
cycleOnGoingbool?The indication whether the DTC cycle is considered as persistent.
validCyclebool?The indication whether a cycle is valid or invalid due to more recent DTC cycle.
summaryCycleFirstPendingDateTime?The datetime of the first pending DTC.
summaryCycleOdometerFirstPendinglong?The odometer value of the first pending DTC.
summaryCycleLastPendingDateTime?The dateTime of the last Pending DTC.
summaryCycleOdometerLastPendinglong?The odometer value of the last Pending DTC.
summaryCycleDurationPendinglong?The duration where DTC cycle is in the pending state.
summaryCycleDistancePendinglong?The distance driven with DTC cycle in pending state.
pendingEventCountlong?The count of all Pending DTCs inside the cycle.
summaryCycleFirstActiveDateTime?The DateTime of the first Active DTC.
summaryCycleOdometerFirstActivelong?The Odometer value of the first Active DTC.
summaryCycleLastActiveDateTime?The dateTime of the last Active DTC.
summaryCycleOdometerLastActivelong?The Odometer value of the last Active DTC.
summaryCycleDurationActivelong?The duration where DTC cycle is in the active state.
summaryCycleDistanceActivelong?The distance driven with DTC cycle in active state.
activeEventCountlong?The count of all Active DTCs inside the cycle.
summaryCycleFirstConfirmedDateTime?The DateTime of the first Confirmed DTC.
summaryCycleOdometerFirstConfirmedlong?The Odometer value of the first Confirmed DTC.
summaryCycleLastConfirmedDateTime?The DateTime of the last Confirmed DTC.
summaryCycleOdometerLastConfirmedlong?The Odometer value of the last Confirmed DTC.
summaryCycleDurationConfirmedlong?The duration where DTC cycle is in the confirmed state.
summaryCycleDistanceConfirmedlong?The distance driven with DTC cycle in confirmed state.
confirmedEventCountlong?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.