From b9cb076fe6127160c96c35bf9c8cebcffe1d5ccd Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 10 一月 2020 17:35:23 +0800 Subject: [PATCH] 2020.1.10 --- ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs b/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs index cfc08c8..b957f8d 100644 --- a/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs +++ b/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs @@ -91,10 +91,10 @@ /// </summary> public void Show() { + RemoveAll(); InitData(); AddTop(); AddBodyView(); - } /// <summary> @@ -123,7 +123,7 @@ } foreach (var device in devList) { - var info = Common.LocalDevice.Current.GetNotHdlMyDeviceEnumInfo(new List<CommonDevice> { device?.CommonDevice }); + var info = Common.LocalDevice.Current.GetDeviceBelongEnumInfo(device?.CommonDevice); if (typeDeviceDic.ContainsKey(info.BeloneTextId) == false) { var sameDevList = new List<DeviceUI> { }; @@ -468,9 +468,9 @@ add.MouseUpEventHandler += (sender, e) => { var selectZone = new SelectZone(); - //AddChidren(selectZone); + selectZone.title = Language.StringByID(R.MyInternationalizationString.AddTo); selectZone.Init(); - selectZone.ZoneAction = (r) => + selectZone.ZoneAction += (r) => { foreach (var d in selectedList) { @@ -699,9 +699,9 @@ add.MouseUpEventHandler += (sender, e) => { var selectZone = new SelectZone(); - //CommonPage.Instance.AddChidren(selectZone); + selectZone.title = Language.StringByID(R.MyInternationalizationString.AddTo); selectZone.Init(); - selectZone.ZoneAction = (r) => + selectZone.ZoneAction += (r) => { foreach (var s in selectedList) { -- Gitblit v1.8.0