Table of Contents

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

faultData FaultData

The fault data.

cycleEndDateTime DateTime?

The cycle end date time.

cycleCount int

The 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

id Id

The Id.

device Device

The go engine vehicle.

dateTime DateTime?

The log DateTime.

count int?

The count.

failureMode FailureMode

The failure mode.

controller Controller

The controller.

diagnostic Diagnostic

The diagnostic.

faultStateProvider IFaultStateProvider

The provider of FaultStatus details.

malfunctionLamp bool?

The malfunction lamp.

redStopLamp bool?

The red stop lamp.

amberWarningLamp bool?

The amber warning lamp.

protectWarningLamp bool?

The protect warning lamp.

dismissDateTime DateTime?

The dismiss DateTime.

dismissUser User

The dismiss user.

severity DtcSeverity?

The severity.

classCode DtcClass?

The class code.

sourceAddress int?

The source address for enhanced faults.

recommendation string

The recommendation for enriched fault.

effectOnComponent string

The effect on component for enriched fault.

faultDescription string

The fault description for enriched fault.

cycleEndDateTime DateTime?

The cycle end date time.

cycleCount int

The 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.