src/Bro.Device.Common/DeviceBase/PLCBase.cs
@@ -79,7 +79,7 @@ } catch (Exception ex) { OnLog?.Invoke(DateTime.Now, this, "PLC监听异常:" + ex.GetExceptionMessage()); OnLog?.Invoke(DateTime.Now, this, $"{Name}监听异常:{ex.GetExceptionMessage()}"); } } } @@ -141,7 +141,7 @@ return tempNew[index]; }).ToList(); OnMonitorInvoke?.BeginInvoke(DateTime.Now, m, OnMethodInvoked, m); OnMonitorInvoke?.BeginInvoke(DateTime.Now, this, m, OnMethodInvoked, m); } } });