cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
213 stars 159 forks source link

Status online or offline? #51

Open Lcarreno19 opened 6 years ago

Lcarreno19 commented 6 years ago

How can I know if the watch is in online status or in its offline status? from SOAP commands

cobisja commented 6 years ago

Hi,

You can dive into TAD-PHP source code and look the method:

public function is_alive()

In TAD class

Note: Method above only works on devices with SOAP support. Read README.md for details.

Best regards

El 13 abr. 2018 3:18 p. m., "Luis Daniel Carreño" notifications@github.com escribió:

How can I know if the watch is in online status or in its offline status? from SOAP commands

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cobisja/tad-php/issues/51, or mute the thread https://github.com/notifications/unsubscribe-auth/AJzLMiHDxRecQWolwQNTojTHF6ofci80ks5toPoIgaJpZM4TT9fG .

Lcarreno19 commented 6 years ago

thank you for responding cobisja, your comment is very helpful. Could you tell me and apologize for the inconvenience, how to edit the date of the clock by some function similar to this one that you passed me?