Promotic

onAction - event of the PmgAlarmStateViewer object

Description:
The event is triggered by clicking the mouse or by pressing the space key and is used to call the Acknowledge method
Parameters:
pMe(Object) Reference to the PmgAlarmStateViewer object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
pEvent.Action - (Long) [for reading] Indication of pressing or releasing the key.
0 - key release
1 - key press
Example:
A method for alarm acknowledgment is called in the event.
JavaScriptVBScriptSelect and copy to clipboard

if (1 == pEvent.Action)
{
pMe.Acknowledge("sel");
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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