From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 14 十二月 2020 09:59:01 +0800 Subject: [PATCH] 请合并代码,完成晾衣架最终功能。 --- ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs b/ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs old mode 100755 new mode 100644 index bb903da..f4200fe --- a/ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs @@ -79,7 +79,8 @@ this.listview = tableContr.InitControl(listBackControl.frameTable, Language.StringByID(R.MyInternationalizationString.uInfoEditor), 1319); //鍥剧墖 - var btnPic = new DeviceInfoIconControl(); + var btnPic = new DeviceInfoIconControl(); + btnPic.Y = Application.GetRealHeight(46); btnPic.Gravity = Gravity.CenterHorizontal; listBackControl.frameTable.AddChidren(btnPic); @@ -113,6 +114,7 @@ string caption = Language.StringByID(R.MyInternationalizationString.FunctionName); string deviceName = LocalDevice.Current.GetDeviceEpointName(device); var btnNote = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2); + btnNote.txtInput.MaxByte = 48;//闄愬埗鍙兘杈撳叆48涓瓧鑺� listview.AddChidren(btnNote); btnNote.InitControl(); //鍒掔嚎 -- Gitblit v1.8.0