Class: VehicleState¶
domain/VehicleState.VehicleState
Constructors¶
constructor¶
new VehicleState(timestamp
, vehicleStatus
, activeCaseFullId
, vehicleLocation
)
State of the vehicle, location, status, id
See
VehicleStatus
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
timestamp of when state received |
|
status of the vehicle |
|
|
|
id of the current active operation |
|
current vehicle location |
Properties¶
activeCaseFullId¶
activeCaseFullId: string
timestamp¶
timestamp: Date
vehicleLocation¶
vehicleLocation: Location
vehicleStatus¶
vehicleStatus: VehicleStatus
Methods¶
fromJSON¶
Static
fromJSON(vehicleState
): VehicleState
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |