Members
address :string
Type:
- string
address :string
Type:
- string
alarmAccessKey :string
Type:
- string
alarmAccessKey :string
Type:
- string
baseUrl :string
Type:
- string
baseUrl :string
Type:
- string
gaussKruegerX :string
Type:
- string
gaussKruegerX :string
Type:
- string
gaussKruegerY :string
Type:
- string
gaussKruegerY :string
Type:
- string
lat :float
Type:
- float
lat :float
Type:
- float
lng :float
Type:
- float
lng :float
Type:
- float
number :string
Type:
- string
number :string
Type:
- string
person :string
Type:
- string
person :string
Type:
- string
priority :integer
Type:
- integer
priority :integer
Type:
- integer
ric :string
Type:
- string
ric :string
Type:
- string
text :string
Type:
- string
text :string
Type:
- string
title :string
Type:
- string
title :string
Type:
- string
type :string
Type:
- string
type :string
Type:
- string
vehicle :string
Type:
- string
vehicle :string
Type:
- string
zveis
ZVEIs
Methods
cleanup()
Cleans up all set variables, so that a new alarm only sends content from the actual alarm
and not left over information from alarm before
renderAlarmGetPath()
render Path for alarm
renderMessageGetPath()
render Path for Message
renderStateGetPath(status_id, vehicle_issi, vehicle_name, vehicle_id, vehicle_ric, status_note)
render Path for state change of gear with issi, opta, name or id to state "state"
Parameters:
Name | Type | Default | Description |
---|---|---|---|
status_id |
integer | 1-9, (individuelle Fahrzeug-Status können künftig ebenfalls inkl. Farbton angelegt werden) | |
vehicle_issi |
string | null | Identifizierung des Fahrzeugs anhand des Felds ISSI |
vehicle_name |
string | null | Identifizierung des Fahrzeugs anhand des Felds Funkrufname |
vehicle_id |
string | null | dentifizierung des Fahrzeugs anhand der ID |
vehicle_ric |
string | null | Identifizierung des Fahrzeugs anhand des Felds Alarmierungs-RIC |
status_note |
string | von ALARMiator | Freitext-Rückmeldung |
sendAlarm(callback)
sends out a new alarm to Divera247 service
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | success (true/false) |
sendMessage(callback)
sends out a new message to Divera247 service
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | success (true/false) |
sendState(callback)
sends a state update to divera
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | success (true/false) |