Added missing method for frequency detection

This commit is contained in:
Klaus Basan
2014-01-30 14:06:45 +01:00
committed by Mathew Sutcliffe
parent a69a021f26
commit f5ec7ea864

View File

@@ -188,7 +188,6 @@ namespace BlackMisc
*/
void setCom2System(const CComSystem &comSystem) { this->m_com2system = comSystem; }
/*!
* \brief Is any (COM1/2) active frequency within 8.3383kHz channel?
*/
@@ -198,6 +197,15 @@ namespace BlackMisc
this->m_com2system.isActiveFrequencyWithin8_33kHzChannel(comFrequency);
}
/*!
* \brief Is any (COM1/2) active frequency within 25kHz channel?
*/
bool isActiveFrequencyWithin25kHzChannel(const BlackMisc::PhysicalQuantities::CFrequency &comFrequency)
{
return this->m_com1system.isActiveFrequencyWithin25kHzChannel(comFrequency) ||
this->m_com2system.isActiveFrequencyWithin25kHzChannel(comFrequency);
}
/*!
* \brief Get transponder
*/