import json import collections import time from protocol.ModBus.TCPMaster import TcpMaster from utils.DBModels.DeviceModels import DeviceDB # from utils.DBModels.ClientModels import DeviceDB class Area(): startAddress = None endAddress = None bytes = None type = None addressList = [] order = 'ABCD' nums = 0 forceValue = [0] currentValue = [0] * nums def __init__(self): pass