Revert "Revert "1.屏蔽显示PLC连接失败LOG""

This reverts commit 25b27772d3.
This commit is contained in:
HCL 2023-07-13 12:57:31 +08:00
parent 25b27772d3
commit efe41a59c9
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ namespace Aitex.Core.RT.Device.Devices
{ {
//if (!_isCommunicationError) //if (!_isCommunicationError)
//EV.PostInfoLog("PLC", $"Communication error with Siemens PLC , {write.Message}"); //EV.PostInfoLog("PLC", $"Communication error with Siemens PLC , {write.Message}");
LOG.Write($"PLC Communication error with Siemens PLC , {write.Message}"); //LOG.Write($"PLC Communication error with Siemens PLC , {write.Message}");
//_isCommunicationError = true; //_isCommunicationError = true;
} }
return write.IsSuccess; return write.IsSuccess;