LegacyTelogisServiceCreateUnitAtLatLon Method |
Print this page
Creates an Verizon Connect Fleet unit, positioned at the given location.
Namespace: Telogis.API Syntax public long CreateUnitAtLatLon(
string name,
UnitType type,
double odometer,
double engineHours,
LatLon latLon,
Property[] properties
)
Public Function CreateUnitAtLatLon (
name As String,
type As UnitType,
odometer As Double,
engineHours As Double,
latLon As LatLon,
properties As Property()
) As Long
Parameters
- name
- Type: SystemString
The name of the unit.
- type
- Type: Telogis.APIUnitType
The hardware type of the unit.
- odometer
- Type: SystemDouble
Odometer in radians.
- engineHours
- Type: SystemDouble
Total engine hours in seconds.
- latLon
- Type: Telogis.APILatLon
Where to initially place the unit.
- properties
- Type: Telogis.APIProperty
Return Value
Type:
Int64
The ID of the created Unit.
See Also