Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

AlarmColor​.Range property

  • Last UpdatedSep 20, 2024
  • 1 minute read

The AlarmColor.Range property is an array of read-write integer properties that get or set the boundaries of the priority ranges.

You can use priority ranges to classify, group, and emphasize alarms and events belonging to a certain priority range.

The boundaries must fulfill the following condition:

1 < Range[1] < Range[2] < Range[3] < 999

By default, the boundaries are set as follows:

  • AlarmColor.Range[1]

250

  • AlarmColor.Range[2]

500

  • AlarmColor.Range[3]

750

Syntax

RangeN = AlarmClient.AlarmColor.Range[N];

AlarmClient.AlarmColor.Range[1] = RangeN;

Parameters

N

Range index 1, 2, or 3.

Example

The following example defines four priority ranges (1 to 50, 51 to 600, 601 to 800, and 801 to 999):

AlarmClient1.AlarmColor.Range[1] = 50;

AlarmClient1.AlarmColor.Range[2] = 600;

AlarmClient1.AlarmColor.Range[3] = 800;

Remarks

For more information, see Set priority ranges for alarm records

In This Topic
TitleResults for “How to create a CRG?”Also Available in