From 652c1986b854f54e0a6d38b4b538a9551c1e3151 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 13 五月 2020 11:27:42 +0800
Subject: [PATCH] 2

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
index 25e2cdc..c401d8c 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
@@ -30,7 +30,7 @@
         /// </summary>
         public bool SetCanSelect
         {
-            set
+            set
             {
                 m_SetCanSelect = value;
             }
@@ -184,6 +184,12 @@
                 strType = Language.StringByID(R.MyInternationalizationString.FreshAir);
                 nowSelectNo = -1;
             }
+            else if (this.device.Type == DeviceType.PMSensor)
+            {
+                //PM2.5浼犳劅鍣ㄥ浐瀹氫负 绌烘皵璐ㄩ噺
+                strType = Language.StringByID(R.MyInternationalizationString.AirQuality);
+                nowSelectNo = -1;
+            }
 
             //鏄剧ず鏂囨湰
             this.txtView.Text = strType;
@@ -208,6 +214,7 @@
                 || this.device.Type == DeviceType.OnOffOutput//缁х數鍣�
                 || this.device.Type == DeviceType.Thermostat//绌鸿皟
                 || this.device.Type == DeviceType.FreshAir//鏂伴
+                || this.device.Type == DeviceType.PMSensor //PM2.5
                 || this.device.Type == DeviceType.WindowCoveringDevice)//绐楀笜
             {
                 return true;

--
Gitblit v1.8.0