sId | (String) The unique text identifier of the new alarm item.
This identifier is used when calling methods, for example: Activate, Inactivate, Acknowledge, Item, etc. |
---|---|
sTemplate | (String) The unique text identifier of the alarm item of template type (see the "Template for dynamically created items" configurator), whose configuration is used. |
sSource | [optional] (String) The specification of the source of the alarm item.
It allows the user to sort and filter alarm items in the alarm viewer in the running application according to the specified source. If not set, then the template value is used. |
sDesc | [optional] (String) The description itself of the alarm item.
The basic text of the alarm item that is displayed in the alarm viewer in the running application. If not set, then the template value is used. |
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.RegisterNew("T1_HI", "HI", "Boiler", "T1 over high limit");