From ecba45c93391066bc30c7bd602c3a7683fbb99a7 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 31 七月 2020 10:56:12 +0800 Subject: [PATCH] 临时备份 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs old mode 100755 new mode 100644 index 1cc5f84..d61492a --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs @@ -634,6 +634,7 @@ } } } + if (!btnChoose.IsSelected) { targetList.Remove(device); @@ -838,13 +839,14 @@ EventHandler<MouseEventArgs> hander = (sender, e) => { - if (curSupportBindEpointList.Count == 0 || curSupportBindEpointList.Count == targetScList.Count) + btnChoose.IsSelected = !btnChoose.IsSelected; + + if (curSupportBindEpointList.Count == 0) { new Tip() { MaxWidth = 150, Text = Language.StringByID(R.MyInternationalizationString.BindFull), Direction = AMPopTipDirection.None, CloseTime = 1 }.Show(Common.CommonPage.Instance); return; } - btnChoose.IsSelected = !btnChoose.IsSelected; if (!btnChoose.IsSelected) { targetScList.Remove(scene); @@ -901,6 +903,7 @@ //鑾峰彇鎴块棿鍒楄〃 supportRoomList = BindInfo.GetSupportRoomList(); + //鑾峰彇闈㈡澘宸茬粡缁戝畾鐨勫尮閰嶇被鍨嬬殑鍒楄〃 curBindTypeList = MutilfunctionPanelMethod.GetMatchBindList(curBindType); -- Gitblit v1.8.0