Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Description - property of the PmEventItem object

Description:
Event item description.
Syntax:
String Description
Note:
Property access for read and write. The preset value of this property is defined in the "Description (desc)" configurator of this object. The user description of the event item is introduced at the moment of event item creation. For the user configured event items are set by corresponding configurator in the development environment. For dynamicaly created event items it is entered as optional parameter sDesc in the ActivateNew or RegisterNew methods.

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 event item texts localization. In this property and on the disk in event history 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 event history and the event item texts will be displayed in selected language.

Example:
JavaScriptVBScriptSelect and copy to clipboard

var oEv = pMe.Pm("/Event");
var oEvItem = oEv.Item("Temperature");
var sDesc = oEvItem.Description;
PROMOTIC 9.0.15 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