Click or drag to resize
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
)

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