diff --git a/MECF.Framework.RT.EquipmentLibrary/Devices/IoInterLock.cs b/MECF.Framework.RT.EquipmentLibrary/Devices/IoInterLock.cs index a2d034a..09c8b45 100644 --- a/MECF.Framework.RT.EquipmentLibrary/Devices/IoInterLock.cs +++ b/MECF.Framework.RT.EquipmentLibrary/Devices/IoInterLock.cs @@ -652,8 +652,7 @@ namespace Aitex.Core.RT.Device.Devices { if (_diPMATMSW != null && _diPSUEnable != null && _aiActualSpeed != null && _diConfinementRingDown != null && _aiCurPos != null && _aiDownPos != null) { - if (!_diPSUEnable.Value && _diPMATMSW.Value && _aiActualSpeed.FloatValue == 0 && _diConfinementRingDown.Value && - Math.Abs(_aiActualSpeed.FloatValue - _aiDownPos.FloatValue) < 0.5) + if (!_diPSUEnable.Value && _diPMATMSW.Value && _aiActualSpeed.FloatValue == 0 && _diConfinementRingDown.Value && Math.Abs(_aiCurPos.FloatValue - _aiDownPos.FloatValue) < 0.5) { if (!_doReactorATMTransferReady.Value) {