예제 #1
0
 public DiffWidthHeightSubprofilingTool(SciChartWrapper.Views.SciChartProfile2DView view)
 {
     ChartView  = view;
     ToolColor  = Colors.Orange;
     IsEditable = true;
     Init();
 }
예제 #2
0
 public HeightMinMaxTool(SciChartWrapper.Views.SciChartProfile2DView view)
 {
     ChartView  = view;
     ToolColor  = Colors.Orange;
     IsEditable = true;
     Init();
 }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.edchannel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.edRate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.profileChart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;

            case 4:
                this.edminimum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.edmaximum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.physicalChannelComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.btnStart = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\ContAcqDigStartRetrig.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnStop = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\ContAcqDigStartRetrig.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.savetest = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.count = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Start = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\AcqVoltageInt.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.physicalChannelComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.edMin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.edMax = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.edchannel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.edRate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.profileChart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.minimumValue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.maximumValue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.physicalChannelComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.btnStart = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\GenVoltageUpdate.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.voltageOutput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.profilechart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.edMinvalue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.edMaxvalue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.edSamplerate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.SamplesPerCnl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.Start = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.profileChart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gbAcqVoltageInt = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:
                this.edMinvalue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.edMaxvalue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.edSamplerate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.SamplesPerCnl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.Start = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\MainWindow.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.profileChart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;

            case 8:
                this.gbGenVoltageUpdate = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.GenVoltageUpdate_PhysicalChannels = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.aov_Start = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\..\MainWindow.xaml"
                this.aov_Start.Click += new System.Windows.RoutedEventHandler(this.aov_Start_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.gbConGenVotageWfm = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.ConGenVotageWfm_physicalChannels = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.ConGenVotageWfm_signalType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.btnConGenVotageWfm_Start = ((System.Windows.Controls.Button)(target));

            #line 181 "..\..\..\MainWindow.xaml"
                this.btnConGenVotageWfm_Start.Click += new System.Windows.RoutedEventHandler(this.btnConGenVotageWfm_Start_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnConGenVotageWfm_Stop = ((System.Windows.Controls.Button)(target));

            #line 182 "..\..\..\MainWindow.xaml"
                this.btnConGenVotageWfm_Stop.Click += new System.Windows.RoutedEventHandler(this.btnConGenVotageWfm_Stop_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.conGenvotageWfmChart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;

            case 17:
                this.btnCheckdLow = ((System.Windows.Controls.RadioButton)(target));

            #line 213 "..\..\..\MainWindow.xaml"
                this.btnCheckdLow.Checked += new System.Windows.RoutedEventHandler(this.btnCheckdLow_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.btnCheckdhigh = ((System.Windows.Controls.RadioButton)(target));

            #line 215 "..\..\..\MainWindow.xaml"
                this.btnCheckdhigh.Checked += new System.Windows.RoutedEventHandler(this.btnCheckdhigh_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.btnGenDigPulseTrainContinuousStart = ((System.Windows.Controls.Button)(target));

            #line 231 "..\..\..\MainWindow.xaml"
                this.btnGenDigPulseTrainContinuousStart.Click += new System.Windows.RoutedEventHandler(this.btnGenDigPulseTrainContinuousStart_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnGenDigPulseTrainContinuousStop = ((System.Windows.Controls.Button)(target));

            #line 232 "..\..\..\MainWindow.xaml"
                this.btnGenDigPulseTrainContinuousStop.Click += new System.Windows.RoutedEventHandler(this.btnGenDigPulseTrainContinuousStop_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.gbFunctionGenerator = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 22:
                this.ch1SetData = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\..\MainWindow.xaml"
                this.ch1SetData.Click += new System.Windows.RoutedEventHandler(this.ch1SetData_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.ch2SetData = ((System.Windows.Controls.Button)(target));

            #line 301 "..\..\..\MainWindow.xaml"
                this.ch2SetData.Click += new System.Windows.RoutedEventHandler(this.ch2SetData_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.tbIP_Address = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.btnFunctionGeneratorConnect = ((System.Windows.Controls.Button)(target));

            #line 316 "..\..\..\MainWindow.xaml"
                this.btnFunctionGeneratorConnect.Click += new System.Windows.RoutedEventHandler(this.btnFunctionGeneratorConnect_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btnFunctionGeneratorStart = ((System.Windows.Controls.Button)(target));
                return;

            case 27:
                this.btnFunctionGeneratorReset = ((System.Windows.Controls.Button)(target));

            #line 322 "..\..\..\MainWindow.xaml"
                this.btnFunctionGeneratorReset.Click += new System.Windows.RoutedEventHandler(this.btnFunctionGeneratorReset_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnContAcqDigStartRetrig = ((System.Windows.Controls.Button)(target));

            #line 325 "..\..\..\MainWindow.xaml"
                this.btnContAcqDigStartRetrig.Click += new System.Windows.RoutedEventHandler(this.btnContAcqDigStartRetrig_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnStart = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\ContGenVoltageWfm_Int.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnStop = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\ContGenVoltageWfm_Int.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.minimumTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.maximumTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.physicalChannelComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.edfrequency = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.signalTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.edcyclesPerBuffer = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.edsamplesPerBuffer = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.edamplitude = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.profilechart = ((SciChartWrapper.Views.SciChartProfile2DView)(target));
                return;
            }
            this._contentLoaded = true;
        }