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
EngineTypeType of the engine.
EngineType(Id)
Initializes a new instance of the EngineType class.Constructor.
public EngineType(Id id)
Parameters
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
Properties
Id
Gets or sets the unique identifier for this entity.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.EngineTypeId })]
public override Id? Id { get; set; }
Property Value
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
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
IdThe id.
Returns
- EngineType
The EngineType.