From b02e8275a21dc06bf54b66273485d44e007a2616 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 20 七月 2020 14:50:17 +0800 Subject: [PATCH] 新代码 --- ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DevicePmSensorRowControl.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DevicePmSensorRowControl.cs b/ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DevicePmSensorRowControl.cs old mode 100644 new mode 100755 index 646eb3c..3e5886c --- a/ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DevicePmSensorRowControl.cs +++ b/ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DevicePmSensorRowControl.cs @@ -32,6 +32,7 @@ { //PM2.5浼犳劅鍣ㄧ被鍨嬬殑娣卞害鍗$墖鐣岄潰 var form = new MainPage.ControlForm.DevicePmSensorDetailCardForm(); + form.RowOrCardControl = this; form.AddForm(i_device, this.nowSelectRoom, 965, 1374); form.FormCloseEvent += this.CardDetailInfoBackEvent; }; @@ -47,10 +48,10 @@ public override void SendStatuComand() { //妫�娴嬭兘鍚﹀彂閫佽幏鍙栫姸鎬佸懡浠� - //if (this.CheckCanSendStatuComand() == true) - //{ - HdlDeviceAttributeLogic.Current.SendPmSensorComand(this.device); - //} + if (this.CheckCanSendStatuComand() == true) + { + HdlDeviceAttributeLogic.Current.SendFreshAirStatuComand(this.device); + } } #endregion -- Gitblit v1.8.0