Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onAction - event of the PmgAlarmStateViewer object

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

if (1 == pEvent.Action)
pMe.Acknowledge("sel");
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