wuzeyu
2024-10-15 e4bc4f97e837fcf1cb976e92a022c0791c9360a4
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 ;