update base
This commit is contained in:
parent
4b9fe95661
commit
b9d4eb4f6a
@ -376,7 +376,7 @@ class ZK(object):
|
|||||||
|
|
||||||
def enable_device(self):
|
def enable_device(self):
|
||||||
"""
|
"""
|
||||||
re-enable the connected device
|
re-enable the connected device and allow user activity in device again
|
||||||
"""
|
"""
|
||||||
cmd_response = self.__send_command(const.CMD_ENABLEDEVICE)
|
cmd_response = self.__send_command(const.CMD_ENABLEDEVICE)
|
||||||
if cmd_response.get('status'):
|
if cmd_response.get('status'):
|
||||||
@ -387,7 +387,7 @@ class ZK(object):
|
|||||||
|
|
||||||
def disable_device(self):
|
def disable_device(self):
|
||||||
"""
|
"""
|
||||||
disable (lock) device, ensure no activity while some process run
|
disable (lock) device, to ensure no user activity in device while some process run
|
||||||
"""
|
"""
|
||||||
cmd_response = self.__send_command(const.CMD_DISABLEDEVICE)
|
cmd_response = self.__send_command(const.CMD_DISABLEDEVICE)
|
||||||
if cmd_response.get('status'):
|
if cmd_response.get('status'):
|
||||||
|
Loading…
Reference in New Issue
Block a user