update constant variable

This commit is contained in:
Fanani M. Ihsan 2016-07-04 13:55:29 +07:00
parent f500083a59
commit 4b807ddfa1
2 changed files with 9 additions and 1 deletions

View File

@ -349,7 +349,7 @@ class ZK(object):
'''
command = const.CMD_USERTEMP_RRQ
command_string = ''
command_string = chr(const.FCT_USER)
checksum = 0
session_id = self.__sesion_id
reply_id = self.__reply_id

View File

@ -95,3 +95,11 @@ EF_ALARM = (1<<9)# Alarm signal
USER_DEFAULT = 0
USER_ADMIN = 14
FCT_ATTLOG = 1
FCT_WORKCODE = 8
FCT_FINGERTMP = 2
FCT_OPLOG = 4
FCT_USER = 5
FCT_SMS = 6
FCT_UDATA = 7