private void SDR_OnSnrReading(SnrReading reading)
        {
            //Determine the number of bars lit
            signalBarsLit = (int)((((reading.snr - BAD_SNR) / SNR_RATING_RANGE) * SIGNAL_BARS_COUNT) + 0.5f);

            //Invalidate
            Invalidate();
        }
Example #2
0
 private void SDR_OnSnrReading(SnrReading reading)
 {
     snrText.SetText((int)reading.snr + " dB");
 }