sUserNote | [optional] (String) The text note that is stored to the data together with the acknowledged alarm item (it is enabled on the "Storage" tab). |
---|---|
tTimeAck | [optional] (Date) The acknowledgment time of the alarm.
If not set, then the computer current time is used. |
sExtra | [optional] (String) Additional parameters of the method.
Entries are in the KeyVal format, for example "ackerid:operator1;lang:en;". "ackerid:xx;" - Identifier of the user that acknowledged the alarm.
This identifier is set into the AckerId property of the corresponding alarm and will also be written to disk into the AckerId column (if this column is enabled for writing to disk). If the parameter is not entered, then the identifier of the user that acknowledged the alarm is used (local user, network user on the Web). For example"ackerid:operator1;". "lang:xx;" - Specifies national language for Macro expression $.text.
Language is determined with a text identifier, e.g. "en", "de", "ru" etc. - see Fully supported languages in the PROMOTIC system. If not set, then the present language of running application is used instead. This is relevant for multiple acknowledgment with filtration string switched on (e.g. "$all;area:boiler1;"), where it is possible to set the language for evaluation of localized texts. For example"lang:en;". |
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
oAlItem.Acknowledge();