Table of Contents

Class FailureMode

Namespace
Geotab.Checkmate.ObjectModel.Engine
Assembly
Geotab.Checkmate.ObjectModel.dll

The Failure Mode Identifier (FMI) used to describe engine fault codes. This is represented by the string "NoFailureModeId" when there is no applicable FMI.

[ReportClass]
public class FailureMode : NameEntity, IEntity, IComparable, IIdentifiable
Inheritance
FailureMode
Implements
Derived
Inherited Members

Constructors

FailureMode()

Initializes a new instance of the FailureMode class.Initializes a new instance of the FailureMode class.

public FailureMode()

FailureMode(FailureMode)

Initializes a new instance of the FailureMode class.Initializes a new instance of the FailureMode class.

protected FailureMode(FailureMode failureMode)

Parameters

failureMode FailureMode

The failure mode.

FailureMode(Id?, string?, byte?, Source?)

Initializes a new instance of the FailureMode class.Initializes a new instance of the FailureMode class.

public FailureMode(Id? id, string? name, byte? code, Source? source)

Parameters

id Id

The Id.

name string

The name.

code byte?

The code.

source Source

The source.

Properties

Code

Gets or sets the specific FMI code number.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.FailureModeCode })]
public byte? Code { get; set; }

Property Value

byte?

byte

Id

Gets or sets the unique identifier for this entity. See Id.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.FailureModeId })]
public override Id? Id { get; set; }

Property Value

Id

Id. Id

Name

Gets or sets the name of this entity which identifies it and is used when displaying this entity.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.FailureModeName })]
public override string? Name { get; set; }

Property Value

string

string

Source

Gets or sets the Source type for the FMI.

public virtual Source? Source { get; set; }

Property Value

Source

Source. Source

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.

SystemFromId(Id?)

Returns a system failure mode from the provided system Id else null if its a not a system failure mode.

public static FailureMode? SystemFromId(Id? id)

Parameters

id Id

The id.

Returns

FailureMode

FailureMode.