Ejemplo n.º 1
0
 public waveletPWRPanel(IFProcessor ifProcessor, MPXProcessor mpxProcessor, AFProcessor afProcessor)
 {
     InitializeComponent();
     _ifProcessor  = ifProcessor;
     _mpxProcessor = mpxProcessor;
     _afProcessor  = afProcessor;
     enableFilterCheckBox.Checked = _ifProcessor.EnableFilter && ifProcessor.Control.Visible;
     enableFilterCheckBox.Enabled = ifProcessor.Control.Visible;
     enableIFCheckBox.Checked     = ifProcessor.Control.Visible;
     enableMPXCheckBox.Checked    = mpxProcessor.Control.Visible;
     enableAudioCheckBox.Checked  = afProcessor.Control.Visible;
 }
 public waveletPWRPanel(IFProcessor ifProcessor, MPXProcessor mpxProcessor, AFProcessor afProcessor)
 {
     InitializeComponent();
     _ifProcessor = ifProcessor;
     _mpxProcessor = mpxProcessor;
     _afProcessor = afProcessor;
     enableFilterCheckBox.Checked = _ifProcessor.EnableFilter && ifProcessor.Control.Visible;
     enableFilterCheckBox.Enabled = ifProcessor.Control.Visible;
     enableIFCheckBox.Checked = ifProcessor.Control.Visible;
     enableMPXCheckBox.Checked = mpxProcessor.Control.Visible;
     enableAudioCheckBox.Checked = afProcessor.Control.Visible;
 }
        public void Initialize(ISharpControl control)
        {
            _ifProcessor = new IFProcessor(control);
            _ifProcessor.EnableFilter = Utils.GetBooleanSetting("enableZoomFFTFilter");  //TODO: change the following key names (inside of the "") to something that doesn't conflict with zoomFFT in file called SDRsharp.exe (XML file)
            _ifProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomIF");

            _mpxProcessor = new MPXProcessor(control);
            _mpxProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomMPX");

            _afProcessor = new AFProcessor(control);
            _afProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomAF");

            _controlPanel = new waveletPWRPanel(_ifProcessor, _mpxProcessor, _afProcessor);
        }
Ejemplo n.º 4
0
        public void Initialize(ISharpControl control)
        {
            _ifProcessor = new IFProcessor(control);
            _ifProcessor.EnableFilter    = Utils.GetBooleanSetting("enableZoomFFTFilter"); //TODO: change the following key names (inside of the "") to something that doesn't conflict with zoomFFT in file called SDRsharp.exe (XML file)
            _ifProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomIF");

            _mpxProcessor = new MPXProcessor(control);
            _mpxProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomMPX");

            _afProcessor = new AFProcessor(control);
            _afProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomAF");

            _controlPanel = new waveletPWRPanel(_ifProcessor, _mpxProcessor, _afProcessor);
        }