Promotic

StationSetPlug - method of the AtouchX object

Description:
Starts monitoring the connection status of the station or PC.
The method sets the monitoring of changes in the connection state of the Station. From the calling of the StationSetPlug method, each station state change will trigger the StationPlug event. until it is cancelled by the StationResetPlug method or the object is terminated.
 
The The Param value also serves as an identifier when tracking state, The value 0 is used to cancel status monitoring of all stations or PCs.
Syntax:
Integer StationSetPlug(Integer Station, Long Param)
Parameters:
Station(Integer) Number of the station whose connection status is to be monitored.
Param(Long) The value that is passed unchanged to the connection state change event.
Return values:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nInfo = oATC.StationSetPlug(2, 60);
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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