old mode 100755
new mode 100644
| | |
| | | |
| | | public string Modepicture = "AC/ACRefrigeration.png"; |
| | | |
| | | /// <summary> |
| | | /// 模式A协议属性 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public string SetModeAttribute { |
| | | get{ |
| | | return SetMode switch { |
| | | 0 => "cool", |
| | | 1 => "heat", |
| | | 2 => "fan", |
| | | 3 => "auto", |
| | | 4 => "dry", |
| | | _ => "cool", |
| | | }; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 风速A协议属性 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public string SetFanSpeedAttribute { |
| | | get { |
| | | return SetFanSpeed switch { |
| | | 0 => "auto", |
| | | 1 => "high", |
| | | 2 => "medium", |
| | | 3 => "low", |
| | | _ => "high", |
| | | }; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |