From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 01 十二月 2022 09:56:25 +0800 Subject: [PATCH] 2022年12月01日09:56:23 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSetting.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSetting.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSetting.cs index 655759b..6834f12 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSetting.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSetting.cs @@ -63,8 +63,8 @@ #endregion #region UI鏄剧ず - /// <summary> - /// UI鏄剧ず + /// <summary> + /// UI鏄剧ず /// </summary> public void Show() { @@ -152,7 +152,7 @@ //璁惧澶囨敞 string caption = Language.StringByID(R.MyInternationalizationString.DeviceRemarkXm); string deviceName = Common.LocalDevice.Current.GetDeviceMacName(doorLock); - var btnNote = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2); + var btnNote = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2); btnNote.txtInput.MaxByte = 48;//闄愬埗鍙兘杈撳叆48涓瓧鑺� listview.AddChidren(btnNote); btnNote.InitControl(); @@ -182,15 +182,15 @@ var listCheck = new List<string>(); rowBeloneArea.SelectRoomEvent += (roomKeys) => { - //閫夋嫨鏈垎閰嶆椂,娓呯┖ + //閫夋嫨鏈垎閰嶆椂,娓呯┖ if (roomKeys == string.Empty) { listCheck = new List<string>(); } foreach (var device in this.listNewDevice) - { - if (roomKeys == string.Empty) - { - //濡傛灉閫夋嫨鐨勬槸鏈垎閰嶏紝鍒欏畠鐨勫叏閮ㄥ洖璺棤鏉′欢鍏ㄩ儴娓呯┖鎴块棿 - HdlRoomLogic.Current.ChangedRoom(device, roomKeys); - continue; + { + if (roomKeys == string.Empty) + { + //濡傛灉閫夋嫨鐨勬槸鏈垎閰嶏紝鍒欏畠鐨勫叏閮ㄥ洖璺棤鏉′欢鍏ㄩ儴娓呯┖鎴块棿 + HdlRoomLogic.Current.ChangedRoom(device, roomKeys); + continue; } var room = HdlRoomLogic.Current.GetRoomByDevice(device); string mainKeys = LocalDevice.Current.GetDeviceMainKeys(device); -- Gitblit v1.8.0