From 993ecf49ae04ccea89f6bc4a32cfc0c45def1215 Mon Sep 17 00:00:00 2001 From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local> Date: 星期三, 27 十月 2021 14:23:30 +0800 Subject: [PATCH] 2021-10-27-01 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs index 9c7b1f1..a47dd9c 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs @@ -109,6 +109,7 @@ string caption = Language.StringByID(R.MyInternationalizationString.uDeviceNote); string deviceName = Common.LocalDevice.Current.GetDeviceMacName(listNewDevice[0]); this.btnNote = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2); + this.btnNote.txtInput.MaxByte = 48;//闄愬埗鍙兘杈撳叆48涓瓧鑺� listview.AddChidren(btnNote); btnNote.InitControl(); //鍒掔嚎 @@ -174,7 +175,7 @@ } } //淇濆瓨璁惧鎴块棿绱㈠紩 - Common.LocalDevice.Current.SaveRealDeviceRoomId(this.listNewDevice, roomKeys); + HdlRoomLogic.Current.SaveRealDeviceRoomId(this.listNewDevice, roomKeys); }; //鏇村閰嶇疆 @@ -327,7 +328,7 @@ HdlRoomLogic.Current.DeleteDevice(device); HdlRoomLogic.Current.DeleteLoveDevice(device); } - Common.LocalDevice.Current.DeleteRealDeviceFromRoom(this.listNewDevice[0]); + HdlRoomLogic.Current.DeleteRealDeviceFromRoom(this.listNewDevice[0]); } #endregion -- Gitblit v1.8.0