CimEMAlarmEvent.PrevState (property, read)

Syntax AlarmEvent.PrevState
Description Integer. Returns the previous state of the alarm. Valid States are :
  • AM_GENERATED
  • AM_ACKNOWLEDGED
  • AM_RESET
  • AM_DELETED
Example
Sub Main()
   Dim AlarmEvent as CimEmAlarmEvent
   Set AlarmEvent = CimGetEMEvent().AlarmEvent()
   If AlarmEvent.PrevState = AM_ACKNOWLEDGED then
       PointSet "ALARM_PREVSTATE", "ACKNOWLEDGED"
   End if
End Sub