From 9c6bd67d66859e48f0e794cd2746aef9310ce71d Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 13 十二月 2019 18:01:37 +0800 Subject: [PATCH] 2019-12-13-2 --- ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/LockAddDevice.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/LockAddDevice.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/LockAddDevice.cs index b5bd6bb..155d207 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/LockAddDevice.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/LockAddDevice.cs @@ -697,6 +697,7 @@ }; flMain.AddChidren(devicefra); devicefra.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); + #region -------鍙栨秷 瀹屾垚 var timetype = new RowLayout { @@ -746,7 +747,6 @@ }; timetype.AddChidren(Btncomplete); #endregion - string SelectedDeviceStatusaction = "no"; actionsInfo.Add("LinkType", 0); @@ -1057,6 +1057,8 @@ openframelayout.AddChidren(horizontalSeekBarRow); var horizontalSeekBarVol = new DiyImageSeekBar { + Y = openrowlayout.Bottom, + X = Application.GetRealWidth(80), Width = Application.GetRealWidth(920), Height = Application.GetRealHeight(160), IsProgressTextShow = true,//鏄剧ず鐧惧垎姣� @@ -1068,7 +1070,7 @@ ProgressTextSize = 13,//鏄剧ず鐧惧垎姣斿瓧浣撳ぇ灏� SeekBarViewHeight = Application.GetRealHeight(10),//杩涘害鏉$殑楂樺害 }; - horizontalSeekBarRow.AddChidren(horizontalSeekBarVol); + openframelayout.AddChidren(horizontalSeekBarVol); #endregion @@ -1141,7 +1143,7 @@ #endregion int Progressvalue = 100; - EventHandler<int> progressclick = (sender, e) => + EventHandler<int> progressclick = (sender, e) => { SelectedDeviceStatusaction = "yes"; Progressvalue = horizontalSeekBarVol.Progress; @@ -1357,6 +1359,8 @@ openframelayout.AddChidren(horizontalSeekBarRow); var horizontalSeekBarVol = new DiyImageSeekBar { + Y = openrowlayout.Bottom, + X = Application.GetRealWidth(80), Width = Application.GetRealWidth(920), Height = Application.GetRealHeight(160), IsProgressTextShow = true,//鏄剧ず鐧惧垎姣� @@ -1368,7 +1372,7 @@ ProgressTextSize = 13,//鏄剧ず鐧惧垎姣斿瓧浣撳ぇ灏� SeekBarViewHeight = Application.GetRealHeight(10),//杩涘害鏉$殑楂樺害 }; - horizontalSeekBarRow.AddChidren(horizontalSeekBarVol); + openframelayout.AddChidren(horizontalSeekBarVol); #endregion @@ -1745,7 +1749,6 @@ } } break; - case DeviceType.Thermostat: { @@ -2070,7 +2073,6 @@ } - Btncomplete.MouseUpEventHandler += (sender, e) => { -- Gitblit v1.8.0