From fe3b2466c68b5db70d38e78039703add3b8b1dfe Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 31 十二月 2020 19:29:43 +0800 Subject: [PATCH] 合并了代码 --- ZigbeeApp/Shared/Phone/Device/Logic/SoneLogicList.cs | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/SoneLogicList.cs b/ZigbeeApp/Shared/Phone/Device/Logic/SoneLogicList.cs index b10a6f2..fbcce00 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/SoneLogicList.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/SoneLogicList.cs @@ -132,8 +132,8 @@ ///娣诲姞鑷姩鍖栧浘鏍囩殑鎺т欢 var addIconBtn = new Button { - Width = Application.GetMinRealAverage(69), - Height = Application.GetMinRealAverage(69), + Width = Application.GetRealWidth(69), + Height = Application.GetRealWidth(69), X = Application.GetRealWidth(890), Y = Application.GetRealHeight(60), UnSelectedImagePath = "ZigeeLogic/add.png", @@ -254,8 +254,8 @@ { X = Application.GetRealWidth(395), Y = Application.GetRealHeight(92), - Width = Application.GetMinRealAverage(294), - Height = Application.GetMinRealAverage(294), + Width = Application.GetRealWidth(294), + Height = Application.GetRealWidth(294), }; fLayout.AddChidren(modeIconBtn); if (Send.CurrentDoorLock.IsDoorLockNormallyMode) @@ -406,8 +406,8 @@ ///涓嬩竴绾ц彍鍗曞浘鏍囨帶浠� var nextIconBtn = new Button { - Width = Application.GetMinRealAverage(104), - Height = Application.GetMinRealAverage(104), + Width = Application.GetRealWidth(104), + Height = Application.GetRealWidth(104), X = Application.GetRealWidth(861), Y = Application.GetRealHeight(17), UnSelectedImagePath = "ZigeeLogic/nextIconSone.png", @@ -460,7 +460,7 @@ Send.CurrentDoorLock.IsDoorLockNormallyMode = true; ModeView(); ///娣诲姞APP寮�鍚父寮�妯″紡鐨勫巻鍙茶褰� - HdlDeviceDoorLockLogic.Current.AddDoorHistoryLog(Send.CurrentDoorLock, 9001, string.Empty); + UserCenter.HdlDeviceDoorLockLogic.Current.AddDoorHistoryLog(Send.CurrentDoorLock, 9001, string.Empty); } @@ -607,8 +607,8 @@ ///鏄剧ず鐩爣鍔熻兘鑳屾櫙棰滆壊鐨勬帶浠� var typeBjBtn = new FrameLayout { - Width = Application.GetMinRealAverage(82), - Height = Application.GetMinRealAverage(82), + Width = Application.GetRealWidth(82), + Height = Application.GetRealWidth(82), X = Application.GetRealWidth(17), Y = Application.GetRealHeight(84), Radius = (uint)Application.GetMinRealAverage(41), @@ -618,16 +618,16 @@ ///鏄剧ず鐩爣鍔熻兘鍥炬爣鐨勬帶浠� var typeIconBtn = new Button { - Width = Application.GetMinRealAverage(58), - Height = Application.GetMinRealAverage(58), + Width = Application.GetRealWidth(58), + Height = Application.GetRealWidth(58), Gravity = Gravity.Center, }; typeBjBtn.AddChidren(typeIconBtn); ///閫昏緫寮�鍏冲浘鏍囩殑鎺т欢 var switchBtn = new Button { - Width = Application.GetMinRealAverage(104), - Height = Application.GetMinRealAverage(63), + Width = Application.GetRealWidth(104), + Height = Application.GetRealWidth(63), UnSelectedImagePath = "ZigeeLogic/logicclose.png", SelectedImagePath = "ZigeeLogic/logicopen.png", X = Application.GetRealWidth(815), @@ -707,7 +707,7 @@ ///鍒犻櫎鐐瑰嚮浜嬩欢 del.MouseUpEventHandler += (sender, e) => { - var alert = new ShowMsgControl(ShowMsgType.Confirm, + var alert = new UserCenter.ShowMsgControl(ShowMsgType.Confirm, Language.StringByID(MyInternationalizationString.doyouwanttodelete), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); -- Gitblit v1.8.0