Commit 43181edd authored by 方开's avatar 方开 🍔
Browse files

更新点数引发的问题

parent 9674eb84
......@@ -309,7 +309,7 @@ def measureit(houseId, measureType="all", timeout=2):
# 如果命令列表数据不为空
addr, cmds, pointNum = gc.getCmdsBySubId(subId)
logging.debug(
f"{measureType}分机地址为{addr},对应命令为{cmds},点数为{pointNums}")
f"{measureType}分机地址为{addr},对应命令为{cmds}")
dataList = []
if cmds:
# 只有单条命令
......@@ -327,7 +327,7 @@ def measureit(houseId, measureType="all", timeout=2):
subInfo = gc.getSubInfo(subId)
cerealsSpecies = subInfo.get("cerealsSpecies")
logging.debug(
f"水份分机地址为{addr},对应命令为{cmds},点数为{pointNums},分机信息为{subInfo},谷物类型为{cerealsSpecies}")
f"水份分机地址为{addr},对应命令为{cmds},分机信息为{subInfo},谷物类型为{cerealsSpecies}")
if cmds:
# 单条指令
cmd = cmds[0]
......
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