| | |
| | | else if(fanAttrValue == "auto") |
| | | { |
| | | text = Language.StringByID(StringId.Auto); |
| | | iconPath = "FunctionIcon/AirFresh/Fan2.png"; |
| | | iconPath = "FunctionIcon/AC/AutoIconGray.png"; |
| | | if (this.device.GetAttrState(FunctionAttributeKey.FanSpeed) == "auto" ) |
| | | { |
| | | iconPath = "FunctionIcon/AirFresh/Fan2Select.png"; |
| | | iconPath = "FunctionIcon/AC/AutoIcon.png"; |
| | | isSelecte = true; |
| | | } |
| | | } |
| | |
| | | this.btnFan.UnSelectedImagePath = "FunctionIcon/AirFresh/Fan3.png"; |
| | | this.btnFan.SelectedImagePath = "FunctionIcon/AirFresh/Fan3Select.png"; |
| | | this.btnFanView.Text = Language.StringByID(StringId.HighWindSpeed); |
| | | }else if (this.device.GetAttrState(FunctionAttributeKey.FanSpeed) == "auto") |
| | | { |
| | | this.btnFan.UnSelectedImagePath = "FunctionIcon/AC/AutoIconGray.png"; |
| | | this.btnFan.SelectedImagePath = "FunctionIcon/AC/AutoIcon.png"; |
| | | this.btnFanView.Text = Language.StringByID(StringId.Auto); |
| | | } |
| | | this.btnFan.CanClick = this.btnFan.IsSelected = this.device.GetAttrState(FunctionAttributeKey.OnOff) == "on"; |
| | | } |