Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.barge = ((MDG.Model.BargeModel)(target));
                return;

            case 2:
                this.pnlModBusControl = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.barge = ((MDG.Model.BargeModel)(target));
                return;

            case 2:
                this.pnlModBusControl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:

            #line 50 "..\..\ModBusWrapper.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrintButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\AttitudeIndicator.xaml"
                ((MDG.Visuals.AttitudeIndicator)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.barge = ((MDG.Model.BargeModel)(target));
                return;

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

            #line 53 "..\..\AttitudeIndicator.xaml"
                this.txtBargeID.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBargeID_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.cboComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.COM1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.COM2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.COM3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.COM4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.COM5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.COM6 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.COM7 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.COM8 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.COM9 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.COM10 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.COM11 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 16:
                this.COM12 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 17:
                this.COM13 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 18:
                this.COM14 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:

            #line 102 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TestButtonClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 103 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Stop_Button_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 104 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SampleBackHaul);

            #line default
            #line hidden
                return;

            case 22:

            #line 105 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SampleTonnage);

            #line default
            #line hidden
                return;

            case 23:

            #line 107 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyDown);

            #line default
            #line hidden
                return;

            case 24:

            #line 108 "..\..\AttitudeIndicator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Record_Test_Sample);

            #line default
            #line hidden
                return;

            case 25:
                this.mainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 26:
                this.recBarge = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 27:
                this.waterLevel = ((System.Windows.Shapes.Line)(target));
                return;

            case 28:
                this.txtView = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.numDockSideAftFeet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 224 "..\..\AttitudeIndicator.xaml"
                this.numDockSideAftFeet.KeyDown += new System.Windows.Input.KeyEventHandler(this.numDockSideAftFeet_KeyDown);

            #line default
            #line hidden
                return;

            case 30:
                this.numDockSideAftInches = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 31:
                this.txtRollDegreeSymbol = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.txtRolAngle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.txtEstBackHaulText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.txtEstBackHaul = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.txtEstWeightLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 37:
                this.txtPitchDegreeSymbol = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.txtpitchAngle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.txtHeavyDraftText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.txtHeavyDraft = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.txtLightDraftText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.txtLightDrafttFeet = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.txtLightDraftInches = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.numAngle = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 321 "..\..\AttitudeIndicator.xaml"
                this.numAngle.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.numAngle_ValueChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.cmdTare = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }