25112101 添加PLC测堵气缸控制
This commit is contained in:
@@ -403,7 +403,7 @@ namespace SLC1_N
|
||||
try
|
||||
{
|
||||
string hexAddress = address.ToString("X4");
|
||||
int regCount = values.Length; // 修正:每个int对应1个寄存器
|
||||
int regCount = values.Length; // 每个int对应1个寄存器
|
||||
int byteCount = regCount * 2;
|
||||
|
||||
// 构建报文头
|
||||
|
||||
Reference in New Issue
Block a user