Example #1
0
 public ProcessorPanel(NoiseBlankerProcessor processor)
 {
     this._processor = processor;
       this.InitializeComponent();
       this.enableCheckBox.Checked = this._processor.Enabled;
       this.thresholdTrackBar.Value = this._processor.NoiseThreshold;
       this.pulseWidthTrackBar.Value = (int) (this._processor.PulseWidth * 10.0);
       this.thresholdTrackBar_Scroll((object) null, (EventArgs) null);
       this.pulseWidthTrackBar_Scroll((object) null, (EventArgs) null);
 }
Example #2
0
 public void Initialize(ISharpControl control)
 {
     this._control = control;
       this._processor = new NoiseBlankerProcessor();
       this._processor.Enabled = Utils.GetBooleanSetting("NBEnabled");
       this._processor.NoiseThreshold = Utils.GetIntSetting("NBThreshold", 80);
       this._processor.PulseWidth = Utils.GetDoubleSetting("NBPulseWidth", 10.0);
       this._guiControl = new ProcessorPanel(this._processor);
       this._control.RegisterStreamHook((object) this._processor, ProcessorType.RawIQ);
 }
Example #3
0
 public void Initialize(ISharpControl control)
 {
     this._control                  = control;
     this._processor                = new NoiseBlankerProcessor();
     this._processor.Enabled        = Utils.GetBooleanSetting("NBEnabled");
     this._processor.NoiseThreshold = Utils.GetIntSetting("NBThreshold", 80);
     this._processor.PulseWidth     = Utils.GetDoubleSetting("NBPulseWidth", 10.0);
     this._guiControl               = new ProcessorPanel(this._processor);
     this._control.RegisterStreamHook(this._processor, ProcessorType.RawIQ);
 }
Example #4
0
 public ProcessorPanel(NoiseBlankerProcessor processor)
 {
     this._processor = processor;
     this.InitializeComponent();
     this.enableCheckBox.Checked   = this._processor.Enabled;
     this.thresholdTrackBar.Value  = this._processor.NoiseThreshold;
     this.pulseWidthTrackBar.Value = (int)(this._processor.PulseWidth * 10.0);
     this.thresholdTrackBar_Scroll(null, null);
     this.pulseWidthTrackBar_Scroll(null, null);
 }
        public ProcessorPanel(NoiseBlankerProcessor processor)
        {
            _processor = processor;

            InitializeComponent();

            enableCheckBox.Checked = _processor.Enabled;
            thresholdTrackBar.Value = _processor.NoiseThreshold;
            pulseWidthTrackBar.Value = (int) (_processor.PulseWidth * 10.0);

            thresholdTrackBar_Scroll(null, null);
            pulseWidthTrackBar_Scroll(null, null);
        }
 public ProcessorPanel(NoiseBlankerProcessor processor)
 {
     _processor = processor;
 }