From 9ab42fcb4499d287444485b180a4c0c1ad3bcc31 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期三, 07 八月 2024 15:59:07 +0800
Subject: [PATCH] 2024-08-07 朱宝民 更待关阀名称
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/parse/global/GlCreate.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/parse/global/GlCreate.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/parse/global/GlCreate.java
index a47ac4c..d2caefe 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/parse/global/GlCreate.java
+++ b/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 ;
--
Gitblit v1.8.0