Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Example Highways Alarm Report
<?xml version="1.0" encoding="utf-8" ?>
<al:AlarmReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="ICDNAV001-AlarmReport" xmlns:cmn="ICDNAV001-CommonTypes">
  <al:Alarm AlarmId="5" Description="A Highways Alarm" Priority="2" Reported="2012-04-03T22:05:02.112" Category="Rule" Severity="Warning" State="AlarmOn" Acknowledged="False" RuleId="1">
    <al:Payload SectionId="1" LaneId="3" CarriagewayId="2" SubType="Stopped" CarriagewayName="M25-J" BreakingTrackDbId="{4431-445678AF-AFB212}" RadarUserId="1">
      <cmn:Distance DistanceFromOrigin=”99758”/>
      <cmn:GeoData Latitude="33.860012" Longitude="-1.7891123"/>
    </al: Payload >
  </al:Alarm>
</al: AlarmReport>
Example Security Alarm Report
<?xml version="1.0" encoding="utf-8" ?>
<al:AlarmReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="ICDNAV001-AlarmReport" xmlns:cmn="ICDNAV001-CommonTypes">
  <al:Alarm AlarmId="5" Description="A Security Alarm" Priority="2" Reported="2019-04-03T22:05:02.112" Category="Rule" Severity="Threat" State="AlarmOn" Acknowledged="False" RuleId="3">
    <al:Payload>
      <RelatedAreas>
        <Area Id="1" Name="Alarm Zone 1"/>
        <Area Id="3" Name="North Gate"/>
      </RelatedAreas>
      <cmn:GeoData Latitude="33.860012" Longitude="-1.7891123"/>
    </al: Payload >
  </al:Alarm>
</al: AlarmReport>

Alarm Element

The alarm element represents a generic alarm, either incident or system health. In addition it can contain specialised alarm payloads which contain data specific to certain alarm types. Currently the only documented payload is for the Highways alarm which is covered below.

Optional attributes are formatted in italics and highlighted with an asterisk.

Attribute

Description

Type

Unit

Reported 

Time alarm was reported

DateTime


AlarmId

Unique Id of the alarm

Long


Category

Alarm category – options are: 

– Rule        

– System        

– Health

AlarmCategoryList


Description

Description of the alarm – normally based on the alarm category or rule message

String


Severity

Severity of the alarm – options are: 

– Threat

– Warning

– Friend

– Unknown

AlarmSeverityTypeList


State

Alarm state - options are: 

– AlarmOn

– AlarmOff

– Dismissed

AlarmStateTypeList


Priority

Indicates the level of priority based on the users requirements

Integer


Acknowledged

Indicates if the alarm has been acknowledged

Boolean


RuleId*

The id of the rule to which this alarm is associated

Integer


AlarmKey

Unique key of alarm - this can be matched up with AlarmKey on the Camera Report

String

Highways Source Payload

The highways alarm payload contains detailed information about the location of the alarm, both relative to the carriageway and real world coordinates.

Highways Source Payload Attributes

Attribute

Description

Type

Unit

SubType

Highways Rule SubType – options are: 

– Person

– Stopped

– Slow

– Debris

– Reversing

– Queue

– ERA

– Enforcement

RuleSubTypeList


SectionId

Section Id in which alarm happened (note : this is the user entered Id not the system Id)

Integer


LaneId

Lane Id in which alarm happened (note : this is the user entered Id not the system Id)

Integer


CarriagewayId

Carriageway Id in which alarm happened

Integer


CarriagewayName

Carriageway Name in which alarm happened

String


BreakingTrackDbId

Unique database Id of track breaking the rule

String (GUID)

RadarUserId

Radar User Id

Integer

Distance Attributes

Attribute

Description

Type

Unit

DistanceFromOrigin

Linear distance to centre of section in alarm from the carriageway origin

Integer

Metres 

GeoData Attributes

Attribute

Description

Type

Unit

Latitude

WGS 84 Coordinate

String

Decimal Degrees

Longitude

WGS 84 Coordinate

String

Decimal Degrees

Security Source Payload

The security payload contains additional data related to a security alarm, including related entities such as areas and real world coordinates.

Related Areas Element

This element contains a list of related areas. These areas are connected to the alarm, typically they will be alarm zones with real time activity that has triggered an alarm.

Area Attributes

Attribute

Description

Type

Unit

Id

User Id of the area related to the alarm

Integer

Name

The user configured name of the area

String

GeoData Attributes

Attribute

Description

Type

Unit

Latitude

WGS 84 Coordinate

String

Decimal Degrees

Longitude

WGS 84 Coordinate

String

Decimal Degrees


Related information

  • No labels