Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AckerId - property of the PmAlarmItem object

Description:
Identification of the user making alarm acknowledgement.
Syntax:
String AckerId
Calling:
sId = oAlItem.AckerId
Note:
Property access for read and write. This property is filled in automatically by PROMOTIC system when the alarm is confirmed with the name of logged user that confirmed the alarm. If the acknowledgement is implemented through the local alarm viewer, then it corresponds to a local user. If the acknowledgement is implemented through the Web alarm viewer, then it corresponds to a network user. If the acknowledgement 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 acknowledgement, 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 when confirmed and also when the PROMOTIC 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 acknowledgement the AckerId property contained the local user instead of the Web user that confirmed the alarm.
PROMOTIC 9.0.12 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice