From 34b65350abbb8b740b9c3bc0b43254cbbe23fcb5 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 19 五月 2020 09:31:44 +0800 Subject: [PATCH] 合并代码,更改面板目标信息 --- ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs index 5cb83ef..a3051f6 100644 --- 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