Table of Contents

Class EngineType

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

The type of engine the device has, or which engine type an Engine Management Code belongs to. The standard types are represented by the strings "EngineTypeGenericId" for the generic engine and "EngineTypeNoneId" where engine type is not available.

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

Constructors

EngineType()

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

public EngineType()

EngineType(EngineType)

Initializes a new instance of the EngineType class.Copy constructor.

protected EngineType(EngineType engineType)

Parameters

engineType EngineType

Type of the engine.

EngineType(Id)

Initializes a new instance of the EngineType class.Constructor.

public EngineType(Id id)

Parameters

id Id

The Id.

EngineType(Id?, string?)

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

public EngineType(Id? id, string? name)

Parameters

id Id

The Id.

name string

The name.

Properties

Id

Gets or sets the unique identifier for this entity.

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

Property Value

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.EngineTypeName })]
public override string? Name { get; set; }

Property Value

string

string

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 EngineType from the provided system Id else null if its a not a system EngineType.

public static EngineType? SystemFromId(Id id)

Parameters

id Id

The id.

Returns

EngineType

The EngineType.