示例#1
0
 def __init__(self, sim):
     self.t = tools.Tools()
     if 12 == len(sim):
         self.sim = sim
     else:
         self.sim = '0' + sim
示例#2
0
 def __init__(self, message):
     self.msg = message
     self.t = tools.Tools()
     self.content = []
 def __init__(self, filePath, tcp):
     self.t = tools.Tools()
     self.tcp = tcp
     self.filePath = filePath
     self.BUFFER = 950  # 分包大小默认长度 950 byte
 def __init__(self):
     self.t = tools.Tools()
     self.autID = 'vmsgps'
 def __init__(self):
     self.ID = data_config.REPLY_ID  # 应答ID
     self.NO = data_config.REPLY_NO  # 应答流水号
     self.result = data_config.REPLY_RESULT  # 应答结果
     self.t = tools.Tools()
示例#6
0
 def __init__(self, message):
     self.msg = message
     self.t = tools.Tools()
     self.content = []  # 消息内容
     self.result = []  # 消息结果 鉴权码