Class ThirdPartyAccelerationRecord
- Namespace
- Geotab.StoreForward
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class ThirdPartyAccelerationRecord : ThirdPartyDataRecord
- Inheritance
-
ThirdPartyAccelerationRecord
- Inherited Members
Constructors
ThirdPartyAccelerationRecord()
Initializes a new instance of the ThirdPartyAccelerationRecord class.
public ThirdPartyAccelerationRecord()
ThirdPartyAccelerationRecord(string, DateTime?, short, short, short)
Initializes a new instance of the ThirdPartyAccelerationRecord class. Creates an acceleration data record for a third-party device.
public ThirdPartyAccelerationRecord(string serialNo, DateTime? dateTime, short x, short y, short z)
Parameters
serialNo
stringThe serial number.
dateTime
DateTime?The DateTime.
x
shortThe X-axis acceleration.
y
shortThe Y-axis acceleration.
z
shortThe Z-axis acceleration.
Properties
X
Gets or sets the X axis acceleration.
public short X { get; set; }
Property Value
- short
The x value.
Y
Gets or sets the y axis acceleration.
public short Y { get; set; }
Property Value
- short
The y value.
Z
Gets or sets the z axis acceleration.
public short Z { get; set; }
Property Value
- short
The z.
Methods
CreateBinaryData()
Converts the record into binary data to be inserted into the database.
public override byte[] CreateBinaryData()
Returns
- byte[]
The binary data array.