Class ThirdPartyGpsRecord
- Namespace
- Geotab.StoreForward
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
stringThe serial number.
dateTime
DateTime?The DateTime.
longitude
floatThe longitude.
latitude
floatThe latitude.
isGpsValid
boolTrue if the GPS location is valid.
speed
floatThe speed.
isIgnitionOn
boolTrue if ignition was on.
isAuxiliary1On
boolTrue if auxiliary 1 was triggered.
isAuxiliary2On
boolTrue if auxiliary 2 was triggered.
isAuxiliary3On
boolTrue if auxiliary 3 was triggered.
isAuxiliary4On
boolTrue if auxiliary 4 was triggered.
isAuxiliary5On
boolTrue if auxiliary 5 was triggered.
isAuxiliary6On
boolTrue if auxiliary 6 was triggered.
isAuxiliary7On
boolTrue if auxiliary 7 was triggered.
isAuxiliary8On
boolTrue 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
IsAuxiliary2On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary2On { get; set; }
Property Value
IsAuxiliary3On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary3On { get; set; }
Property Value
IsAuxiliary4On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary4On { get; set; }
Property Value
IsAuxiliary5On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary5On { get; set; }
Property Value
IsAuxiliary6On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary6On { get; set; }
Property Value
IsAuxiliary7On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary7On { get; set; }
Property Value
IsAuxiliary8On
Gets or sets a value indicating whether the auxiliary is on.
public bool IsAuxiliary8On { get; set; }
Property Value
IsGpsValid
Gets or sets a value indicating whether the GPS is valid.
public bool IsGpsValid { get; set; }
Property Value
IsIgnitionOn
Gets or sets a value indicating whether the ignition is on.
public bool IsIgnitionOn { get; set; }
Property Value
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.