Class GoDiagnostic
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A diagnostic that originates from a Go Device.
public class GoDiagnostic : DataDiagnostic, IEntity, IComparable, IIdentifiable, IVersion
- Inheritance
-
GoDiagnostic
- Implements
- Inherited Members
Constructors
GoDiagnostic()
Initializes a new instance of the GoDiagnostic class.
public GoDiagnostic()
GoDiagnostic(Id?, long?, string?, int?, UnitOfMeasure?, byte?, double?, double?, FaultResetMode?, ValidLoggingPeriod?, Source?, bool?)
Initializes a new instance of the GoDiagnostic class.
public GoDiagnostic(Id? id, long? version, string? name, int? code, UnitOfMeasure? unitOfMeasure, byte? dataLength, double? conversion, double? offset, FaultResetMode? faultResetMode, ValidLoggingPeriod? validLoggingPeriod, Source? source = null, bool? isLogGuaranteedOnEstimateError = false)
Parameters
id
IdThe Id.
version
long?The version.
name
stringThe name.
code
int?The code.
unitOfMeasure
UnitOfMeasureThe unit of measure.
dataLength
byte?Length of the data.
conversion
double?The conversion.
offset
double?The offset.
faultResetMode
FaultResetMode?The fault reset mode.
validLoggingPeriod
ValidLoggingPeriod?The ValidLoggingPeriod of this diagnostic.
source
SourceThe source.
isLogGuaranteedOnEstimateError
bool?If [true] the diagnostic guarantees it will log when estimate error is exceeded, other wise [false].
Properties
EngineType
Gets or sets the EngineType for this diagnostic if applicable, otherwise null.
public override EngineType? EngineType { 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.