Class FaultDataByIgnitionCycle
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A record that represents a fault code record from the engine system of the specific Device populated with ignition cycle information.
public class FaultDataByIgnitionCycle : FaultData, IEntity, IComparable, IIdentifiable, IDateTimeProvider, IDiagnosticProvider, IDeviceProvider, IDefaultable
- Inheritance
-
FaultDataByIgnitionCycle
- Implements
- Inherited Members
Constructors
FaultDataByIgnitionCycle(FaultData, DateTime?, int)
Initializes a new instance of the FaultDataByIgnitionCycle class.
public FaultDataByIgnitionCycle(FaultData faultData, DateTime? cycleEndDateTime, int cycleCount)
Parameters
faultDataFaultDataThe fault data.
cycleEndDateTimeDateTime?The cycle end date time.
cycleCountintThe cycle count.
FaultDataByIgnitionCycle(Id?, Device?, DateTime?, int?, FailureMode?, Controller?, Diagnostic?, IFaultStateProvider, bool?, bool?, bool?, bool?, DateTime?, User?, DtcSeverity?, DtcClass?, int?, string?, string?, string?, DateTime?, int)
Initializes a new instance of the FaultDataByIgnitionCycle class.
public FaultDataByIgnitionCycle(Id? id, Device? device, DateTime? dateTime, int? count, FailureMode? failureMode, Controller? controller, Diagnostic? diagnostic, IFaultStateProvider faultStateProvider, bool? malfunctionLamp, bool? redStopLamp, bool? amberWarningLamp, bool? protectWarningLamp, DateTime? dismissDateTime, User? dismissUser, DtcSeverity? severity, DtcClass? classCode, int? sourceAddress, string? recommendation, string? effectOnComponent, string? faultDescription, DateTime? cycleEndDateTime, int cycleCount)
Parameters
idIdThe Id.
deviceDeviceThe go engine vehicle.
dateTimeDateTime?The log DateTime.
countint?The count.
failureModeFailureModeThe failure mode.
controllerControllerThe controller.
diagnosticDiagnosticThe diagnostic.
faultStateProviderIFaultStateProviderThe provider of FaultStatus details.
malfunctionLampbool?The malfunction lamp.
redStopLampbool?The red stop lamp.
amberWarningLampbool?The amber warning lamp.
protectWarningLampbool?The protect warning lamp.
dismissDateTimeDateTime?The dismiss DateTime.
dismissUserUserThe dismiss user.
severityDtcSeverity?The severity.
classCodeDtcClass?The class code.
sourceAddressint?The source address for enhanced faults.
recommendationstringThe recommendation for enriched fault.
effectOnComponentstringThe effect on component for enriched fault.
faultDescriptionstringThe fault description for enriched fault.
cycleEndDateTimeDateTime?The cycle end date time.
cycleCountintThe cycle count.
Properties
CycleCount
Gets the ignition cycle count for this instance of the FaultData.
public int CycleCount { get; }
Property Value
- int
cycle count
CycleEndDateTime
Gets the ignition cycle end time for this instance of the FaultData.
public DateTime? CycleEndDateTime { get; }
Property Value
- DateTime?
DateTime
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.
CloneAsNoFault()
Creates a copy instance of FaultDataByIgnitionCycle with FaultState ofr. None
public FaultDataByIgnitionCycle CloneAsNoFault()
Returns
- FaultDataByIgnitionCycle
A copy instance of FaultDataByIgnitionCycle with FaultState ofr. Nonee
Remarks
The instance is cannot be stored into the database.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.