From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +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