zhubaomin
2024-11-05 cf3aaffad0b0f858c869bb21c9a01bf778dd8adc
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java
@@ -8,11 +8,11 @@
public class GlCreate {
    public static byte createHead(byte[] bsHead) throws Exception {
    public static byte createHead(Short protocolVersion, byte[] bsHead) throws Exception {
        byte index = 0;
        bsHead[index++] = ProtocolConstantV206V2.P_Head_Byte;
        bsHead[index++] = 0;//帧长度
        bsHead[index++] = ProtocolConstantV206V2.protocolVer.byteValue();
        bsHead[index++] = protocolVersion.byteValue();
        bsHead[index] = ProtocolConstantV206V2.P_Head_Byte;
        return index ;
    }