!74 modify dlt645_2007 buildcmd

* modify dlt645_2007 buildcmd
This commit is contained in:
yunqi
2025-09-13 04:59:10 +00:00
committed by Diego
parent 8175f541ec
commit e8d7e91b64

View File

@@ -186,7 +186,7 @@ public class Dlt645_2007Send : ISendMessage
}
var lenSpan = writerLenAnchor.Rewind(ref byteBlock, out var length);
lenSpan.WriteValue<byte>((byte)(length - 1));//数据域长度
lenSpan.WriteValue<byte>((byte)(length));//数据域长度
int num = 0;
for (int index = 0; index < byteBlock.WrittenCount - SendHeadCodeIndex; ++index)