Table of Contents

Class DeviceLocation

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

Used to represent the last known GPS location of a device.

public class DeviceLocation
Inheritance
DeviceLocation
Inherited Members

Constructors

DeviceLocation()

Initializes a new instance of the DeviceLocation class.

public DeviceLocation()

DeviceLocation(int, in DateTime, float, float)

Initializes a new instance of the DeviceLocation class.

public DeviceLocation(int hardwareId, in DateTime dateTime, float latitude, float longitude)

Parameters

hardwareId int

The device hardware identifier.

dateTime DateTime

The date and time.

latitude float

The latitude.

longitude float

The longitude.

Properties

DateTime

Gets or sets the date and time.

public DateTime DateTime { get; set; }

Property Value

DateTime

The date and time.

HardwareId

Gets or sets the device hardware identifier.

public int HardwareId { get; set; }

Property Value

int

The device hardware identifier.

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.