Commit 84ff44d4 authored by 方开's avatar 方开 🍔
Browse files

生成命令修复单一类型的问题

parent dca9ded5
......@@ -85,9 +85,9 @@ def getConfig(configData: dict):
subId, cmds = genSubMachineCmd(
subMachineData, "01")
# 空气温湿度通道号为23 代表外温外湿,需要设置全局指令
# 空气温湿度通道号为2f 代表外温外湿,需要设置全局指令
for cmd in cmds:
if cmd[-2:] == "23":
if cmd[-2:] == "2f":
# 将外温外湿指令从该仓删除作为全仓指令
cmds.remove(cmd)
d3 = {"extertemphumi": {
......
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