From 4f65c610e639861ebbc1bd8200d7002ab8661ab8 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 05 十一月 2024 15:32:28 +0800
Subject: [PATCH] 修改init-config.xml中的IC卡协议配置项
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java
index a20b2f3..d57ca14 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java
+++ b/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 ;
}
--
Gitblit v1.8.0