make automodule docs
This commit is contained in:
parent
dc493e8d7e
commit
baf672bcb9
7
docs/modules.rst
Normal file
7
docs/modules.rst
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
zk
|
||||||
|
==
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
|
zk
|
38
docs/zk.rst
Normal file
38
docs/zk.rst
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
zk package
|
||||||
|
==========
|
||||||
|
|
||||||
|
Submodules
|
||||||
|
----------
|
||||||
|
|
||||||
|
zk.base module
|
||||||
|
--------------
|
||||||
|
|
||||||
|
.. automodule:: zk.base
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
zk.const module
|
||||||
|
---------------
|
||||||
|
|
||||||
|
.. automodule:: zk.const
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
zk.user module
|
||||||
|
--------------
|
||||||
|
|
||||||
|
.. automodule:: zk.user
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
|
Module contents
|
||||||
|
---------------
|
||||||
|
|
||||||
|
.. automodule:: zk
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
11
zk/const.py
11
zk/const.py
@ -95,14 +95,3 @@ EF_ALARM = (1<<9)# Alarm signal
|
|||||||
|
|
||||||
USER_DEFAULT = 0
|
USER_DEFAULT = 0
|
||||||
USER_ADMIN = 14
|
USER_ADMIN = 14
|
||||||
|
|
||||||
'''
|
|
||||||
Follow is data type sign (attendance record, fingerprint)
|
|
||||||
FCT_ATTLOG (U8)1 Attendance record
|
|
||||||
FCT_WORKCODE (U8)8 WorkCode。
|
|
||||||
FCT_FINGERTMP (U8)2 Fingerprint data
|
|
||||||
FCT_OPLOG (U8)4 Operation record
|
|
||||||
FCT_USER (U8)5 User record
|
|
||||||
FCT_SMS (U8)6 Short message
|
|
||||||
FCT_UDATA (U8)7 User’s short message
|
|
||||||
'''
|
|
||||||
|
Loading…
Reference in New Issue
Block a user