| | |
| | | |
| | | detail.setSensorSts((long) mesBody.getSensorStatusFlags()); |
| | | |
| | | int tempQua = 0; |
| | | if (mesBody.isTempLoc1()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc2()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc3()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc4()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc5()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc6()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc7()) { |
| | | tempQua ++; |
| | | } |
| | | detail.setTempQua(tempQua); |
| | | |
| | | } |
| | | |
| | | // 无码实时数据包 |
| | |
| | | |
| | | detail.setSensorSts((long) mesBody.getSensorStatusFlags()); |
| | | |
| | | int tempQua = 0; |
| | | if (mesBody.isTempLoc1()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc2()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc3()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc4()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc5()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc6()) { |
| | | tempQua ++; |
| | | } |
| | | if (mesBody.isTempLoc7()) { |
| | | tempQua ++; |
| | | } |
| | | detail.setTempQua(tempQua); |
| | | |
| | | } |
| | | |
| | | // 心跳包 |