Skip to content
Kitti U. @ Ecosoft edited this page Aug 8, 2024 · 7 revisions

Welcome to the thai_zkt wiki!

Pending Questions

  • Bio Photo = Face Scan, Bio Data = Thumb ?
  • 1 ZK User can have more than 1 Bio Photo ? Why, or how it works ?
  • local_config.py -> allowed_exceptions หมายถึงกรณีที่ระบบไม่ต้องการทำอะไรทั้งหมด จากการเรียก cdata ?
  • LOGS_DIRECTORY เก็บอะไรบ้าง ใครเป็นคนสร้าง ย้ายไปไว้ที่ new table ดีไหม ** Log ไฟล์ เหมือนจะไม่มีเก็บว่ามาจาก Device Serial Number ไหน

Main Components

local_config.py

TODO: Can we move all of the config into Single Doctype ?

  • ERPNEXT_API_KEY = 'e5b449d6e84fb6c'
  • ERPNEXT_API_SECRET = 'd316585a947c5d5'
  • ERPNEXT_URL = 'http://192.168.147.227:8000/'
  • LOGS_DIRECTORY = '/tmp'

ZK Terminal

TODO:

  • อยากรู้ว่า Terminal ถูกสร้างขึ้นมาอย่างไร และต้องการค่าอะไรที่เป็น Required ตั้งต้นนบ้าง?
  • มีข้อมูลไหนที่ไม่ได้จำเป็นต้องมีบ้าง

Fields:

  • Is Main -> มีได้มากกว่า 1 อันไหม main ทำหน้าที่อะไรบ้าง
  • Device Type -> ??? จำเป็นต้องมีไหม
  • Registry Code -> ทำไมต้องมี ใช้ ID, Serial Number แทนไม่ได้หรือ
  • Last Activities -> ทำไมต้องมี? ก็มี Log อยู่แล้ว
  • Option -> คืออะไร

ZK User

  • User Name
  • Password --> what password, this can be used for check-in?
  • Privilege ---> ???
  • Group ---> ???
  • Main Status ---> เป็นอะไรได้บ้าง
  • Sync Terminal

ZK Bio Photo, ZK Bio Data

ลองดูว่าแต่ละฟิลด์ทำอะไร ลบทิ้งได้หรือไม่