From f19dd00c0a302f2e2a13e793e6df407ab1f9820b Mon Sep 17 00:00:00 2001
From: lsh <lsh123456>
Date: 星期六, 08 十月 2022 13:30:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/gzynwcs' into gzynwcs
---
src/main/java/com/zy/core/netty/handle/PackageServerHandler.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java b/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
index de37841..bc61d7c 100644
--- a/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
+++ b/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
@@ -116,8 +116,12 @@
dataBytes[6] = rfidBytes[13];
dataBytes[7] = rfidBytes[14];
String str = new String(dataBytes);
+ String barcode = new String(rfidBytes,7,8);
System.out.println(str);
}
+
+ String aa= "ILY0127 0001";
+ byte[] byteAa = aa.getBytes();
byte[] bytes = new byte[]{(byte)0x82, 0x38, 0x30, 0x32, 0x34, 0x30, 0x38, 0x39, 0x3B, 0x30, 0x31, 0x31, 0x31,
0x30, 0x33, 0x30, 0x38, 0x31, 0x30, 0x30, 0x34, 0x30, 0x38, 0x38, 0x30, (byte)0x83};
@@ -127,6 +131,5 @@
//娑堥槻IO鐐圭紪鍙�
String fireNo = fire3030.getNo().toString() + fire3030.getLoop().toString() + fire3030.getPartNo().toString();
System.out.println(fireNo);
- String aa="";
}
}
--
Gitblit v1.9.1