From 224ea4055d5359d0bae0e7087ccc11724a2e49e5 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 14 七月 2020 16:09:19 +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