Table of Contents

Class DiagnosticValueStatus

Namespace
Geotab.Checkmate.ObjectModel.Maintenance
Assembly
Geotab.Checkmate.ObjectModel.dll

The data change for a particular diagnostic.

public class DiagnosticValueStatus : Entity, IEntity, IComparable, IIdentifiable
Inheritance
DiagnosticValueStatus
Implements
Inherited Members

Constructors

DiagnosticValueStatus(Id)

Initializes a new instance of the DiagnosticValueStatus class.Constructor.

public DiagnosticValueStatus(Id id)

Parameters

id Id

Id

DiagnosticValueStatus(Id?, bool?, DateTime?, double?, EventOccurrence?, Id, Device)

Initializes a new instance of the DiagnosticValueStatus class.

public DiagnosticValueStatus(Id? id, bool? isOn, DateTime? createdAt, double? lastValue, EventOccurrence? maintenanceRecord, Id diagnosticId, Device device)

Parameters

id Id

The Id.

isOn bool?

Whether the data is considered on or off

createdAt DateTime?

The record creation timestamp

lastValue double?

The last value of the DiagnosticValueStatus.

maintenanceRecord EventOccurrence

The maintenance record related to the DiagnosticValueStatus.

diagnosticId Id

The diagnosticId related to the DiagnosticValueStatus.

device Device

The device related to the DiagnosticValueStatus

Properties

CreatedAt

Gets or sets the creation DateTime of the DiagnosticValueStatus.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

The creation DateTime of the DiagnosticValueStatus.

Device

Gets or sets the device related to the DiagnosticValueStatus.

public Device? Device { get; set; }

Property Value

Device

The diagnostic related to the DiagnosticValueStatus.

Diagnostic

Gets or sets the diagnostic related to the DiagnosticValueStatus.

public BasicDiagnostic? Diagnostic { get; set; }

Property Value

BasicDiagnostic

The diagnostic related to the DiagnosticValueStatus.

IsOn

Gets or sets whether the data is considered ON or OFF.

public bool? IsOn { get; set; }

Property Value

bool?

Whether the data is ON or OFF.

LastValue

Gets or sets the last value reported

public double? LastValue { get; set; }

Property Value

double?

The last value reported.

MaintenanceRecord

Gets or sets the device related to the EventOccurrence.

public EventOccurrence? MaintenanceRecord { get; set; }

Property Value

EventOccurrence

The event related to the DiagnosticValueStatus.

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.

Exceptions

NotSupportedException

We should not clone DiagnosticValueStatus.