From 2450c12c825ad4d78d1572da2fa421706db2df2f Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 18 六月 2020 16:01:14 +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