Table of Contents

Class ThirdPartyStatusRecord

Namespace
Geotab.StoreForward
Assembly
Geotab.Checkmate.ObjectModel.dll

false A data record class used to add status data for third-party devices.

public class ThirdPartyStatusRecord : ThirdPartyDataRecord
Inheritance
ThirdPartyStatusRecord
Derived
Inherited Members

Constructors

ThirdPartyStatusRecord()

Initializes a new instance of the ThirdPartyStatusRecord class. Creates a status data record for a third-party device.

public ThirdPartyStatusRecord()

ThirdPartyStatusRecord(string?, DateTime?, ushort, int)

Initializes a new instance of the ThirdPartyStatusRecord class. Creates a status data record for a third-party device.

public ThirdPartyStatusRecord(string? serialNo, DateTime? dateTime, ushort code, int value)

Parameters

serialNo string

The serial number.

dateTime DateTime?

The DateTime.

code ushort

The diagnostic code.

value int

The value of the status data.

Properties

Code

Gets or sets the diagnostic code.

public ushort Code { get; set; }

Property Value

ushort

The code.

Value

Gets or sets the value of the diagnostic.

public int Value { get; set; }

Property Value

int

The value.

Methods

CreateBinaryData()

Converts the record into binary data to be inserted into the database.

public override byte[] CreateBinaryData()

Returns

byte[]

The binary data array.