From d73f1c8f380e28715f80fc585c167d0ab95e3aa0 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期二, 20 八月 2024 11:24:23 +0800 Subject: [PATCH] 修改用户密码长度限制 --- 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