Class DataDiagnostic
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A Diagnostic that represents measurement data from the vehicle (as opposed to fault codes).
public class DataDiagnostic : Diagnostic, IEntity, IComparable, IIdentifiable, IVersion
- Inheritance
-
DataDiagnostic
- Implements
- Derived
- Inherited Members
Constructors
DataDiagnostic()
Initializes a new instance of the DataDiagnostic class.
public DataDiagnostic()
DataDiagnostic(DataDiagnostic)
Initializes a new instance of the DataDiagnostic class.
protected DataDiagnostic(DataDiagnostic dataDiagnostic)
Parameters
dataDiagnostic
DataDiagnosticThe data diagnostic.
DataDiagnostic(Id?)
Initializes a new instance of the DataDiagnostic class.Constructor.
public DataDiagnostic(Id? id)
Parameters
id
IdThe Id.
DataDiagnostic(Id?, long?, string?, int?, EngineType?, Source?, UnitOfMeasure?, byte?, double?, double?, Controller?, FaultResetMode?, ValidLoggingPeriod?, bool?)
Initializes a new instance of the DataDiagnostic class.
public DataDiagnostic(Id? id, long? version, string? name, int? code, EngineType? engineType, Source? source, UnitOfMeasure? unitOfMeasure, byte? dataLength, double? conversion, double? offset, Controller? controller, FaultResetMode? faultResetMode, ValidLoggingPeriod? validLoggingPeriod = ValidLoggingPeriod.None, bool? isEstimateError = null)
Parameters
id
IdThe Id.
version
long?The version.
name
stringThe name.
code
int?The code.
engineType
EngineTypeThe EngineType.
source
SourceThe Source.
unitOfMeasure
UnitOfMeasureThe UnitOfMeasure.
dataLength
byte?Length of the data.
conversion
double?The conversion.
offset
double?The offset.
controller
ControllerThe controller.
faultResetMode
FaultResetMode?The FaultResetMode.
validLoggingPeriod
ValidLoggingPeriod?The ValidLoggingPeriod of this diagnostic.
isEstimateError
bool?If [true], this diagnostic guarantees it will be logged on estimate error, otherwise [false].
Properties
Conversion
Gets or sets the conversion factor for the diagnostic parameter; this is related to the UnitOfMeasure.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DataDiagnosticConversion })]
public double? Conversion { get; set; }
Property Value
DataLength
Gets or sets the length of the diagnostic data parameter in bytes.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DataDiagnosticDataLength })]
public byte? DataLength { get; set; }
Property Value
DiagnosticSignals
Gets or sets the DiagnosticSignal reference list. This property is obsolete and doesn't store or return any value except null.
public List<DiagnosticSignal>? DiagnosticSignals { get; set; }
Property Value
EnumNames
Gets or sets the enum name values for the diagnostic.
public EnumName[]? EnumNames { get; set; }
Property Value
Offset
Gets or sets the offset value of the diagnostic parameter.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DataDiagnosticOffset })]
public double? Offset { 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.