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/DeviceCurtainDetailCardForm.cs | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs index 27098e8..21fd604 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs @@ -366,19 +366,20 @@ /// <param name="comand"></param> private void SetCurtainCommand(int comand) { + //2020.07.20鍙樻洿:鏀惧紑闄愬埗,涓嶅啀绛夊緟缃戝叧鍥炲,涔熻兘鐐瑰嚮鎸夐挳 //鍦ㄦ病鏈夋帴鏀跺埌鍙嶉涔嬪墠,涓嶈兘鍐嶇偣鍑� - this.btnClose.CanClick = false; - this.btnOpen.CanClick = false; - this.btnStop.CanClick = false; + //this.btnClose.CanClick = false; + //this.btnOpen.CanClick = false; + //this.btnStop.CanClick = false; //妫�娴嬫槸鍚﹁幏鍙栫綉鍏冲弽棣堢殑缁撴灉,濡傛灉缃戝叧娌℃湁鍥炲,鍒欎細寮瑰嚭娑堟伅 - this.StartCheckResponeResult(new List<ButtonBase>(), (result) => - { - //鏃堕棿缁撴潫,鍙互鍐嶆鐐瑰嚮 - this.btnClose.CanClick = true; - this.btnOpen.CanClick = true; - this.btnStop.CanClick = true; - }); + //this.StartCheckResponeResult(new List<ButtonBase>(), (result) => + //{ + // //鏃堕棿缁撴潫,鍙互鍐嶆鐐瑰嚮 + // this.btnClose.CanClick = true; + // this.btnOpen.CanClick = true; + // this.btnStop.CanClick = true; + //}); //鍙戦�佸懡浠� ((Rollershade)device).CurtainUpDownStopControl(comand); } @@ -395,11 +396,7 @@ /// <returns></returns> public override bool CheckResponeResultStatu(ReceiveComandDiv comandDiv, CommonDevice report) { - if (comandDiv == ReceiveComandDiv.A鑺傜偣鎺у埗鍙嶉) - { - return true; - } - else if (comandDiv == ReceiveComandDiv.A璁惧灞炴�т笂鎶�) + if (comandDiv == ReceiveComandDiv.A璁惧灞炴�т笂鎶�) { HdlThreadLogic.Current.RunMain(() => { @@ -418,6 +415,7 @@ } } }); + return true; } return false; } -- Gitblit v1.8.0