From 0a87f32be1eafc42e22e2001c94cf267c84c3550 Mon Sep 17 00:00:00 2001 From: DELL <1525436766@qq.com> Date: 星期四, 26 十二月 2024 09:49:27 +0800 Subject: [PATCH] 测试调试 --- FBS9600ForFBO_Parse/src/com/fgkj/mcp/TestDataInfo.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/FBS9600ForFBO_Parse/src/com/fgkj/mcp/TestDataInfo.java b/FBS9600ForFBO_Parse/src/com/fgkj/mcp/TestDataInfo.java index 3fccbe6..f764924 100644 --- a/FBS9600ForFBO_Parse/src/com/fgkj/mcp/TestDataInfo.java +++ b/FBS9600ForFBO_Parse/src/com/fgkj/mcp/TestDataInfo.java @@ -14,6 +14,7 @@ import com.fgkj.bres.FileDataParseInfo_Interface; import com.fgkj.bres.RES_Crc16; import com.fgkj.data.ComBase; +import com.fgkj.data.ComFn; /** * FBS鍏呮斁鐢垫暟鎹В鏋� @@ -58,6 +59,7 @@ }else { parse_result = PARSE_RESULT_FILEERROR; } + System.out.println("FFFFFF"); while(true) { if(testDataInfo.checkDataHead(fis)) @@ -237,7 +239,7 @@ public boolean setData(byte[] databuf) { boolean flag = true; //System.out.println(databuf.length + "===" + BYTE_LEN); - //System.out.println(ComFn.bytesToHexString(databuf, databuf.length)); + System.out.println(ComFn.bytesToHexString(databuf, databuf.length)); ByteBuffer bf = ByteBuffer.allocate(databuf.length + dataType.length); bf.order(ByteOrder.LITTLE_ENDIAN); bf.position(0); @@ -637,7 +639,8 @@ public static void main(String[] args) { TestDataInfo info = new TestDataInfo(); - info.readFileData("D:\\妗岄潰鏂囦欢澶囦唤\\鍏徃鍚勭璁惧璧勬枡\\FBS瀛樺偍鏂囦欢瑙f瀽/M2021-06-22 13.08.40.MCP"); + info.readFileData("C:\\Users\\DELL\\Desktop\\鏂板缓鏂囦欢澶� (2)\\鐢垫睜缁�1\\M2024-12-26 09.03.26.MCP"); +// info.readFileData("C:\\Users\\DELL\\Documents\\WeChat Files\\wxid_wwepud71epso21\\FileStorage\\File\\2024-12\\M2024-12-25 10.39.13.MCP"); //info.readFileData("D:\\妗岄潰鏂囦欢澶囦唤\\鍏徃鍚勭璁惧璧勬枡\\FBS瀛樺偍鏂囦欢瑙f瀽/M2021-06-22 13.12.45.MCH"); //info.readFileData("D:\\妗岄潰鏂囦欢澶囦唤\\鍏徃鍚勭璁惧璧勬枡\\FBS瀛樺偍鏂囦欢瑙f瀽/M2021-08-13 09.40.06.MCP"); -- Gitblit v1.9.1