From e1871e6f7ce50a9b3f6ee9237f66d641dc98e883 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 28 八月 2021 19:23:22 +0800 Subject: [PATCH] 2021-8-28-4 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs index 0ab9c3b..2e43f26 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs @@ -470,7 +470,7 @@ var dic = dicSateteList[i]; if (dic.ContainsValue("on_off")) { - if (dic["on_off"] == "on") + if (dic["value"] == "on") { //鍒ゆ柇鏄惁瀛樺湪涓旀槸寮�鐘舵�� _bool = true; @@ -481,7 +481,7 @@ if (!_bool) { - //濡傛灉鏂伴鍚湁寮�鍏冲睘鎬т笖鏄叧=鐘舵�侊紱 + //濡傛灉鏂伴涓哄惈鏈夊紑鍏冲睘鎬т笖鏄叧=鐘舵�侊紱 //娓呯┖鍒楄〃鎵�鏈夋暟鎹紝閲嶆柊鍗曠嫭閰嶇疆涓�涓紑鍏冲睘鎬т笖鏄叧=鐘舵�侊紱 //(鏂伴灞炴�ф槸鍗曠嫭鎺у埗鐨�,濡傛灉閰嶇疆鍏筹紝鍐嶉厤缃竴涓閫燂紝椋庨�熶竴鏍锋墽琛�) dicSateteList.Clear(); -- Gitblit v1.8.0