old mode 100755
new mode 100644
| | |
| | | |
| | | 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; |
| | | } |
| | | this.Type = DeviceType.PMSensor; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 当前温度 |
| | | /// </summary> |
| | | public decimal currentTemperature = 0; |
| | | /// <summary> |
| | | /// 当前湿度 |
| | | /// </summary> |
| | | public decimal currentHumidity = 0; |
| | | /// <summary> |
| | | /// 当前PM2.5值 |
| | | /// </summary> |
| | | public int currentPmData = 0; |
| | | } |
| | | } |