From 4f2dbd1f6a1ec2d9c3c39b4a37b0b7c9ddece4aa Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 23 九月 2021 15:24:01 +0800 Subject: [PATCH] 主页刷新优化 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | 33 +-------------------------------- 1 files changed, 1 insertions(+), 32 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..2352632 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs @@ -461,38 +461,7 @@ } } break; - case SPK.AirFreshStandard: - { - //鍋氫簡涓�涓壒娈婂鐞嗭紱 - bool _bool = false; - for (int i = 0; i < dicSateteList.Count; i++) - { - var dic = dicSateteList[i]; - if (dic.ContainsValue("on_off")) - { - if (dic["on_off"] == "on") - { - //鍒ゆ柇鏄惁瀛樺湪涓旀槸寮�鐘舵�� - _bool = true; - break; - } - } - } - - if (!_bool) - { - //濡傛灉鏂伴鍚湁寮�鍏冲睘鎬т笖鏄叧=鐘舵�侊紱 - //娓呯┖鍒楄〃鎵�鏈夋暟鎹紝閲嶆柊鍗曠嫭閰嶇疆涓�涓紑鍏冲睘鎬т笖鏄叧=鐘舵�侊紱 - //(鏂伴灞炴�ф槸鍗曠嫭鎺у埗鐨�,濡傛灉閰嶇疆鍏筹紝鍐嶉厤缃竴涓閫燂紝椋庨�熶竴鏍锋墽琛�) - dicSateteList.Clear(); - //娌℃湁寮�鍏冲氨榛樿娣诲姞-寮�-灞炴�� - Dictionary<string, string> diction = new Dictionary<string, string>(); - diction.Add("key", "on_off"); - diction.Add("value", "off"); - dicSateteList.Add(diction); - } - } - break; + } outputDevice.status = dicSateteList; -- Gitblit v1.8.0