UserNote - property of the PmAlarmItem object
Alarm item user note:.
Property access for read and write
The user note is usually connected with alarm confirmation and usually it is entered as an optional sUserNote
parameter in the Acknowledge
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 application is terminated.
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
var sNote = oAlItem.UserNote;
Set oAl = pMe.Pm("/Alarm")
Set oAlItem = oAl.Item("Temperature")
sNote = oAlItem.UserNote