Accessors for LNB LO.

This commit is contained in:
Alexandru Csete 2012-05-11 20:48:16 +02:00
parent 068795e736
commit 4d5127cf2e
2 changed files with 14 additions and 0 deletions

View File

@ -34,6 +34,17 @@ DockFcdCtl::~DockFcdCtl()
}
void DockFcdCtl::setLnbLo(double freq_mhz)
{
ui->lnbSpinBox->setValue(freq_mhz);
}
double DockFcdCtl::lnbLo()
{
return ui->lnbSpinBox->value();
}
/*! \brief Set new LNA gain.
* \param gain The new gain in the range is -5.0 .. 30.0 dB.
*/

View File

@ -34,6 +34,9 @@ public:
explicit DockFcdCtl(QWidget *parent = 0);
~DockFcdCtl();
void setLnbLo(double freq_mhz);
double lnbLo();
void setLnaGain(float gain);
float lnaGain();