From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 21 七月 2020 09:46:53 +0800
Subject: [PATCH] 请合并最新多功能面板代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Residence/EditorRoomInforForm.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Residence/EditorRoomInforForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Residence/EditorRoomInforForm.cs
index af6cd06..920a4ab 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Residence/EditorRoomInforForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Residence/EditorRoomInforForm.cs
@@ -315,7 +315,7 @@
                 }
 
                 //绠椾簡,杩欓噷濡傛灉鎸変笅淇濆瓨,鍒欎富椤甸渶瑕侀噸鏂板埛鏂�
-                UserView.UserPage.Instance.RefreshForm = true;
+                UserView.UserPage.Instance.RefreshAllForm = true;
 
                 this.CloseForm();
             };
@@ -372,6 +372,11 @@
             {
                 //鑾峰彇娓╁害浼犳劅鍣�
                 if (device is ZigBee.Device.TemperatureSensor && ((ZigBee.Device.TemperatureSensor)device).SensorDiv == 1)
+                {
+                    listDevice.Add(device);
+                }
+                //PM2.5鏄俯搴﹀拰婀垮害鍚堝湪鍚屼竴涓鐐�
+                else if (device.Type == ZigBee.Device.DeviceType.PMSensor)
                 {
                     listDevice.Add(device);
                 }
@@ -463,10 +468,16 @@
                 {
                     listDevice.Add(device);
                 }
+                //鏂伴
                 else if (device.Type == ZigBee.Device.DeviceType.FreshAirHumiditySensor)
                 {
                     listDevice.Add(device);
                 }
+                //PM2.5鏄俯搴﹀拰婀垮害鍚堝湪鍚屼竴涓鐐�
+                else if (device.Type == ZigBee.Device.DeviceType.PMSensor)
+                {
+                    listDevice.Add(device);
+                }
             }
             var listSelect = new List<string>() { cloneRoom.HumidityDevice };
             var form = new SelectDeviceForm();

--
Gitblit v1.8.0