Class: Operation

Operation()

new Operation()

Returns an empty operation object
Source:

Members

alarmdate :string

Date the alarm has been raised
Type:
  • string
Source:

alarmtime :string

Time the alarm has been raised
Type:
  • string
Source:

alarmtimeCalc :string

Alarm time calculated (will be calculated as soon alarmdate and alarmtime have been set)
Type:
  • string
Source:

community :string

community ('Gemeinde')
Type:
  • string
Source:

createdAt :string

Automatic timestamp of creation of this object instance
Type:
  • string
Source:

district :string

district
Type:
  • string
Source:

floor :string

Etage
Type:
  • string
Source:

gear :string

Gear as string
Type:
  • string
Source:

gearCalc :Array

List of gear from gear split by separator character "\n"
Type:
  • Array
Source:

gkx :string

gkx - Gauss Krueger X-Coordinate
Type:
  • string
Source:

gky :string

gky- Gauss Krueger Y-Coordinate
Type:
  • string
Source:

ils :string

Leitstelle
Type:
  • string
Source:

keywordCategory :string

keywordCategory
Type:
  • string
Source:

keywordId :string

keywordId
Type:
  • string
Source:

keywordName :string

keywordName
Type:
  • string
Source:

keywordRaw :string

keywordRaw
Type:
  • string
Source:

lat :string

latitude
Type:
  • string
Source:

location :string

Location ('Einsatznummer')
Type:
  • string
Source:

locationCalc :string

Calculated Location
Type:
  • string
Source:

lon :string

longitude
Type:
  • string
Source:

message :string

Message for alarm ('Bemerkung')
Type:
  • string
Source:

object :string

Object named in alarm ('Objekt'), e.g. "Schlosshotel DORMERO Reichenschwand"
Type:
  • string
Source:

operationnumber :string

Number of operation as reported by source ('Einsatznummer')
Type:
  • string
Source:

operationSourceConnector :string

namespace of source for this alarm (core or <>)
Type:
  • string
Source:

operationState :integer

operationState (0 if new, 1 if archived)
Type:
  • integer
Source:

rawdata :string

stores the whole alarm as a raw text field ('sds_komplett')
Type:
  • string
Source:

section :string

Section information (Kreuzung)
Type:
  • string
Source:

street :string

street
Type:
  • string
Source:

subject :string

Subject of Alarm ('Stichwort')
Type:
  • string
Source:

uuid :string

GUID of this operation object
Type:
  • string
Source:

zveis :string

zveis listed in alarm as string. Will calculate zveiCalc after setting
Type:
  • string
Source:

zveisCalc :Array

List of ZVEIs as an Array
Type:
  • Array
Source:

Methods

getReduced()

Returns minified object which can be used as payload for alarming via FCM or other push services
Source:

isDefined(value)

Returns false if property is null or length = 0
Parameters:
Name Type Description
value object property to be checked
Source:

setCreatedAtTimestamp()

sets a timestamp in _createdAt.value while instanziiating this class
Source:

setUUID()

Sets a new guuid for this operation
Source: