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/ZigBee/Device/PMSensor.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs
old mode 100644
new mode 100755
index 5cb83ef..5008025
--- a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs
@@ -11,19 +11,22 @@
         public PMSensor()
         {
             this.Type = DeviceType.PMSensor;
-        }
-
+        }
+
         /// <summary>
         /// 褰撳墠娓╁害   
         /// </summary>
-        public int currentTemperature = 0;
+        [Newtonsoft.Json.JsonIgnore]
+        public int currentTemperature = 0;
         /// <summary>
         /// 褰撳墠婀垮害 
         /// </summary>
-        public int currentHumidity = 0;
+        [Newtonsoft.Json.JsonIgnore]
+        public int currentHumidity = 0;
         /// <summary>
         /// 褰撳墠PM2.5鍊�
         /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
         public int currentPmData = 0;
     }
 }

--
Gitblit v1.8.0