From 70fe48768ea3695780f4b2ae32e940d50bb580c7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 07 五月 2020 17:50:42 +0800 Subject: [PATCH] 2020-05-07-3 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs old mode 100755 new mode 100644 index 37601a4..6830a1d --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs @@ -1024,18 +1024,17 @@ /// </summary> private async void NomallyOpenDialog() { - #region 鍚庣画鐗堟湰 - //if (UserCenterResourse.UserInfo.AuthorityNo != 1) - //{ - // this.ShowMassage(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.OnlyMasterOperate)); - // return; - //} + if (UserCenterResourse.UserInfo.AuthorityNo != 1) + { + this.ShowMassage(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.OnlyMasterOperate)); + return; + } - //if (!UserCenterResourse.AccountOption.DoorUnLockByRemote) - //{ - // SystemSecondAuthentication(); - // return; - //} + if (!UserCenterResourse.AccountOption.DoorUnLockByRemote) + { + SystemSecondAuthentication(); + return; + } action = () => { @@ -1064,8 +1063,7 @@ UpdateNomallyOpenStatus(); }; }; - //HdlCheckLogic.Current.CheckSecondarySecurity(action); - #endregion + HdlCheckLogic.Current.CheckSecondarySecurity(action); } -- Gitblit v1.8.0