Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\WpfRobot2RouesInterface.xaml"
                ((RobotInterface.WpfRobot2RouesInterface)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 12 "..\..\WpfRobot2RouesInterface.xaml"
                ((RobotInterface.WpfRobot2RouesInterface)(target)).SourceInitialized += new System.EventHandler(this.Window_SourceInitialized);

            #line default
            #line hidden
                return;

            case 2:
                this.GridApplication = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.asserv2WheelsSpeedDisplay = ((WpfAsservissementDisplay.AsservissementRobot2RouesDisplayControl)(target));
                return;

            case 4:
                this.asservPositionDisplay = ((WpfAsservissementDisplay.AsservissementRobot2RouesDisplayControl)(target));
                return;

            case 5:

            #line 45 "..\..\WpfRobot2RouesInterface.xaml"
                ((System.Windows.Controls.GroupBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZoomOnGraph_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:
                this.oscilloX = ((WpfOscilloscopeControl.WpfOscilloscope)(target));
                return;

            case 7:

            #line 48 "..\..\WpfRobot2RouesInterface.xaml"
                ((System.Windows.Controls.GroupBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZoomOnGraph_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.LabelMotorState = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.ButtonDisableMotors = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\WpfRobot2RouesInterface.xaml"
                this.ButtonDisableMotors.Click += new System.Windows.RoutedEventHandler(this.ButtonDisableMotors_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.LabelAsservMode = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ButtonChangeAsservissementMode = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\WpfRobot2RouesInterface.xaml"
                this.ButtonChangeAsservissementMode.Click += new System.Windows.RoutedEventHandler(this.ButtonEnableAsservissement_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.LabelXBoxControllerMode = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.ButtonChangeXBoxControllerMode = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\WpfRobot2RouesInterface.xaml"
                this.ButtonChangeXBoxControllerMode.Click += new System.Windows.RoutedEventHandler(this.ButtonXBoxController_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 68 "..\..\WpfRobot2RouesInterface.xaml"
                ((System.Windows.Controls.GroupBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZoomOnGraph_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 15:
                this.oscilloTheta = ((WpfOscilloscopeControl.WpfOscilloscope)(target));
                return;

            case 16:
                this.textBoxConsole = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.LabelNbIMUDataPerSec = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.LabelNbSpeedOdometryDataPerSec = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.LabelNbLidarProcessedDataPerSec = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.LabelBattCommandVoltage = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.LabelBattPowerVoltage = ((System.Windows.Controls.Label)(target));
                return;

            case 22:

            #line 99 "..\..\WpfRobot2RouesInterface.xaml"
                ((System.Windows.Controls.GroupBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZoomOnGraph_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 23:
                this.oscilloLidar = ((WpfOscilloscopeControl.WpfOscilloscope)(target));
                return;

            case 24:
                this.worldMapDisplayStrategy = ((WpfWorldMapDisplay.LocalWorldMapDisplay)(target));

            #line 107 "..\..\WpfRobot2RouesInterface.xaml"
                this.worldMapDisplayStrategy.Loaded += new System.Windows.RoutedEventHandler(this.worldMapDisplayStrategy_Loaded);

            #line default
            #line hidden
                return;

            case 25:
                this.worldMapDisplayWaypoint = ((WpfWorldMapDisplay.LocalWorldMapDisplay)(target));
                return;

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

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

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

            case 29:
                this.ButtonDebugCam2 = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.ImageDebug1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 31:
                this.imageCamera1 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupBoxEmission = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 22 "..\..\MainWindow.xaml"
                this.textBoxEmission.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxEmission_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.groupBoxReception = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 5:
                this.groupBoxConsigneX = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.textBoxConsigneX.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxConsigneX_KeyUp);

            #line default
            #line hidden
                return;

            case 7:
                this.groupBoxConsigneTheta = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.textBoxConsigneTheta.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxConsigneTheta_KeyUp);

            #line default
            #line hidden
                return;

            case 9:
                this.groupBoxKP = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.textBoxKP.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKP_KeyUp);

            #line default
            #line hidden
                return;

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

            case 12:
                this.textBoxKPMax = ((System.Windows.Controls.TextBox)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.textBoxKPMax.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKPMax_KeyUp);

            #line default
            #line hidden
                return;

            case 13:
                this.groupBoxKI = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.textBoxKI = ((System.Windows.Controls.TextBox)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.textBoxKI.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKI_KeyUp);

            #line default
            #line hidden
                return;

            case 15:
                this.groupBoxKIMax = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 16:
                this.textBoxKIMax = ((System.Windows.Controls.TextBox)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.textBoxKIMax.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKIMax_KeyUp);

            #line default
            #line hidden
                return;

            case 17:
                this.groupBoxKD = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.textBoxKD = ((System.Windows.Controls.TextBox)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.textBoxKD.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKD_KeyUp);

            #line default
            #line hidden
                return;

            case 19:
                this.groupBoxKDMax = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 20:
                this.textBoxKDMax = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.textBoxKDMax.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxKDMax_KeyUp);

            #line default
            #line hidden
                return;

            case 21:
                this.buttonEnvoyer = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.buttonEnvoyer.Click += new System.Windows.RoutedEventHandler(this.buttonEnvoyer_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.buttonEffacer.Click += new System.Windows.RoutedEventHandler(this.buttonEffacer_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.buttonAutoManuel.Click += new System.Windows.RoutedEventHandler(this.buttonAutoManuel_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.buttonLinAng = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.buttonLinAng.Click += new System.Windows.RoutedEventHandler(this.buttonLinAng_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\MainWindow.xaml"
                this.buttonEffacerAsserv.Click += new System.Windows.RoutedEventHandler(this.buttonEffacerAsserv_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.buttonTest.Click += new System.Windows.RoutedEventHandler(this.buttonTest_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.checkBoxLEDOrange = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.checkBoxLEDBleue = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.checkBoxLEDBlanche = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.textBoxIRG = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.textBoxIRC = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.textBoxIRD = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.textBoxVG = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.textBoxVD = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.textBoxEtape = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.textBoxPosX = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.textBoxPosY = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.textBoxAngle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.textBoxVitesseLin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.textBoxVitesseAng = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.asservSpeedDisplay = ((WpfAsservissementDisplay.AsservissementRobot2RouesDisplayControl)(target));
                return;
            }
            this._contentLoaded = true;
        }