Table of Contents

Class ThirdPartyAccelerationRecord

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

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

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 string

The serial number.

dateTime DateTime?

The DateTime.

x short

The X-axis acceleration.

y short

The Y-axis acceleration.

z short

The 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.