#
luxiaotao1123
2024-10-14 d59b127388b6064fb01d6f28834d49e560257f2f
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvDataService.java
@@ -166,6 +166,30 @@
        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);
    }
    // 无码实时数据包
@@ -194,6 +218,30 @@
        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);
    }
    // 心跳包