Darwin:Alarm Element

From Open Rail Data Wiki
Revision as of 11:45, 29 January 2015 by PeterHicks (talk | contribs) (Add Alarm documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Alarm message

Overview

An Alarm message indicates that a feed in to Darwin has stopped, or has re-started.

Detail

The alarms sent are as follows:

Alarm Meaning
tdAreaFail Darwin has detected that no data has been received from a single TD for a period of time
tdFeedFail Darwin has detected that no data has been received from any TD for a period of time
tyrellFeedFail Darwin has detected that its connection to Tyrell has failed

Each alarm has a unique identifier, and may be cleared with an alarm being received with a 'clear' element and the same unique identifier.

Example messages

<alarm>
  <al:set id="20669">
    <al:tdFeedFail />
  </al:set>
</alarm>

<alarm>
  <al:clear>
    20669
  </al:clear>
</alarm>