CimAlarmClass.AlarmLoFGColor (property)

Gets and sets the alarm lo state foreground color.
Syntax: CimAlarmClassColorEnum = object.AlarmLoFGColor
object.AlarmLoFGColor = CimAlarmClassColorEnum
Description: The AlarmLoFGColor property gets and sets the alarm lo state foreground color.



Example:

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim alarmClasses As CimAlarmClassList
Dim alarmClass As CimAlarmClass
Set alarmClasses = project.AlarmClasses
Set alarmClass = alarmClasses.Item("NCRIT")
alarmClass.AlarmLoFGColor = cimColorIndx_15_Yellow
alarmClass.Save False