From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs index 8fa4707..367fc18 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs @@ -13,6 +13,10 @@ #region 鈻� 鍙橀噺澹版槑___________________________ /// <summary> + /// 娣诲姞鑱旂郴鏂瑰紡鐨勪簨浠� + /// </summary> + public Action AddPhoneEvent = null; + /// <summary> /// 淇℃伅鎻愮ず鎺т欢 /// </summary> private NormalViewControl btnErrorMsg = null; @@ -61,6 +65,13 @@ //鍒濆鍖栦腑閮ㄤ俊鎭� this.InitMiddleFrame(); + + //閲嶅啓搴曞眰杩斿洖鎸夐敭浜嬩欢 + this.BackButtonClickEvent = (sender) => + { + this.AddPhoneEvent = null; + this.CloseForm(); + }; } /// <summary> @@ -186,6 +197,10 @@ return; } this.CloseForm(); + + //璋冪敤鍥炶皟鍑芥暟 + this.AddPhoneEvent?.Invoke(); + this.AddPhoneEvent = null; } #endregion -- Gitblit v1.8.0