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

            #line 5 "..\..\..\Extruder1.xaml"
                ((CoreTest.Extruder1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\Extruder1.xaml"
                ((CoreTest.Extruder1)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cvs1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.extruder1 = ((HMIControl.Extruder)(target));
                return;

            case 4:
                this.extruder1_Copy = ((HMIControl.Extruder)(target));
                return;

            case 5:
                this.bin1 = ((HMIControl.BufferBin)(target));
                return;

            case 6:
                this.bin2 = ((HMIControl.BufferBin)(target));
                return;

            case 7:
                this.cooler1 = ((HMIControl.Cooler)(target));
                return;

            case 8:
                this.mixer1 = ((HMIControl.Grind)(target));
                return;

            case 9:
                this.cyclone1 = ((HMIControl.Cyclone)(target));
                return;

            case 10:
                this.conveyor1 = ((HMIControl.ChainConveyor)(target));
                return;

            case 11:
                this.ft2 = ((HMIControl.FromTo)(target));
                return;

            case 12:
                this.ft2_Copy = ((HMIControl.FromTo)(target));
                return;

            case 13:
                this.fromTo1 = ((HMIControl.FromTo)(target));
                return;

            case 14:
                this.cyclone2 = ((HMIControl.Cyclone)(target));
                return;

            case 15:
                this.bufferStore3 = ((HMIControl.BufferBin)(target));
                return;

            case 16:
                this.bufferStore4 = ((HMIControl.BufferBin)(target));
                return;

            case 17:
                this.bufferStore8 = ((HMIControl.BufferBin)(target));
                return;

            case 18:
                this.threeways1 = ((HMIControl.FourWays)(target));
                return;

            case 19:
                this.fromTo1_Copy = ((HMIControl.FromTo)(target));
                return;

            case 20:
                this.fromTo2 = ((HMIControl.FromTo)(target));
                return;

            case 21:
                this.fromTo2_Copy = ((HMIControl.FromTo)(target));
                return;

            case 22:
                this.fromTo2_Copy1 = ((HMIControl.FromTo)(target));
                return;

            case 23:
                this.fromTo1_Copy2 = ((HMIControl.FromTo)(target));
                return;

            case 24:
                this.cyclone2_Copy = ((HMIControl.Cyclone)(target));
                return;

            case 25:
                this.fromTo1_Copy4 = ((HMIControl.FromTo)(target));
                return;

            case 26:
                this.fromTo1_Copy7 = ((HMIControl.FromTo)(target));
                return;

            case 27:
                this.hMILable1 = ((HMIControl.HMILable)(target));
                return;

            case 28:
                this.hMILable2 = ((HMIControl.HMILable)(target));
                return;

            case 29:
                this.hMILable3 = ((HMIControl.HMILable)(target));
                return;

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

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

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

            case 33:
                this.hMILable4 = ((HMIControl.HMILable)(target));
                return;

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

            case 35:
                this.hMILable14 = ((HMIControl.HMILable)(target));
                return;

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

            case 37:
                this.chainConveyor1 = ((HMIControl.ChainConveyor)(target));
                return;

            case 38:
                this.hMILable9 = ((HMIControl.HMILable)(target));
                return;

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

            case 40:
                this.hMILable10 = ((HMIControl.HMILable)(target));
                return;

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

            case 42:
                this.selectSwitch2 = ((HMIControl.SelectSwitch)(target));
                return;

            case 43:
                this.hMILable1_Copy = ((HMIControl.HMILable)(target));
                return;

            case 44:
                this.hMILable2_Copy = ((HMIControl.HMILable)(target));
                return;

            case 45:
                this.hMILable3_Copy = ((HMIControl.HMILable)(target));
                return;

            case 46:
                this.textBlock16_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.textBlock17_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.textBlock18_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.hMILable4_Copy = ((HMIControl.HMILable)(target));
                return;

            case 50:
                this.textBlock1_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.hMILable14_Copy = ((HMIControl.HMILable)(target));
                return;

            case 52:
                this.textBlock11_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.productline = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.textBlock8_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.selectSwitch1 = ((HMIControl.SelectSwitch)(target));
                return;

            case 58:
                this.hMILable5 = ((HMIControl.HMILable)(target));
                return;

            case 59:
                this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.hMILable6 = ((HMIControl.HMILable)(target));
                return;

            case 61:
                this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.selectSwitch3 = ((HMIControl.SelectSwitch)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\Pelleting1.xaml"
                ((CoreTest.Pelleting1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\Pelleting1.xaml"
                ((CoreTest.Pelleting1)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cvs1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.bufferBin1 = ((HMIControl.BufferBin)(target));
                return;

            case 4:
                this.bufferBin4 = ((HMIControl.BufferBin)(target));
                return;

            case 5:
                this.pellet1 = ((HMIControl.Pellet)(target));
                return;

            case 6:
                this.cooler1 = ((HMIControl.Cooler)(target));
                return;

            case 7:
                this.elevator1 = ((HMIControl.Elevator)(target));
                return;

            case 8:
                this.fromTo1 = ((HMIControl.FromTo)(target));
                return;

            case 9:
                this.cyclone1 = ((HMIControl.Cyclone)(target));
                return;

            case 10:
                this.sifter1 = ((HMIControl.Sifter)(target));
                return;

            case 11:
                this.fromTo2 = ((HMIControl.FromTo)(target));
                return;

            case 12:
                this.divert1 = ((HMIControl.Divert)(target));
                return;

            case 13:
                this.bufferBin2 = ((HMIControl.BufferBin)(target));
                return;

            case 14:
                this.bufferBin3 = ((HMIControl.BufferBin)(target));
                return;

            case 15:
                this.fromTo3 = ((HMIControl.FromTo)(target));
                return;

            case 16:
                this.fromTo4 = ((HMIControl.FromTo)(target));
                return;

            case 17:
                this.fromTo5 = ((HMIControl.FromTo)(target));
                return;

            case 18:
                this.fromTo7 = ((HMIControl.FromTo)(target));
                return;

            case 19:
                this.fromTo8 = ((HMIControl.FromTo)(target));
                return;

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

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

            case 22:
                this.fromTo11 = ((HMIControl.FromTo)(target));
                return;

            case 23:
                this.fromTo12 = ((HMIControl.FromTo)(target));
                return;

            case 24:
                this.divert3 = ((HMIControl.Divert)(target));
                return;

            case 25:
                this.hMILable6 = ((HMIControl.HMILable)(target));
                return;

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

            case 27:
                this.hMILable7 = ((HMIControl.HMILable)(target));
                return;

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

            case 29:
                this.hMILable8 = ((HMIControl.HMILable)(target));
                return;

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

            case 31:
                this.hMILable9 = ((HMIControl.HMILable)(target));
                return;

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

            case 33:
                this.hMILable11 = ((HMIControl.HMILable)(target));
                return;

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

            case 35:
                this.proportionValve1 = ((HMIControl.ProportionValve)(target));
                return;

            case 36:
                this.tubeLine1 = ((HMIControl.TubeLine)(target));
                return;

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

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

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

            case 40:
                this.bufferBin5 = ((HMIControl.BufferBin)(target));
                return;

            case 41:
                this.bufferBin6 = ((HMIControl.BufferBin)(target));
                return;

            case 42:
                this.pellet2 = ((HMIControl.Pellet)(target));
                return;

            case 43:
                this.cooler2 = ((HMIControl.Cooler)(target));
                return;

            case 44:
                this.elevator2 = ((HMIControl.Elevator)(target));
                return;

            case 45:
                this.fromTo6 = ((HMIControl.FromTo)(target));
                return;

            case 46:
                this.cyclone2 = ((HMIControl.Cyclone)(target));
                return;

            case 47:
                this.sifter2 = ((HMIControl.Sifter)(target));
                return;

            case 48:
                this.fromTo9 = ((HMIControl.FromTo)(target));
                return;

            case 49:
                this.divert2 = ((HMIControl.Divert)(target));
                return;

            case 50:
                this.bufferBin7 = ((HMIControl.BufferBin)(target));
                return;

            case 51:
                this.bufferBin8 = ((HMIControl.BufferBin)(target));
                return;

            case 52:
                this.fromTo10 = ((HMIControl.FromTo)(target));
                return;

            case 53:
                this.fromTo13 = ((HMIControl.FromTo)(target));
                return;

            case 54:
                this.fromTo14 = ((HMIControl.FromTo)(target));
                return;

            case 55:
                this.fromTo15 = ((HMIControl.FromTo)(target));
                return;

            case 56:
                this.fromTo16 = ((HMIControl.FromTo)(target));
                return;

            case 57:
                this.divert4 = ((HMIControl.Divert)(target));
                return;

            case 58:
                this.hMILable1 = ((HMIControl.HMILable)(target));
                return;

            case 59:
                this.hMILable2 = ((HMIControl.HMILable)(target));
                return;

            case 60:
                this.hMILable3 = ((HMIControl.HMILable)(target));
                return;

            case 61:
                this.hMILable4 = ((HMIControl.HMILable)(target));
                return;

            case 62:
                this.hMILable5 = ((HMIControl.HMILable)(target));
                return;

            case 63:
                this.proportionValve2 = ((HMIControl.ProportionValve)(target));
                return;

            case 64:
                this.tubeLine2 = ((HMIControl.TubeLine)(target));
                return;

            case 65:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.textBlock7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.textBlock10 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.textBlock15 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.textBlock16 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.textBlock17 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.textBlock18 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.selectSwitch1 = ((HMIControl.SelectSwitch)(target));
                return;

            case 74:
                this.selectSwitch2 = ((HMIControl.SelectSwitch)(target));
                return;

            case 75:
                this.hMILable10 = ((HMIControl.HMILable)(target));
                return;

            case 76:
                this.textBlock11 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 77:
                this.hMILable12 = ((HMIControl.HMILable)(target));
                return;

            case 78:
                this.textBlock12 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 79:
                this.selectSwitch3 = ((HMIControl.SelectSwitch)(target));
                return;

            case 80:
                this.selectSwitch4 = ((HMIControl.SelectSwitch)(target));
                return;
            }
            this._contentLoaded = true;
        }