From fffd8afca5b69a592e9ba8913204f83f478e2f17 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 06 五月 2020 17:28:35 +0800 Subject: [PATCH] 增加获取颜色接口(请合并代码) --- ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs index 14d3e84..5180833 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs @@ -88,11 +88,8 @@ { localDeviceList.Clear(); scList.Clear(); - //鑾峰彇鏈湴璁惧鍒楄〃 - foreach (var dev in Shared.Common.LocalDevice.Current.listAllDevice) - { - localDeviceList.Add(dev); - } + //鑾峰彇鏈湴璁惧鍒楄〃 + localDeviceList = Shared.Common.LocalDevice.Current.listAllDevice; //鑾峰彇鏈湴鍦烘櫙鍒楄〃 scList = HdlSceneLogic.Current.GetAllRoomSceneList(); //鑾峰彇缃戝叧鍦烘櫙琛� -- Gitblit v1.8.0