Active - property of the PmAlarmItem object
Specifies whether alarm is active or inactive.
true - reading: alarm is active, writing: activation of the alarm
false - reading: alarm is inactive, writing: inactivation of the alarm
Property access for read and write
. When reading the value from the property, the immediate status of the alarm is detected. when writing the value into the property, the activation or inactivation of the alarm is made. Writing the value true
into the property is identical with calling the Activate
method without parameters. Writing the value false
into the property is identical with calling the Inactivate
method without parameters.
The next two examples show the same activity by two different ways:
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
oAlItem.Active = value > 80;