diff --git a/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManager.cs b/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManager.cs index d335f7a..0fe3b9b 100644 --- a/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManager.cs +++ b/MECF.Framework.Common/Aitex/Core/RT/IOCore/Interlock/InterlockManager.cs @@ -172,7 +172,12 @@ namespace Aitex.Core.RT.IOCore.Interlock return true; if (_dictINTLKActionsFileLoader.TryGetValue((doName, onOff), out var ilAction)) - ilAction.CanDo(out reason); + { + if(!ilAction.CanDo(out reason)) + { + return false; + } + } /* foreach (var action in _lstActions.Where(action => action.IsSame(doName, onOff)))