From 14c0db7652c6d58acd74c06511908f8c6539f39c Mon Sep 17 00:00:00 2001 From: marco-buttu Date: Mon, 2 Mar 2020 10:42:43 +0000 Subject: [PATCH] Fix issue #525 --- .../src/MFKBandBaseCore.cpp | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp b/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp index 26a8818e5..af4a69274 100644 --- a/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp +++ b/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp @@ -188,10 +188,10 @@ void CComponentCore::externalCalOn() throw ( throw impl; } guard.release(); - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::externalCalOn()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::externalCalOn()"); + // throw impl; + // } try { m_control->setExtCalibrationOn(); } @@ -227,10 +227,10 @@ void CComponentCore::externalCalOff() throw ( throw impl; } guard.release(); - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::externalCalOff()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::externalCalOff()"); + // throw impl; + // } try { m_control->setExtCalibrationOff(); } @@ -277,10 +277,10 @@ void CComponentCore::calOn() throw ( throw impl; } // guard.release(); - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::calOn()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::calOn()"); + // throw impl; + // } try { m_control->setCalibrationOn(); m_calDiode=true; @@ -317,10 +317,10 @@ void CComponentCore::calOff() throw ( throw impl; } // guard.release(); - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::calOff()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::calOff()"); + // throw impl; + // } try { m_control->setCalibrationOff(); m_calDiode=false; @@ -834,10 +834,10 @@ void CComponentCore::updateComponent() { baci::ThreadSyncGuard guard(&m_mutex); m_componentStatus=Management::MNG_OK; - if (checkStatusBit(LOCAL)) { - setComponentStatus(Management::MNG_FAILURE); - _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEVER_NOT_REMOTELY_CONTROLLABLE"); - } + // if (checkStatusBit(LOCAL)) { + // setComponentStatus(Management::MNG_FAILURE); + // _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEVER_NOT_REMOTELY_CONTROLLABLE"); + // } if (checkStatusBit(VACUUMPUMPFAULT)) { setComponentStatus(Management::MNG_WARNING); _IRA_LOGFILTER_LOG(LM_WARNING,"CComponentCore::updateComponent()","VACUUM_PUMP_FAILURE"); -- GitLab