GetAlarmForegroundColor Method

Returns the row foreground color configured for alarms with the specified status.

Syntax

object.GetAlarmForegroundColor(StatusId)

Properties

The GetAlarmForegroundColor method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

StatusId

Integer. The ID corresponding to the alarm status.
Valid entries:
0 - OK
1 - LOLO
2 - HIHI
3 - LO
4 - HI
5 - RATE
6 - COS
7 - CFN
8 - DEV
9 - FLT
10 - DSAB
11 - ERROR
12 - ANY
13 - NEW
14 - TIME
15 - IOF
16 - OCD
17 - UNDER
18 - OVER
19 - RANGE
20 - COMM
21 - DEVICE
22 - STATION
23 - ACCESS
24 - SQL LOGIN
25 - SQL CMD
26 - DAT MATCH
27 - FLD READ
28 - FLD WRITE
29 - NO DATA
30 - NO XDATA

Return Value

OLE_COLOR. The row foreground color configured for the specified alarm status.

 

Example

Applies To