lsh
2022-09-29 8ccd54f9478ab1b1248d4e000b698512c65c7563
Merge remote-tracking branch 'origin/gzynwcs' into gzynwcs
2个文件已修改
7 ■■■■ 已修改文件
src/main/java/com/zy/core/netty/handle/PackageServerHandler.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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="";
    }
}
src/main/resources/application.yml
@@ -90,7 +90,7 @@
  # 输送线
  devp[0]:
    id: 1
    ip: 172.28.15.220
    ip: 192.168.4.250
    port: 102
    rack: 0
    slot: 0