| | |
| | | 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 = () => |
| | | //{ |
| | | // //系统密码支持操作门锁后,调用温居城的界面【常开自动化】 |
| | | // var functionSetting = new Shared.Phone.UserCenter.DoorLock.FunctionSetting(currentRoom, doorLock); |
| | | // Shared.Phone.UserView.HomePage.Instance.AddChidren(functionSetting); |
| | | // Shared.Phone.UserView.HomePage.Instance.PageIndex += 1; |
| | | // functionSetting.Show(); |
| | | // functionSetting.aaaAction = () => |
| | | // { |
| | | // UpdateNomallyOpenStatus(); |
| | | // }; |
| | | //}; |
| | | //HdlCheckLogic.Current.CheckSecondarySecurity(action); |
| | | action = () => |
| | | { |
| | | //系统密码支持操作门锁后,调用温居城的界面【常开自动化】 |
| | | var functionSetting = new Shared.Phone.UserCenter.DoorLock.FunctionSetting(currentRoom, doorLock); |
| | | Shared.Phone.UserView.HomePage.Instance.AddChidren(functionSetting); |
| | | Shared.Phone.UserView.HomePage.Instance.PageIndex += 1; |
| | | functionSetting.Show(); |
| | | // functionSetting.aaaAction = () => |
| | | //{ |
| | | // UpdateNomallyOpenStatus(); |
| | | //}; |
| | | }; |
| | | HdlCheckLogic.Current.CheckSecondarySecurity(action); |
| | | #endregion |
| | | |
| | | #region 暂时版本 (最终去掉) |