修正InterlockManager问题

修正InterlockManagerBase对象中的_rTrigMonitorError字段为初始化的问题。
This commit is contained in:
SL 2024-03-25 08:36:50 +08:00
parent e37613e256
commit f564cd138a
1 changed files with 3 additions and 2 deletions

View File

@ -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<TAction>
protected readonly Dictionary<ModuleName, List<IInterlockLimit>> _dictLIMTPerModule;
private PeriodicJob _monitorThread;
private R_TRIG _rTrigMonitorError;
private readonly R_TRIG _rTrigMonitorError;
#endregion
@ -60,6 +59,8 @@ public abstract class InterlockManagerBase<TAction>
_dictINTLKActionsPerModule = new();
_dictLIMT2INTLKActionMap = new ();
_dictLIMTPerModule = new ();
_rTrigMonitorError = new();
}
#endregion