liurunyu
2024-12-02 cdce015a7143b5e9d0fb003b80b9aa307906c14b
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
@@ -150,10 +150,11 @@
        int len = bytes.length - 4;
        byte[] bs = ByteUtil.int2BCD_LE(len) ;
        if(bs != null && bs.length == 1){
            bytes[1] = bs[0] ;
            bytes[1] = 0 ;
            bytes[2] = bs[0] ;
        }else if(bs != null && bs.length > 1){
            bytes[1] = bs[0] ;
            bytes[2] = bs[1] ;
            bytes[1] = bs[1] ;
            bytes[2] = bs[0] ;
        }
    }