globalvar.py 615 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. from utils.can import MessageDeal
  4. class SD:
  5. MAJOR_VERSION_NUMBER = 0
  6. # 子版本号
  7. MINOR_VERSION_NUMBER = 0
  8. # 修正版本号
  9. REVISION_NUMBER = 0
  10. CAN_TYPE = 0
  11. # 加载CAN连接驱动
  12. CAN_CONTROL = MessageDeal()
  13. CAN_ON_OFF = 0
  14. # 工商业储能 or 户储
  15. CCU_TYPE = 0
  16. BCU_ID = 1
  17. # 主机列表
  18. BCU_LIST = [0 for i in range(15)]
  19. BCU_LIFE_STATE = [0 for i in range(15)]
  20. SYSTEM_LANGUAGE = 0
  21. HIGH_DPI = 0
  22. START_RUN = False
  23. FILE_PATH = "./"
  24. RECORD_SAVE = 0
  25. RECORD_NAME = ""