Promotic

onValueWrite - event of the PmaString object

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

if (pEvent.Change)
{
Pm.Debug("NewValue=" + pEvent.New);
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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