From 98ceb6bd2021f9ff136cda27eef28676dd7b5d92 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 21 五月 2020 13:24:02 +0800 Subject: [PATCH] 最后的版本 --- ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs index f2dece7..5008025 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs @@ -11,6 +11,22 @@ public PMSensor() { this.Type = DeviceType.PMSensor; - } + } + + /// <summary> + /// 褰撳墠娓╁害 + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public int currentTemperature = 0; + /// <summary> + /// 褰撳墠婀垮害 + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public int currentHumidity = 0; + /// <summary> + /// 褰撳墠PM2.5鍊� + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public int currentPmData = 0; } } -- Gitblit v1.8.0