From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddCondition.cs | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddCondition.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddCondition.cs index f1e2b56..d74b351 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddCondition.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddCondition.cs @@ -157,16 +157,16 @@ Y = Application.GetRealHeight(140 + 20), Height = Application.GetRealHeight(160 * count), }; + //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�; + completeView.Show(count).AddChidren(vV); //娓呴櫎涔嬪墠鐨勬帶浠�; vV.RemoveAll(); - completeView.Show(count).AddChidren(vV); } ///瀹氫袱涓彉閲忚褰曚箣鍓嶇殑鍙�硷紱 string userId = ""; string openMode = ""; string accountName = ""; string SelectedDeviceStatuscondition = ""; - for (int i = 0; i < user.UserIdMode.Count; i++) { var userifon = user.UserIdMode[i]; @@ -174,7 +174,7 @@ mFunView lockView = new mFunView(); if (user.UserIdMode.Count > 9) { - //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�; + vV.AddChidren(lockView.Show()); } else @@ -243,8 +243,6 @@ } } - - completeView.Btncomplete.MouseUpEventHandler += (sender, e) => { var lockConditionsInfo = new Dictionary<string, string>(); @@ -333,7 +331,7 @@ { if (conditionsIndex == -1) { - var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal, + var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal, Language.StringByID(MyInternationalizationString.usertip), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); -- Gitblit v1.8.0