Class: VehicleStatus¶
domain/VehicleStatus.VehicleStatus
Constructors¶
constructor¶
new VehicleStatus(name
, event
, successorName
, isStartStatus
, isEndStatus
, categoryType
, categoryName
)
Vehicle status
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
The name of the vehicle status |
|
|
The event associated to this status, if any |
|
|
The name of a typical successor to this status based on vehicle configuration |
|
|
true if this status is engaged at the start of a new operation |
|
|
true if this status closes the current operation |
|
|
Type if status: ‘mission’ or ‘other’ |
|
|
The name of the category as defined by the vehicle user |
Properties¶
categoryName¶
categoryName: string
The name of the category as defined by the vehicle user
categoryType¶
categoryType: string
Type if status: ‘mission’ or ‘other’
event¶
event: string
The event associated to this status, if any
isEndStatus¶
isEndStatus: boolean
true if this status closes the current operation
isStartStatus¶
isStartStatus: boolean
true if this status is engaged at the start of a new operation
name¶
name: string
The name of the vehicle status
successorName¶
successorName: string
The name of a typical successor to this status based on vehicle configuration
Methods¶
fromJSON¶
Static
fromJSON(status
): VehicleStatus
Creates from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |