修改名称

This commit is contained in:
Guoqs
2024-07-31 15:12:05 +08:00
parent 57c0bf8ef9
commit e7db8be29e

View File

@@ -44,7 +44,7 @@ public class YKCUtils {
byte[] data = Bytes.concat(serialNumber, encryptFlag, frameType, msgBody);
// 校验长度
if (data.length != BytesUtil.bytesToIntLittle(length)) {
log.error("数据长度不正确");
log.error("数据长度不正确, 数据长度:{}, 实际长度:{}", BytesUtil.bytesToIntLittle(length), data.length);
return false;
}
// CRC校验 source target