liurunyu
2024-10-28 0da2c08f679cb546fab3a0a7c3d6ff472bb87a8c
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/parse/global/GlCreate.java
@@ -28,6 +28,10 @@
        ByteUtil.string2BCD_LE(bs, DateTime.yyMMddhhmmss(), index) ;
    }
    public static void createTp(String yyMMddhhmmss, byte[] bs, int index) throws Exception {
        ByteUtil.string2BCD_LE(bs, yyMMddhhmmss, index) ;
    }
    public static void createLen(byte[] bsNoTail) throws Exception {
        int len = bsNoTail.length - ProtocolConstantV206V1_0_0.lenHead2ctrl;
        bsNoTail[ProtocolConstantV206V1_0_0.dataLenIndex] = (byte)len ;