Table of Contents

Class ThirdPartyGpsRecord

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

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

public class ThirdPartyGpsRecord : ThirdPartyDataRecord
Inheritance
ThirdPartyGpsRecord
Inherited Members

Constructors

ThirdPartyGpsRecord()

Initializes a new instance of the ThirdPartyGpsRecord class. Creates a GPS record for a third-party device.

public ThirdPartyGpsRecord()

ThirdPartyGpsRecord(string, DateTime?, float, float, bool, float, bool, bool, bool, bool, bool, bool, bool, bool, bool)

Initializes a new instance of the ThirdPartyGpsRecord class. Creates a GPS record for a third-party device.

public ThirdPartyGpsRecord(string serialNo, DateTime? dateTime, float longitude, float latitude, bool isGpsValid, float speed, bool isIgnitionOn, bool isAuxiliary1On, bool isAuxiliary2On, bool isAuxiliary3On, bool isAuxiliary4On, bool isAuxiliary5On, bool isAuxiliary6On, bool isAuxiliary7On, bool isAuxiliary8On)

Parameters

serialNo string

The serial number.

dateTime DateTime?

The DateTime.

longitude float

The longitude.

latitude float

The latitude.

isGpsValid bool

True if the GPS location is valid.

speed float

The speed.

isIgnitionOn bool

True if ignition was on.

isAuxiliary1On bool

True if auxiliary 1 was triggered.

isAuxiliary2On bool

True if auxiliary 2 was triggered.

isAuxiliary3On bool

True if auxiliary 3 was triggered.

isAuxiliary4On bool

True if auxiliary 4 was triggered.

isAuxiliary5On bool

True if auxiliary 5 was triggered.

isAuxiliary6On bool

True if auxiliary 6 was triggered.

isAuxiliary7On bool

True if auxiliary 7 was triggered.

isAuxiliary8On bool

True if auxiliary 8 was triggered.

Properties

IsAuxiliary1On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary1On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary2On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary2On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary3On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary3On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary4On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary4On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary5On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary5On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary6On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary6On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary7On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary7On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsAuxiliary8On

Gets or sets a value indicating whether the auxiliary is on.

public bool IsAuxiliary8On { get; set; }

Property Value

bool

true if the auxiliary is on; otherwise, false.

IsGpsValid

Gets or sets a value indicating whether the GPS is valid.

public bool IsGpsValid { get; set; }

Property Value

bool

true if the GPS is valid; otherwise, false.

IsIgnitionOn

Gets or sets a value indicating whether the ignition is on.

public bool IsIgnitionOn { get; set; }

Property Value

bool

true if the ignition is on; otherwise, false.

Latitude

Gets or sets the latitude.

public float Latitude { get; set; }

Property Value

float

The latitude.

Longitude

Gets or sets the longitude.

public float Longitude { get; set; }

Property Value

float

The longitude.

Speed

Gets or sets the speed.

public float Speed { get; set; }

Property Value

float

The speed.

Methods

CreateBinaryData()

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

public override byte[] CreateBinaryData()

Returns

byte[]

The binary data array.