| | |
| | | private String remarks; |
| | | private int channelNum;//回路号 |
| | | private int isOn;//0=关,1=开 |
| | | private int indoorTemp;//室内温度 |
| | | private int refTemp;//制冷温度点 0-84 |
| | | private int heatTemp;//制热温度点 0-84 |
| | | private int autoTemp;//自动温度点 0-84 |
| | |
| | | |
| | | if (this.curState.length >= 13) { |
| | | this.channelNum = this.curState[0] & 0xFF; |
| | | this.indoorTemp = this.curState[2] & 0xFF; |
| | | this.refTemp = this.curState[3] & 0xFF;//制冷温度点 0-84 |
| | | this.heatTemp = this.curState[4] & 0xFF;//制热温度点 0-84 |
| | | this.autoTemp = this.curState[5] & 0xFF;//自动温度点 0-84 |
| | | this.wettedTemp = this.curState[6] & 0xFF;//自动温度点 0-84 |
| | | this.isOn = this.curState[8] & 0xFF;//只取低4位 |
| | | this.airMode = this.curState[9] & 0xFF; |
| | | this.airSpeed = this.curState[10] & 0xFF; |
| | |
| | | this.isOn = isOn; |
| | | } |
| | | |
| | | public int getIndoorTemp() { |
| | | return indoorTemp; |
| | | } |
| | | |
| | | public void setIndoorTemp(int indoorTemp) { |
| | | this.indoorTemp = indoorTemp; |
| | | } |
| | | |
| | | public int getRefTemp() { |
| | | return refTemp; |
| | | } |