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/UserCenter/DoorLock/UserManagement.cs | 32 +++++--------------------------- 1 files changed, 5 insertions(+), 27 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserManagement.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserManagement.cs old mode 100755 new mode 100644 index f224f74..ee9f7f7 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserManagement.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserManagement.cs @@ -9,18 +9,8 @@ /// <summary> /// 闂ㄩ攣绠$悊 /// </summary> - public class UserManagement : DoorLockCommonLayout, ZigBee.Common.IStatus + public class UserManagement : DoorLockCommonLayout { - /// <summary> - /// 鎸夐敭妯″紡鎺ユ敹 - /// </summary> - /// <param name="common">Common.</param> - public void Changed(CommonDevice common) - { - Shared.Application.RunOnMainThread(() => - { - }); - } /// 鏋勯�犲嚱鏁� /// </summary> /// <param name="doorLock"></param> @@ -133,10 +123,11 @@ }; btnAddFrameLayout.AddChidren(btnUndistributeIcon); + btnAddFrameLayout.Width = Application.GetRealWidth(190 + 50); var btnUndistributeText = new Button { Height = Application.GetRealHeight(72), - Width = Application.GetRealWidth(150), + Width = Application.GetRealWidth(200), TextID = R.MyInternationalizationString.Undistributed, TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText, X = btnUndistributeIcon.Right, @@ -147,6 +138,7 @@ btnAddFrameLayout.AddChidren(btnUndistributeText); if (UserCenterResourse.UserInfo.AuthorityNo != 1) { + btnAddFrameLayout.Width = 0; btnUndistributeIcon.Width = 0; btnUndistributeText.Width = 0; } @@ -160,9 +152,7 @@ btnAddFrameLayout.MouseDownEventHandler += eHandler; btnUndistributeText.MouseDownEventHandler += eHandler; btnUndistributeIcon.MouseDownEventHandler += eHandler; - midVerticalScrolViewLayout = new VerticalRefreshLayout() - { - }; + midVerticalScrolViewLayout = new VerticalRefreshLayout() { }; this.midFrameLayout.AddChidren(midVerticalScrolViewLayout); if (localAllAccountListTemp.Count == 0) @@ -272,18 +262,6 @@ RowView.MouseUpEventHandler += eHandler; btnText.MouseUpEventHandler += eHandler; } - } - - public void DeviceInfoChange(CommonDevice common, string typeTag) - { - } - - public void ChangedILogicStatus(ZigBee.Device.Logic logic) - { - } - - public void ChangedISceneStatus(Scene scene) - { } } } -- Gitblit v1.8.0