| | |
| | | new System.Threading.Thread(() => |
| | | { |
| | | SendSwitchStatuComand(device); |
| | | //空气质量传感器的PM2.5数据 |
| | | SendPm2P5Comand(device); |
| | | //空气质量传感器的CO2数据 |
| | | SendCO2Comand(device); |
| | | //空气质量传感器的温度数据 |
| | | HdlDeviceAttributeLogic.Current.SendTemperatureStatuComand(device); |
| | | //空气质量传感器的湿度数据 |
| | | HdlDeviceAttributeLogic.Current.SendHumidityStatuComand(device); |
| | | //空气质量传感器的PM2.5数据 |
| | | SendPm2P5Comand(device); |
| | | //空气质量传感器的CO2数据[2021.01.13产品要求暂时去掉] |
| | | //SendCO2Comand(device); |
| | | //空气质量传感器的温度数据 |
| | | HdlDeviceAttributeLogic.Current.SendTemperatureStatuComand(device); |
| | | //空气质量传感器的湿度数据 |
| | | HdlDeviceAttributeLogic.Current.SendHumidityStatuComand(device); |
| | | System.Threading.Thread.Sleep(300); |
| | | }) |
| | | { IsBackground = true }.Start(); |