StationSetPlug - method of the AtouchX object
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.
Integer StationSetPlug(Integer Station, Long Param)
|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.|
var oATC = pMe.Pm("/AtouchApp").Acx;
var nInfo = oATC.StationSetPlug(2, 60);