From f71e74b5f0d2716fbf05da016cdaa18d64e09f80 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 31 十二月 2020 17:01:18 +0800 Subject: [PATCH] 又换完成最新门锁。空气质量传感器完成数据和基本配置功能。开发图表和自动化的同事可下载此代码 --- ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs old mode 100755 new mode 100644 index 5c61200..ec17af4 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs @@ -3,27 +3,27 @@ namespace ZigBee.Device { - public class PMSensor : CommonDevice + public class PMSensor : CommonDevice + { + /// <summary> + /// PM2.5浼犳劅鍣ㄥ璞� + /// </summary> + public PMSensor() { - /// <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; + 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