Update cookies preferences
Promotic

Description - property of the PmAlarmItem object

Description:
Alarm item description.
Syntax:
String Description
Note:
Property access for read and write. The default value of this property is defined in the "Description (desc)" configurator of this object.
 
The user description of the alarm item is introduced at the moment of alarm item creation. For the user configured alarm items are set by corresponding configurator in the development environment. For dynamically created alarm items it is entered as optional parameter sDesc in the ActivateNew or RegisterNew methods. If the alarm item is active, then the value can be changed any time by writing into this property. The modified value will be written automatically to disk into the history when the alarm expires or after acknowledgment and also when the application is terminated.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening). Caution: Macro expression $vb cannot be used for input. Macro expression $.text it can be used both for configuration in the development environment, or in the running application by writing into this property. This enables alarm item texts localization. In this property and on the disk in history of alarms the corresponding macro expression is saved (not the macro expression result). It is then possible in the application to switch the language while viewing the alarm states/alarm history/event history and the alarm text will be displayed always in selected language.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
var sDesc = oAlItem.Description;
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.