From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- 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