25112101 添加PLC测堵气缸控制

This commit is contained in:
moxiliang
2025-11-21 14:23:07 +08:00
parent 25630cfdc1
commit 70243a9808
26 changed files with 302 additions and 225 deletions

View File

@@ -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;
// 构建报文头