Skip to main content

Data Structures

This page documents the data structures in FAR.


Alarm System

alarmSystem.id
alarmSystem.name
alarmSystem.status
alarmSystem.lastStatusChange
alarmSystem.passcode
alarmSystem.location
alarmSystem.monitoring
alarmSystem.postalCode
alarmSystem.position.x
alarmSystem.position.y
alarmSystem.position.z

int

ID of the Alarm System.

Example: 1


Alarm System Components

alarmSystemComponents.id
alarmSystemComponents.controlPanels
alarmSystemComponents.pullStations
alarmSystemComponents.detectors
alarmSystemComponents.sprinklers

int

ID of the Alarm System.

Example: 1


Pull Station

pullStation.id
pullStation.name
pullStation.position.x
pullStation.position.y
pullStation.position.z
pullStation.rotation.x
pullStation.rotation.y
pullStation.rotation.z
pullStation.isVirtual
pullStation.modelName

int

ID of the Pull Station.

Example: 1


Control Panel

controlPanel.id
controlPanel.name
controlPanel.position.x
controlPanel.position.y
controlPanel.position.z
controlPanel.rotation.x
controlPanel.rotation.y
controlPanel.rotation.z
controlPanel.isVirtual
controlPanel.modelName

int

ID of the Control Panel.

Example: 1


Sounder

sounder.id
sounder.position.x
sounder.position.y
sounder.position.z
sounder.rotation.x
sounder.rotation.y
sounder.rotation.z
sounder.isVirtual

int

ID of the Sounder.

Example: 1


Sprinkler

sprinkler.id
sprinkler.position.x
sprinkler.position.y
sprinkler.position.z
sprinkler.rotation.x
sprinkler.rotation.y
sprinkler.rotation.z
sprinkler.isVirtual

int

ID of the Sprinkler.

Example: 1

Detector

detector.id
detector.position.x
detector.position.y
detector.position.z
detector.rotation.x
detector.rotation.y
detector.rotation.z
detector.isVirtual

int

ID of the Detector.

Example: 1

Sprinkler Valve

sprinklerValve.status
sprinklerValve.position.x
sprinklerValve.position.y
sprinklerValve.position.z
sprinklerValve.rotation.x
sprinklerValve.rotation.y
sprinklerValve.rotation.z
sprinklerValve.isVirtual

enum

Status of the Sprinkler Valve as an enum.

Values:

  • 0 - Invalid status
  • 1 - Open
  • 2 - Closed

Example: 1