From 3aa397ab145382935492b11c1f18c9634e69910b Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 10 十二月 2020 16:45:00 +0800 Subject: [PATCH] 请合并,门锁和晾衣架第一版代码 --- ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs new file mode 100755 index 0000000..5c61200 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs @@ -0,0 +1,29 @@ +锘縰sing System; +using ZigBee.Device; + +namespace ZigBee.Device +{ + public class PMSensor : CommonDevice + { + /// <summary> + /// PM2.5浼犳劅鍣ㄥ璞� + /// </summary> + public PMSensor() + { + this.Type = DeviceType.PMSensor; + } + + /// <summary> + /// 褰撳墠娓╁害 + /// </summary> + public decimal currentTemperature = 0; + /// <summary> + /// 褰撳墠婀垮害 + /// </summary> + public decimal currentHumidity = 0; + /// <summary> + /// 褰撳墠PM2.5鍊� + /// </summary> + public int currentPmData = 0; + } +} -- Gitblit v1.8.0