1.修正Interlock有时不起作用的BUG
This commit is contained in:
parent
18a505cc30
commit
3442df5741
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue