CimEMAlarmEvent.FinalState (property, read)

Syntax AlarmEvent.FinalState
Description Integer. Returns the final state of the alarm after the requested action. For example, if the user acknowledged the alarm and the deletion requirements for the alarm only require acknowledgement then the final state would be AM_DELETED.
Valid States are :
  • AM_GENERATED
  • AM_ACKNOWLEDGED
  • AM_RESET
  • AM_DELETED
Example
Sub Main()
   Dim AlarmEvent as CimEmAlarmEvent
   Set AlarmEvent = CimGetEMEvent().AlarmEvent()
   If AlarmEvent.FinalState = AM_ACKNOWLEDGED then
       PointSet "ALARM_MESSAGE", "Alarm is Acknowledged"
   End if
End Sub