EndNetPutTime - event of the AtouchX object
Description:
The event is triggered after the time has been written to the station.
The event announces the end of time writing into the station. It presents the user with the number of the station to which the time was written, the result of the communication and the user-defined Param parameter.
Parameters:
Station | (Integer) Number of the station to which the time was written. |
Result | (Long) Communication result |
Param | (Long) The value entered in the NetPutTime method. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
if (Result < 1024)
{
Pm.Debug("AtouchX.EndNetPutTime Station=" + Station + " OK");
}
else
{
Pm.Debug("AtouchX.EndNetPutTime Station=" + Station + " Error !!");
}
If Result < 1024 Then
Pm.Debug "AtouchX.EndNetPutTime Station=" & Station & " OK"
Else
Pm.Debug "AtouchX.EndNetPutTime Station=" & Station & " Error !!"
End If