NetGetTime - method of the AtouchX object
Reads the time of the station.
The method reads the station time. The reading takes place asynchronously, after the reading is finished the EndNetGetTime
event is triggered, which reports the result of the communication and the read time directly in the VBA
format. The event is also passed the Param
value, which is used by the user for identification.
Integer NetGetTime(Long Station, Variant Param)
|Station||(Long) Number of the station from which the time is to be read.|
|Param||(Variant) The value that is passed unchanged to the end of reading time event.|
var oATC = pMe.Pm("/AtouchApp").Acx;
var nStation = 2;
var nParam = 100;
var nState = oATC.NetGetTime(nStation, nParam);