Comment - property of the PmAlarmItem object

Alarm item comment.
String Comment
Property access for read and write.
The comment of the alarm item is usually connected with the moment of alarm creation and it is usually set as an optional the sComment parameter in the Activate method. 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:
JavaScriptVBScriptSelect and copy to clipboard

var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
var sComment = oAlItem.Comment;
PROMOTIC 9.0.17 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