Loading Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp +19 −3 Original line number Diff line number Diff line Loading @@ -173,6 +173,22 @@ void CComponentCore::activate() throw ( lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading Loading @@ -988,14 +1004,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa if (checkStatusBit(LOCAL) && answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE" ); } else if (!checkStatusBit(LOCAL) && !answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL" ); Loading SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp +19 −2 Original line number Diff line number Diff line Loading @@ -147,6 +147,23 @@ void CComponentCore::activate() throw (ReceiversErrors::ModeErrorExImpl,Componen guard.release(); lnaOn(); // throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading Loading @@ -840,14 +857,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa if (checkStatusBit(LOCAL) && answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE" ); } else if (!checkStatusBit(LOCAL) && !answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL" ); Loading SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,23 @@ void CComponentCore::activate(const char * setup_mode) throw ( guard.release(); lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading Loading
Common/Servers/MFKBandBaseReceiver/src/MFKBandBaseCore.cpp +19 −3 Original line number Diff line number Diff line Loading @@ -173,6 +173,22 @@ void CComponentCore::activate() throw ( lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading Loading @@ -988,14 +1004,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa if (checkStatusBit(LOCAL) && answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE" ); } else if (!checkStatusBit(LOCAL) && !answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL" ); Loading
SRT/Servers/SRT7GHzReceiver/src/ComponentCore.cpp +19 −2 Original line number Diff line number Diff line Loading @@ -147,6 +147,23 @@ void CComponentCore::activate() throw (ReceiversErrors::ModeErrorExImpl,Componen guard.release(); lnaOn(); // throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading Loading @@ -840,14 +857,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa if (checkStatusBit(LOCAL) && answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE" ); } else if (!checkStatusBit(LOCAL) && !answer) { _IRA_LOGFILTER_LOG( LM_INFO, LM_NOTICE, "CComponentCore::updateIsRemote()", "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL" ); Loading
SRT/Servers/SRTLPBandReceiver/src/ComponentCore.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,23 @@ void CComponentCore::activate(const char * setup_mode) throw ( guard.release(); lnaOn(); // Throw (ReceiversErrors::NoRemoteControlErrorExImpl,ReceiversErrors::ReceiverControlBoardErrorExImpl) externalCalOff(); bool answer; try { answer=m_control->isRemoteOn(); } catch (IRA::ReceiverControlEx& ex) { _EXCPT(ReceiversErrors::ReceiverControlBoardErrorExImpl,impl,"CComponentCore::activate()"); impl.setDetails(ex.what().c_str()); setStatusBit(CONNECTIONERROR); throw impl; } if (checkStatusBit(LOCAL)) { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_LOCAL"); } else { _IRA_LOGFILTER_LOG(LM_NOTICE, "CComponentCore::activate()", "RECEIVER_COMMUNICATION_MODE_REMOTE"); } } Loading