Class ThirdPartyStatusRecord
- Namespace
- Geotab.StoreForward
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
stringThe serial number.
dateTime
DateTime?The DateTime.
code
ushortThe diagnostic code.
value
intThe 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.