onValueWrite - event of the PmaString object

The event is triggered after writing the value into this object.
pMe(Object) Reference to the PmaString object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
pEvent.Change - (Boolean) Takes the following values:
true - If Old <> New
false - If Old = New
pEvent.New - (String) Value of the Value property after the last write into this property.
pEvent.Old - (String) Value of the Value property before the last write into this property.
JavaScriptVBScriptSelect and copy to clipboard

if (pEvent.Change)
Pm.Debug("new value = " + pEvent.New);
PROMOTIC 9.0.16 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