From f564cd138a2e407147ecf07bd741ed36ff8e3bbc Mon Sep 17 00:00:00 2001 From: SL <123@123.com> Date: Mon, 25 Mar 2024 08:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3InterlockManager=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正InterlockManagerBase对象中的_rTrigMonitorError字段为初始化的问题。 --- .../Aitex/Core/RT/IOCore/Interlock/InterlockManagerBase.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManagerBase.cs b/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManagerBase.cs index 5abeb26..06b1445 100644 --- a/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManagerBase.cs +++ b/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManagerBase.cs @@ -2,7 +2,6 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; -using System.IO; using System.Linq; using System.Text; using System.Xml; @@ -45,7 +44,7 @@ public abstract class InterlockManagerBase protected readonly Dictionary> _dictLIMTPerModule; private PeriodicJob _monitorThread; - private R_TRIG _rTrigMonitorError; + private readonly R_TRIG _rTrigMonitorError; #endregion @@ -60,6 +59,8 @@ public abstract class InterlockManagerBase _dictINTLKActionsPerModule = new(); _dictLIMT2INTLKActionMap = new (); _dictLIMTPerModule = new (); + + _rTrigMonitorError = new(); } #endregion