Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dashboard = ((DirectConnectionPredictControl.Dashboard)(target));
                return;

            case 2:
                this.slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.dashTextStack = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.speedtext = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.speed = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Kmphtext = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MySlaveDetailWindow = ((DirectConnectionPredictControl.SlaveDetailWindow)(target));

            #line 9 "..\..\SlaveDetailWindow.xaml"
                this.MySlaveDetailWindow.Loaded += new System.Windows.RoutedEventHandler(this.MySlaveDetailWindow_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\SlaveDetailWindow.xaml"
                this.MySlaveDetailWindow.Closed += new System.EventHandler(this.MySlaveDetailWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:

            #line 17 "..\..\SlaveDetailWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown2);

            #line default
            #line hidden
                return;

            case 3:
                this.titleLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 33 "..\..\SlaveDetailWindow.xaml"
                this.miniumBtn2.Click += new System.Windows.RoutedEventHandler(this.miniumBtn2_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\SlaveDetailWindow.xaml"
                this.closeBtn2.Click += new System.Windows.RoutedEventHandler(this.closeBtn2_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.t7Byte01Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.t7Byte2Bit0Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.t7Byte2Bit1Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.t7Byte2Bit2Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.t7Byte2Bit3Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.t7Byte2Bit4Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.t7Byte2Bit5Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.t7Byte2Bit6Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.t7Byte3Bit0Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.t7Byte3Bit1Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.t7Byte3Bit3Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.t7Byte3Bit4Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.t7Byte3Bit5Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.t7Byte3Bit6Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.t7Byte3Bit7Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.t10Byte4Bit0Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.t10Byte4Bit1Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.t10Byte4Bit2Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.t10Byte4Bit3Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.t10Byte4Bit4Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.t10Byte6Bit0Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.t10Byte6Bit1Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 29:
                this.t10Byte6Bit3Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.t10Byte6Bit4Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

            case 36:
                this.t10Byte7Bit2Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 38:
                this.t10Byte01Dashboard = ((DirectConnectionPredictControl.Dashboard)(target));
                return;

            case 39:
                this.t10Byte01Slider = ((System.Windows.Controls.Slider)(target));
                return;

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

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

            case 42:
                this.t9Byte45Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.t10Byte23Dashboard = ((DirectConnectionPredictControl.Dashboard)(target));
                return;

            case 44:
                this.t10Byte23Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 45:
                this.t8Byte23Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 46:
                this.t8Byte23Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 47:
                this.t8Byte45Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 48:
                this.t8Byte45Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 49:
                this.t8Byte67Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 50:
                this.t8Byte67Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 51:
                this.t9Byte01Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 52:
                this.t9Byte01Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 53:
                this.t7Byte45Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 54:
                this.t7Byte45Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 55:
                this.t7Byte67Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 56:
                this.t7Byte67Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 57:
                this.vldSetupPressureSpeedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 58:
                this.vldSetupPressureSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 59:
                this.air1PressureSpeedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 60:
                this.air1PressureSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 61:
                this.air2PressureSpeedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 62:
                this.air2PressureSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 63:
                this.faultListView2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 64:
                this.GridViewContro2l = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyDetailWindow = ((DirectConnectionPredictControl.DetailWindow)(target));

            #line 9 "..\..\DetailWindow.xaml"
                this.MyDetailWindow.Loaded += new System.Windows.RoutedEventHandler(this.MyDetailWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\DetailWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.miniumBtn = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\DetailWindow.xaml"
                this.miniumBtn.Click += new System.Windows.RoutedEventHandler(this.miniumBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\DetailWindow.xaml"
                this.closeBtn.Click += new System.Windows.RoutedEventHandler(this.closeBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.carCodeTb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.bootVnTb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.appVnTb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.healthStatusTb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.groundSpeedDashboard = ((DirectConnectionPredictControl.Dashboard)(target));
                return;

            case 10:
                this.groundSpeedSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 11:
                this.decelerationRateDashboard = ((DirectConnectionPredictControl.Dashboard)(target));
                return;

            case 12:
                this.decelerationRateSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 13:
                this.axle1Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 14:
                this.axle1Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:
                this.axle2Speedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 16:
                this.axle2Slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 17:
                this.axle1BarSpeedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 18:
                this.axle12BarSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 19:
                this.axle2BarSpeedboard = ((DirectConnectionPredictControl.Speedboard)(target));
                return;

            case 20:
                this.axle2BarSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 21:
                this.faultListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 22:
                this.GridViewControl = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }