liurunyu
2025-07-15 c107112fcbe4262077d9f1fb6382e635d9c89dcc
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java
@@ -73,10 +73,17 @@
        short portLen = ByteUtilUnsigned.byte2Byte(bs, index) ;
        index++ ;
        cdData.domain = ByteUtil.bytes2String_BE(bs, index, index + domainLen - 1) ;
        if(domainLen > 0){
            cdData.domain = ByteUtil.bytes2String_BE(bs, index, index + domainLen - 1) ;
        }else{
            cdData.domain = "" ;
        }
        index += domainLen ;
        cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ;
        if(portLen > 0){
            cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ;
        }else{
            cdData.port = 0 ;
        }
    }
}