From a4d29f9f72452ccae2f607e6ad31cad493822da4 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 06 五月 2020 11:36:47 +0800 Subject: [PATCH] 2020-05-06-1 --- ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceDoorLockCardControl.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceDoorLockCardControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceDoorLockCardControl.cs index b4c470e..fdc89bc 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceDoorLockCardControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceDoorLockCardControl.cs @@ -19,9 +19,12 @@ public override void InitControl(CommonDevice i_device) { base.InitControl(i_device); - - //娣诲姞璺宠浆娣卞害鍗$墖淇℃伅浜嬩欢 - this.AddDetailInfoEvent(i_device); + //濡傛灉浣忓畢涓鸿櫄鎷熶綇瀹�,鍒欐鍔熻兘鏃犳晥 + if (Common.Config.Instance.Home.IsVirtually == false) + { + //娣诲姞璺宠浆娣卞害鍗$墖淇℃伅浜嬩欢 + this.AddDetailInfoEvent(i_device); + } } #endregion @@ -36,6 +39,8 @@ //娣卞害鍗$墖淇℃伅 this.ButtonClickEvent += (sender, e) => { + Common.CommonPage.Instance.IsDrawerLockMode = true; + var userDoorLockPage = new UserCenter.DoorLock.UserDoorLockPage(UserCenter.HdlRoomLogic.Current.CurrentRoom, i_device); userDoorLockPage.IsDrawerLockMode = true; UserView.HomePage.Instance.AddChidren(userDoorLockPage); -- Gitblit v1.8.0