Table of Contents

Class MappedDiagnostic

Namespace
Geotab.Checkmate.ObjectModel.Engine
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents a "virtual diagnostic" which is configurable per device as a DiagnosticMapping and must be resolved along with a Device to get the actual Diagnostic.

public class MappedDiagnostic : NameEntity, IEntity, IComparable, IIdentifiable
Inheritance
MappedDiagnostic
Implements
Derived
Inherited Members

Constructors

MappedDiagnostic(Id?, string?, Diagnostic?)

Initializes a new instance of the MappedDiagnostic class.

public MappedDiagnostic(Id? id, string? name, Diagnostic? defaultDiagnostic)

Parameters

id Id

Id of this mapped diagnostic.

name string

Name of this mapped diagnostic. Example: "Cargo temperature".

defaultDiagnostic Diagnostic

Default Diagnostic for this mapped diagnostic.

Properties

DefaultDiagnostic

Gets or sets the default diagnostic that must be used when a DiagnosticMapping does not exist for a Device and this MappedDiagnostic.

public Diagnostic? DefaultDiagnostic { get; set; }

Property Value

Diagnostic

Default Diagnostic

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.