From 8b9ce384b26c414db32f98e94e088f5334869c2d Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 13 十一月 2019 15:36:28 +0800 Subject: [PATCH] 全部合并了代码,安卓和 IOS 都测试通过了 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MasterManagementPage.cs | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MasterManagementPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MasterManagementPage.cs index 02107ae..bb4f462 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MasterManagementPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MasterManagementPage.cs @@ -28,9 +28,7 @@ Application.RunOnMainThread(() => { CommonPage.Loading.Start("Loading..."); }); try { - CommonDevice.DebugPrintLog($"11111111111111F"); await Shared.Phone.UserCenter.DoorLock.DoorLockCommonInfo.GetLocaDoorLocklist(doorLock, accountObj); - CommonDevice.DebugPrintLog($"11111111111111G"); } catch { } finally @@ -38,7 +36,6 @@ Application.RunOnMainThread(() => { MidFrameLayoutContent(); - CommonDevice.DebugPrintLog($"11111111111111E"); CommonPage.Loading.Hide(); }); } @@ -50,8 +47,16 @@ /// </summary> public void Show() { - CommonDevice.DebugPrintLog($"11111111111111A"); - this.TopFrameLayout(this, accountObj.Account); + string accountTitle = ""; + if (accountObj.UserName != null) + { + accountTitle = accountObj.UserName; + } + else + { + accountTitle = accountObj.Account; + } + this.TopFrameLayout(this, accountTitle); EventHandler<MouseEventArgs> eHandlerBack = (sender, e) => { @@ -60,14 +65,11 @@ this.btnBack.MouseUpEventHandler += eHandlerBack; this.btnBackFrameLayout.MouseUpEventHandler += eHandlerBack; this.MidFrameLayout(this); - CommonDevice.DebugPrintLog($"11111111111111B"); ReadDoorLockUserInfo(); - CommonDevice.DebugPrintLog($"11111111111111C"); } public void MidFrameLayoutContent() { - CommonDevice.DebugPrintLog($"11111111111111D"); var bodyView = new VerticalScrolViewLayout() { }; @@ -134,7 +136,7 @@ unLockMethod.Show(); } else - { + { ///澶囨敞锛歐JC鐨� ///璁板綍褰撳墠鐢ㄦ埛淇℃伅 Phone.Device.Logic.Send.UserMemberInfoRes = accountObj; -- Gitblit v1.8.0