From c7f2e3791f931d18c6ab3b1b215e57a1101e0389 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 27 八月 2020 15:01:27 +0800 Subject: [PATCH] 2020-08-27-1 --- ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs | 23 +---------------------- 1 files changed, 1 insertions(+), 22 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs index 9412a75..11d924f 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs @@ -108,17 +108,6 @@ } } - //foreach (var deviceinfo in Common.Logic.CurrentLogic.Conditions) - //{ - // if (deviceinfo["Type"] == "1") - // { - // if (common.DeviceAddr == deviceinfo["MacAddr"] && common.DeviceEpoint.ToString() == deviceinfo["Epoint"]) - // { - // devices = deviceinfo; - // break; - // } - // } - //} } else { @@ -131,17 +120,7 @@ TaskList = deviceinfo["TaskList"] as List<Dictionary<string, string>>; } } - //foreach (var deviceinfo in Common.Logic.CurrentLogic.Actions) - //{ - // if (deviceinfo["LinkType"].ToString() == "0") - // { - // if (deviceinfo["DeviceAddr"].ToString() == common.DeviceAddr && deviceinfo["Epoint"].ToString() == common.DeviceEpoint.ToString()) - // { - // TaskList = deviceinfo["TaskList"] as List<Dictionary<string, string>>; - // break; - // } - // } - //} + } } #endregion -- Gitblit v1.8.0