Table of Contents

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 DataDiagnostic

The data diagnostic.

DataDiagnostic(Id?)

Initializes a new instance of the DataDiagnostic class.Constructor.

public DataDiagnostic(Id? id)

Parameters

id Id

The 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 Id

The Id.

version long?

The version.

name string

The name.

code int?

The code.

engineType EngineType

The EngineType.

source Source

The Source.

unitOfMeasure UnitOfMeasure

The UnitOfMeasure.

dataLength byte?

Length of the data.

conversion double?

The conversion.

offset double?

The offset.

controller Controller

The 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

double?

double

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

byte?

byte

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

List<DiagnosticSignal>

IList<T>

EnumNames

Gets or sets the enum name values for the diagnostic.

public EnumName[]? EnumNames { get; set; }

Property Value

EnumName[]

EnumName

Offset

Gets or sets the offset value of the diagnostic parameter.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DataDiagnosticOffset })]
public double? Offset { get; set; }

Property Value

double?

double

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.