1.消除PLC无法访问已释放的对象Alarm

This commit is contained in:
HCL 2023-06-12 09:03:47 +08:00
parent 8026d7e997
commit cdac3c26a7
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ namespace SicModules.Devices
if (!write.IsSuccess)
{
//if (!_isCommunicationError)
EV.PostAlarmLog("PLC", $"Communication error with Siemens PLC , {write.Message}");
//EV.PostAlarmLog("PLC", $"Communication error with Siemens PLC , {write.Message}");
//_isCommunicationError = true;
}
return write.IsSuccess;