From 2be70a32d2a8c517bd9868fb60913fcc843e66fe Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 13 五月 2020 11:21:32 +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