HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-14 e90209beae6a4e822cecb18e6889f8bda23f630e
ZigbeeApp/Shared/Phone/Device/CommonForm/RoomView.cs
@@ -53,9 +53,9 @@
            this.room = r;
            this.temperDevice = HdlDeviceCommonLogic.Current.GetDevice(room.TemperatrueDevice);
            this.temperDevice = Common.LocalDevice.Current.GetDevice(room.TemperatrueDevice);
            this.humidDevice = HdlDeviceCommonLogic.Current.GetDevice(room.HumidityDevice);
            this.humidDevice = Common.LocalDevice.Current.GetDevice(room.HumidityDevice);
            var roomBackView = new FrameLayout()
            {
@@ -177,13 +177,13 @@
            if (string.IsNullOrEmpty(room.TemperatrueDevice) == false)
            {
                //发送获取温度的命令
                var dev = HdlDeviceCommonLogic.Current.GetDevice(room.TemperatrueDevice);
                var dev = Common.LocalDevice.Current.GetDevice(room.TemperatrueDevice);
                HdlDeviceAttributeLogic.Current.SendTemperatureStatuComand(dev);
            }
            if (string.IsNullOrEmpty(room.HumidityDevice) == false)
            {
                var dev = HdlDeviceCommonLogic.Current.GetDevice(room.HumidityDevice);
                var dev = Common.LocalDevice.Current.GetDevice(room.HumidityDevice);
                HdlDeviceAttributeLogic.Current.SendHumidityStatuComand(dev);
            }