From dce6c3481a37216292724013ff9d2b75ceb82f86 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 10 六月 2020 15:47:28 +0800 Subject: [PATCH] 添加小度的代码 --- ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs index 85634c4..5d48933 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs @@ -57,7 +57,7 @@ var frameTemp = new FrameLayout(); frameTemp.Height = Application.GetRealHeight(69); - listView.AddChidrenFrame(frameTemp); + listView.AddChidren(frameTemp); HdlThreadLogic.Current.RunMainInThread(() => { @@ -68,7 +68,7 @@ } var frameTemp2 = new FrameLayout(); frameTemp2.Height = Application.GetRealHeight(29); - listView.AddChidrenFrame(frameTemp2); + listView.AddChidren(frameTemp2); //鏁版嵁鎺ユ敹 this.StartReceiveDataEvent(); @@ -92,7 +92,7 @@ frameTable.Height = Application.GetRealHeight(337); frameTable.BackgroundImagePath = "Item/IndoorUnitGround.png"; frameTable.Gravity = Gravity.CenterHorizontal; - listView.AddChidrenFrame(frameTable); + listView.AddChidren(frameTable); //璁惧鍥炬爣 var btnIconBack = new FrameLayout(); @@ -109,7 +109,7 @@ btnIcon.Gravity = Gravity.Center; Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device); btnIconBack.AddChidren(btnIcon); - frameTable.ChangedChidrenBindMode(btnIconBack, ChidrenBindMode.BindEventOnly); + frameTable.ChangedChidrenBindMode(btnIconBack, ChidrenBindMode.BindEvent); rowInfo.btnIcon = btnIcon; //璁惧鍚嶇О @@ -117,7 +117,7 @@ btnDeviceName.Text = Common.LocalDevice.Current.GetDeviceEpointName(device); btnDeviceName.X = Application.GetRealWidth(193); btnDeviceName.Y = Application.GetRealHeight(45); - frameTable.AddChidren(btnDeviceName, ChidrenBindMode.BindEventOnly); + frameTable.AddChidren(btnDeviceName, ChidrenBindMode.BindEvent); rowInfo.btnDeviceName = btnDeviceName; //鎴块棿 var btnRoom = new NormalViewControl(400, 50, true); @@ -126,7 +126,7 @@ btnRoom.TextSize = 12; btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1; btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(device); - frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly); + frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEvent); rowInfo.btnRoom = btnRoom; //鎽勬皬搴� var btnValue = new NormalViewControl(300, 60, true); @@ -134,7 +134,7 @@ btnValue.X = frameTable.Width - Application.GetRealWidth(300 + 58); btnValue.TextAlignment = TextAlignment.CenterRight; btnValue.TextID = R.MyInternationalizationString.uGetting; - frameTable.AddChidren(btnValue, ChidrenBindMode.BindEventOnly); + frameTable.AddChidren(btnValue, ChidrenBindMode.BindEvent); rowInfo.btnValue = btnValue; //璀﹀憡鍥炬爣 var btnWarningIcon = new IconViewControl(69); -- Gitblit v1.8.0