自动化立体仓库 - WCS系统
#
vincent
2020-06-04 4532b17de4f55a25c2e4fd12257b2cc31feabada
#
2个文件已修改
3 ■■■■ 已修改文件
src/main/java/com/zy/common/utils/Struct.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/console.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/utils/Struct.java
@@ -370,6 +370,8 @@
        instance.unusedBytes = unusedBytes;
        return (T) instance;
    }
    // 字节数组 ===>> 转为十六进制字符串
    public static String toHex(byte[] bytes) {
        StringBuilder buf = new StringBuilder(bytes.length * 2);
        for(byte b : bytes) { // 使用String的format方法进行转换
@@ -444,7 +446,6 @@
        }
        return bbt;
    }
    
    public static class TestMessage {
        public @size(1) byte begin = 0x7e;//起始符
src/main/webapp/views/console.html