Promotic

AckerId - property of the PmAlarmItem object

Description:
Identifier of the user making alarm acknowledgment.
Syntax:
String AckerId
Note:
Property access for read and write.
 
This property is filled in automatically by the PROMOTIC system after acknowledgment of the alarm with the name of the logged-in user that acknowledged the alarm. If the acknowledgment is implemented through the local alarm viewer, then it corresponds to a local user. If the acknowledgment is implemented through the Web alarm viewer, then it corresponds to a network user. If the acknowledgment is implemented by the Acknowledge method, then it corresponds to a local user.
If the user specified text (other than system text) input into the property is needed, then the following system behaviour is defined: if any (non empty) value is written into the property at the moment of the acknowledgment, then it is not overwritten by the system value.
If the alarm item is active, then the value can be changed anytime by writing into this property. The modified value will be written automatically to disk into the history when the alarm expires or after acknowledgment and also when the application is terminated.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
var sId = oAlItem.AckerId;

History:
Pm8.00.12: After Web alarm acknowledgment the AckerId property contained the local user instead on the Web user that confirmed the alarm.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.