using System; using ZigBee.Device; namespace ZigBee.Device { public class PMSensor : CommonDevice { /// /// PM2.5传感器对象 /// public PMSensor() { this.Type = DeviceType.PMSensor; } /// /// 当前温度 /// public decimal currentTemperature = 0; /// /// 当前湿度 /// public decimal currentHumidity = 0; /// /// 当前PM2.5值 /// public int currentPmData = 0; } }