优化了UDP通信代码,增加了消息的时间戳
This commit is contained in:
@@ -13,7 +13,7 @@ class msg_CcuStateFbMsg:
|
||||
self.totalPowerGeneration = 0x00
|
||||
self.ch4o = 0x00
|
||||
self.o2 = 0x00
|
||||
self.fcuVoltage = 0x00
|
||||
self.fcuVoltage = 0x1230
|
||||
self.fcuCurrent = 0x00
|
||||
self.o2Level = 0x00
|
||||
self.placeholder1 = 0x00
|
||||
@@ -83,9 +83,6 @@ class msg_CcuStateFbMsg:
|
||||
self.placeholder5 = 0x00
|
||||
self.checkCode = 0x00
|
||||
|
||||
|
||||
|
||||
|
||||
def pack(self):
|
||||
# 初始化数据
|
||||
self.length = 0x0000
|
||||
|
||||
Reference in New Issue
Block a user