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
ControllerThe 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
IdThe Id.
version
long?The version.
name
stringThe name.
code
short?The code.
source
SourceThe 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
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
Id
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ControllerId })]
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.ControllerName })]
public override string? Name { get; set; }
Property Value
Source
Gets or sets the standard (format) of the Source.
public virtual Source? Source { 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 Controller from the provided system Id else null if its a not a system Controller.
public static Controller? SystemFromId(Id? id)
Parameters
id
IdThe id.