diff --git a/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp b/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp index de82683c598397a30724af6bba9c188dd78bc476..8c4be6608b38fea33c296ab51b0c4461463e27c8 100644 --- a/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp +++ b/Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp @@ -170,7 +170,7 @@ void CComponentCore::activate() throw ( m_calDiode=false; guard.release(); - lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) + lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); } @@ -393,10 +393,10 @@ void CComponentCore::lnaOff() throw ( ReceiversErrors::ReceiverControlBoardErrorExImpl ) { - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); + // throw impl; + // } try { m_control-> turnRightLNAsOff(); m_control-> turnLeftLNAsOff(); diff --git a/SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp b/SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp index 8c42b4a06c6398cb95997d7b20d072325f7dd839..d76f92853fea2d63b67a5903b8ef34d9fca91a2a 100644 --- a/SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp +++ b/SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp @@ -357,10 +357,10 @@ void CComponentCore::vacuumSensorOn() throw (ReceiversErrors::NoRemoteControlErr void CComponentCore::lnaOff() throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) { - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); + // throw impl; + // } try { m_control-> turnRightLNAsOff(); m_control-> turnLeftLNAsOff(); @@ -376,10 +376,10 @@ void CComponentCore::lnaOff() throw (ReceiversErrors::NoRemoteControlErrorExImpl void CComponentCore::lnaOn() throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) { - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOn()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOn()"); + // throw impl; + // } try { m_control-> turnRightLNAsOn(); m_control-> turnLeftLNAsOn(); diff --git a/SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp b/SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp index 94c5b153c4a050c59db8543ae1fd5b713d3b46e4..f3fe68c19d704cee2ce581afc7fbb3821a6dbaeb 100755 --- a/SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp +++ b/SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp @@ -440,10 +440,10 @@ void CComponentCore::lnaOff() throw ( ReceiversErrors::ReceiverControlBoardErrorExImpl ) { - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOff()"); + // throw impl; + // } try { m_control-> turnRightLNAsOff(); m_control-> turnLeftLNAsOff(); @@ -463,10 +463,10 @@ void CComponentCore::lnaOn() throw ( ReceiversErrors::ReceiverControlBoardErrorExImpl ) { - if (checkStatusBit(LOCAL)) { - _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOn()"); - throw impl; - } + // if (checkStatusBit(LOCAL)) { + // _EXCPT(ReceiversErrors::NoRemoteControlErrorExImpl,impl,"CComponentCore::lnaOn()"); + // throw impl; + // } try { m_control-> turnRightLNAsOn(); m_control-> turnLeftLNAsOn();