Declaration
unsigned int _stdcall TimeSynchroStation(struct StationPar * St)
Parameters
StPointer to StationPar structure.
Description
The function TimeSynchroStation (_TimeSynchroStation@4 in the Stdcall calling convention) is optional. It is called (or not called) according to the station polling parameter "Period". The task of the function is to synchronize the real time of the device.
Return code
CodeDescription
RQ_OKThe request has been executed.
RQ_ERRAn error occurred (the device does not communicate or is out of service, or there is any error), the station changes into the status COM_ERR or HARD_ERR after returning from the function.
RQ_IGNOREDThe function was ignored and the station status is not changed.
Napíšte komentár