Inactivate - method of object PmAlarmEvent

Alarm/Event item inactivation (inactivation of PmAlarmEventItem object).
Inactivate(sId As String, [tTimeOff As Date])
oAlEv.Inactivate sId, tTimeOff
sId(String) The unique text identifier of the alarm/event item. See the configurator "Identifier".
tTimeOff[optional] (Date) Inactivation time. If not used, the inactivation time equals to the time of calling this method.
Calling the Inactivate method over the inactive alarm has no effect. An active alarm is inactivated. The behaviour of the alarm during the inactivation is specified by the Inactivate type configurator.

If there are several instances of the alarm/event item with the same identifier (caused by alarm/event states inactive unacknowledged (blue)), the last, the latest old, item is inactivated.

After the attempt to inactivate non-existing alarm/event item (wrong parameter sId), an error arises in the Info system only if in the corresponding PmAlarmEvent object there is no alarm/event item with the set configurator Template for dynamically created items (i.e. all alarm/event items of the PmAlarmEvent object are statically configured).

It is irrelevant for events (relevant only for alarms).

The method is synchronous, i.e. it is processed immediately by the alarm subsystem. Nevertheless writing the history to disk is asynchronous, which means that this method passes the request for writing to the history to the alarm subsystem, it is placed into the queue of requests and it is processed later by the alarm subsystem.

oAlEv.Inactivate "T1_HI"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice