Commit 0665b434 authored by liyuanhong's avatar liyuanhong

更新了车机号代码

parent 9cc5aa3a
......@@ -208,8 +208,8 @@ class SendMultMsgThread_m300(ThreadBase):
timeStart = int(time.time() * 1000)
for i in range(0,self.threadCount):
threadName = "thread-" + str(i)
print(threadName)
carid = 201912000000 + i + self.setStartCarNumber
print(threadName + " 车机号:" + str(carid))
theThread = threading.Thread(target=self.sendMsgContinuous, args=(carid,threadName,)) # 数据写死,心跳
threadInfo = {}
threadInfo["name"] = threadName
......
......@@ -205,8 +205,8 @@ class SendMultMsgThread_m500(ThreadBase):
timeStart = int(time.time() * 1000)
for i in range(0,self.threadCount):
threadName = "thread-" + str(i)
print(threadName)
carid = 201912000000 + i + self.setStartCarNumber
print(threadName + " 车机号:" + str(carid))
theThread = threading.Thread(target=self.sendMsgContinuous, args=(carid,threadName,)) # 数据写死,心跳
threadInfo = {}
threadInfo["name"] = threadName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment