地址修改

This commit is contained in:
Administrator
2026-08-17 13:05:18 +08:00
parent 508647ecca
commit c06bb2704e
9 changed files with 87 additions and 72 deletions
+1 -1
View File
@@ -928,7 +928,7 @@ namespace PLCCommunication
if (IsConnected)
{
result = omronCipNet.Read(iAddr, lenght).Content;
AddLog(lstResWrite, 0, $"{iAddr} --> {result.ToString()}");
AddLog(lstResWrite, 0, $"{iAddr} --> {result?.ToString()}");
}
}
catch (Exception ex)