Table of Contents

Class Controller

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

The controller that the diagnostic belongs to. Controllers could be ABS controller, suspension controller etc. The available controllers are listed in the KnownId.

[ReportClass]
public class Controller : NameEntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion
Inheritance
Controller
Implements
Derived
Inherited Members

Constructors

Controller()

Initializes a new instance of the Controller class.

public Controller()

Controller(Controller)

Initializes a new instance of the Controller class.

protected Controller(Controller controller)

Parameters

controller Controller

The controller.

Controller(Id?, long?, string?, short?, Source?)

Initializes a new instance of the Controller class.

public Controller(Id? id, long? version, string? name, short? code, Source? source)

Parameters

id Id

The Id.

version long?

The version.

name string

The name.

code short?

The code.

source Source

The source.

Properties

Code

Gets the controller diagnostic code (if applicable).

[Obsolete("Code is no longer supported an will be removed in a future release. Replace usage with CodeId property.", false)]
public byte? Code { get; }

Property Value

byte?

byte.

CodeId

Gets or sets the message identification code for the controller of the diagnostic (if applicable).

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ControllerCode })]
public virtual short? CodeId { get; set; }

Property Value

short?

short

Id

Gets or sets the unique identifier for the specific Entity object in the Geotab system. See Id.

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

Property Value

Id

returns. Id

Name

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

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

Property Value

string

the name of the entity

Source

Gets or sets the standard (format) of the Source.

public virtual Source? Source { get; set; }

Property Value

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

public static Controller? SystemFromId(Id? id)

Parameters

id Id

The id.

Returns

Controller

Controller