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/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs index 4e1e63a..4d17c9a 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs @@ -44,7 +44,7 @@ /// <summary> /// 鏄惁鑾峰彇缃戝叧鍙嶉鐨勭粨鏋� 0:娌℃湁鑾峰彇寰楀埌 1:宸茬粡鑾峰彇寰楀埌 /// </summary> - private int ResponeResult = 0; + public int ResponeResult = 0; /// <summary> /// 褰撳墠绔偣鐨勫姛鑳界被鍨� /// </summary> @@ -232,11 +232,9 @@ this.ResponeResult = 0; //鍏堣鎸囧畾鎺т欢涓嶈兘鐐瑰嚮 - var listSelect = new List<bool>(); foreach (var myContr in listControl) { myContr.CanClick = false; - listSelect.Add(myContr.IsSelected); } HdlThreadLogic.Current.RunThread(() => @@ -269,14 +267,6 @@ { var msgContr = new ShowMsgControl(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.FAIL)); msgContr.Show(); - //鍙樻洿鍥炲師鏉ョ殑鐘舵�� - for (int i = 0; i < listSelect.Count; i++) - { - if (listSelect[i] != listControl[i].IsSelected) - { - listControl[i].IsSelected = listSelect[i]; - } - } }); } //寮�鍏虫寜閽彲浠ュ啀鐐瑰嚮 @@ -374,7 +364,6 @@ public override void CloseFormBefore() { string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(this.device); - HdlGatewayReceiveLogic.Current.RemoveEvent("DeviceDetailCardControl" + mainKeys); HdlGatewayReceiveLogic.Current.RemoveEvent("DeviceDetailCardAttribute" + mainKeys); //鍥炶皟鍑芥暟 -- Gitblit v1.8.0