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:
|
250 |
|
500 |
|
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