wuzeyu
2024-05-20 281145b3d9743ce87de2ca7f6a64536088495d26
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlParse.java
@@ -68,8 +68,7 @@
        vo.alarmWaterMeterBreak = (byte)(b >> 6 & 1) ;
        vo.alarmEleMeterFault = (byte)(b >> 7 & 1) ;
        index++ ;
        b = bs[index] ;
        b = bs[index + 1] ;
        vo.alarm0MoneyRemain = (byte)(b & 0x1) ;
        vo.alarmInnerDoor = (byte)(b >> 1 & 1) ;
        vo.alarmOuterDoor = (byte)(b >> 2 & 1) ;
@@ -180,9 +179,9 @@
        cdData.elePrice = elePrice/100.0D;
        index += 2 ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;//四个字节
        index += 2 ;
        index += 4 ;
        int aVolt = ByteUtil.BCD2Int_LE(bs, index, index + 1) ;
        cdData.aVolt = aVolt/10.0D;
@@ -280,7 +279,7 @@
        cdData.thisDuration = ByteUtil.BCD2Int_LE(bs, index, index + 1) ;
        index += 2 ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;//四个字节
    }
    /**
     * 分析功能93、A3数据
@@ -341,6 +340,6 @@
        cdData.thisDuration = ByteUtil.BCD2Int_LE(bs, index, index + 1) ;
        index += 2 ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;
        GlParse.parseAlarmAndState(bs, index, cdData) ;//四个字节
    }
}