liurunyu
2024-12-02 7fd3ff6715939467e3850763206d37fac8564e41
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/Cd_1600_Down.java
@@ -4,7 +4,7 @@
import com.dy.common.mw.protocol.p206V2.CodeV2;
import com.dy.common.mw.protocol.p206V2.ParseParamsForDownV2;
import com.dy.common.mw.protocol.p206V2.ProtocolConstantV206V2;
import com.dy.common.mw.protocol.p206V2.parse.global.GlCreate;
import com.dy.common.mw.protocol.p206V1.parse.global.GlCreate;
import com.dy.common.util.ByteUtil;
/**
@@ -70,6 +70,8 @@
        index += 2 ;
        GlCreate.createRtuAddr4PUg(para.rtuAddr, preBytes, index);
        GlCreate.createLen4PUg(preBytes);//长度放字节数组中
        byte[] bsTail = GlCreate.createCrcTail4Ug(preBytes) ;//CRC和尾叠加字节数组中
        return ByteUtil.bytesMerge(preBytes, bsTail) ;