AlarmColor.UnAck.Flash.BackGround property
- Last UpdatedSep 20, 2024
- 1 minute read
The AlarmColor.UnAck.Flash.BackGround property is an array of read-write color properties that get or set the background colors of all flashing unacknowledged alarm records.
|
Index |
Purpose |
|---|---|
|
0 |
Sets the background color of all flashing unacknowledged alarm records in all priority ranges. |
|
1 |
Gets or sets the background color of flashing unacknowledged alarm records in the priority range 1 to AlarmColor.Range[1]. |
|
2 |
Gets or sets the background color of flashing unacknowledged alarm records in the priority range AlarmColor.Range[1] to AlarmColor.Range[2]. |
|
3 |
Gets or sets the background color of flashing unacknowledged alarm records in the priority range AlarmColor.Range[2] to AlarmColor.Range[3]. |
|
4 |
Gets or sets the background color of flashing unacknowledged alarm records in the priority range AlarmColor.Range[3] to 999. |
Syntax
Color = AlarmClient.AlarmColor.UnAck.Flash.BackGround[n];
AlarmClient.AlarmColor.UnAck.Flash.BackGround[n] = Color;
Parameters
n
Index from 1 to 4.
Color
Color of background.
Example
AlarmClient1.AlarmColor.UnAck.Flash.BackGround[1] = Color.ARGB(223,113,76);
AlarmClient1.AlarmColor.UnAck.Flash.BackGround[2] = Color.Yellow;
AlarmClient1.AlarmColor.UnAck.Flash.BackGround[3] = Color.Green;
AlarmClient1.AlarmColor.UnAck.Flash.BackGround[4] = Color.White;
Remarks
Color is a .NET Framework data type. You can use various Color methods to set the color, such as a predefined color name, FromARGB(), FromKnownColor(), and FromName().
For a list of the .NET color names and the hexadecimal codes, see .NET colors
For more information on the color methods, see the online Microsoft documentation for .NET Framework Development.