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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.feedBin1 = ((HMIControl.FeedBin)(target));
                return;

            case 4:
                this.feedBin2 = ((HMIControl.FeedBin)(target));
                return;

            case 5:
                this.feedBin3 = ((HMIControl.FeedBin)(target));
                return;

            case 6:
                this.feedBin4 = ((HMIControl.FeedBin)(target));
                return;

            case 7:
                this.feedBin5 = ((HMIControl.FeedBin)(target));
                return;

            case 8:
                this.feedBin6 = ((HMIControl.FeedBin)(target));
                return;

            case 9:
                this.feedBin7 = ((HMIControl.FeedBin)(target));
                return;

            case 10:
                this.feedBin8 = ((HMIControl.FeedBin)(target));
                return;

            case 11:
                this.feedBin9 = ((HMIControl.FeedBin)(target));
                return;

            case 12:
                this.feedBin10 = ((HMIControl.FeedBin)(target));
                return;

            case 13:
                this.feedBin11 = ((HMIControl.FeedBin)(target));
                return;

            case 14:
                this.feedBin12 = ((HMIControl.FeedBin)(target));
                return;

            case 15:
                this.feedBin13 = ((HMIControl.FeedBin)(target));
                return;

            case 16:
                this.feedBin14 = ((HMIControl.FeedBin)(target));
                return;

            case 17:
                this.feedBin15 = ((HMIControl.FeedBin)(target));
                return;

            case 18:
                this.feedBin16 = ((HMIControl.FeedBin)(target));
                return;

            case 19:
                this.feedBin17 = ((HMIControl.FeedBin)(target));
                return;

            case 20:
                this.feedBin18 = ((HMIControl.FeedBin)(target));
                return;

            case 21:
                this.feedBin19 = ((HMIControl.FeedBin)(target));
                return;

            case 22:
                this.feedBin20 = ((HMIControl.FeedBin)(target));
                return;

            case 23:
                this.scale1 = ((HMIControl.Scale)(target));
                return;

            case 24:
                this.scale2 = ((HMIControl.Scale)(target));
                return;

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

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

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

            case 28:
                this.mixer1 = ((HMIControl.Mixer)(target));
                return;

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

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

            case 31:
                this.distributor1 = ((HMIControl.Distributor)(target));
                return;

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

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

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

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

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

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

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

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

            case 40:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 41:
                this.batoutgrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            case 44:
                this.liquidAdd1 = ((HMIControl.LiquidAdd)(target));
                return;

            case 45:
                this.feedBin21 = ((HMIControl.FeedBin)(target));
                return;

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

            case 47:
                this.manualAddControl1 = ((HMIControl.ManualAddControl)(target));
                return;

            case 48:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.hMIText4 = ((HMIControl.HMIText)(target));
                return;

            case 50:
                this.button8 = ((System.Windows.Controls.Button)(target));
                return;

            case 51:
                this.liquidBuf1 = ((HMIControl.LiquidBuf)(target));
                return;

            case 52:
                this.scale3 = ((HMIControl.Scale)(target));
                return;

            case 53:
                this.feedBin22 = ((HMIControl.FeedBin)(target));
                return;

            case 54:
                this.feedBin23 = ((HMIControl.FeedBin)(target));
                return;

            case 55:
                this.feedBin24 = ((HMIControl.FeedBin)(target));
                return;

            case 56:
                this.feedBin25 = ((HMIControl.FeedBin)(target));
                return;

            case 57:
                this.feedBin26 = ((HMIControl.FeedBin)(target));
                return;

            case 58:
                this.feedBin27 = ((HMIControl.FeedBin)(target));
                return;

            case 59:
                this.feedBin28 = ((HMIControl.FeedBin)(target));
                return;

            case 60:
                this.feedBin29 = ((HMIControl.FeedBin)(target));
                return;

            case 61:
                this.feedBin30 = ((HMIControl.FeedBin)(target));
                return;

            case 62:
                this.feedBin31 = ((HMIControl.FeedBin)(target));
                return;

            case 63:
                this.feedBin32 = ((HMIControl.FeedBin)(target));
                return;

            case 64:
                this.feedBin33 = ((HMIControl.FeedBin)(target));
                return;

            case 65:
                this.feedBin34 = ((HMIControl.FeedBin)(target));
                return;

            case 66:
                this.feedBin35 = ((HMIControl.FeedBin)(target));
                return;

            case 67:
                this.scale4 = ((HMIControl.Scale)(target));
                return;

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

            case 69:
                this.scale5 = ((HMIControl.Check)(target));
                return;

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

            case 71:
                this.chainConveyor2 = ((HMIControl.ChainConveyor)(target));
                return;

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

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

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

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

            case 76:
                this.buffer1 = ((HMIControl.Buffer)(target));
                return;

            case 77:
                this.buffer2 = ((HMIControl.Buffer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Batching1 = ((CoreTest.Batching_SBT)(target));

            #line 7 "..\..\..\Batching_SBT.xaml"
                this.Batching1.Loaded += new System.Windows.RoutedEventHandler(this.HMI_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\Batching_SBT.xaml"
                this.Batching1.Unloaded += new System.Windows.RoutedEventHandler(this.HMI_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.feedBin1 = ((HMIControl.FeedBin)(target));
                return;

            case 4:
                this.feedBin2 = ((HMIControl.FeedBin)(target));
                return;

            case 5:
                this.feedBin3 = ((HMIControl.FeedBin)(target));
                return;

            case 6:
                this.feedBin4 = ((HMIControl.FeedBin)(target));
                return;

            case 7:
                this.feedBin5 = ((HMIControl.FeedBin)(target));
                return;

            case 8:
                this.feedBin6 = ((HMIControl.FeedBin)(target));
                return;

            case 9:
                this.feedBin7 = ((HMIControl.FeedBin)(target));
                return;

            case 10:
                this.feedBin8 = ((HMIControl.FeedBin)(target));
                return;

            case 11:
                this.feedBin11 = ((HMIControl.FeedBin)(target));
                return;

            case 12:
                this.feedBin12 = ((HMIControl.FeedBin)(target));
                return;

            case 13:
                this.feedBin13 = ((HMIControl.FeedBin)(target));
                return;

            case 14:
                this.feedBin14 = ((HMIControl.FeedBin)(target));
                return;

            case 15:
                this.feedBin15 = ((HMIControl.FeedBin)(target));
                return;

            case 16:
                this.feedBin16 = ((HMIControl.FeedBin)(target));
                return;

            case 17:
                this.feedBin17 = ((HMIControl.FeedBin)(target));
                return;

            case 18:
                this.feedBin18 = ((HMIControl.FeedBin)(target));
                return;

            case 19:
                this.feedBin19 = ((HMIControl.FeedBin)(target));
                return;

            case 20:
                this.feedBin20 = ((HMIControl.FeedBin)(target));
                return;

            case 21:
                this.scale1 = ((HMIControl.Scale)(target));
                return;

            case 22:
                this.scale2 = ((HMIControl.Scale)(target));
                return;

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

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

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

            case 26:
                this.mixer1 = ((HMIControl.Mixer)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 36:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 37:
                this.batoutgrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            case 40:
                this.liquidAdd1 = ((HMIControl.LiquidAdd)(target));
                return;

            case 41:
                this.feedBin21 = ((HMIControl.FeedBin)(target));
                return;

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

            case 43:
                this.hMIText4 = ((HMIControl.HMIText)(target));
                return;

            case 44:
                this.liquidBuf1 = ((HMIControl.LiquidBuf)(target));
                return;

            case 45:
                this.scale3 = ((HMIControl.Scale)(target));
                return;

            case 46:
                this.feedBin22 = ((HMIControl.FeedBin)(target));
                return;

            case 47:
                this.feedBin23 = ((HMIControl.FeedBin)(target));
                return;

            case 48:
                this.feedBin24 = ((HMIControl.FeedBin)(target));
                return;

            case 49:
                this.feedBin25 = ((HMIControl.FeedBin)(target));
                return;

            case 50:
                this.feedBin26 = ((HMIControl.FeedBin)(target));
                return;

            case 51:
                this.feedBin27 = ((HMIControl.FeedBin)(target));
                return;

            case 52:
                this.feedBin28 = ((HMIControl.FeedBin)(target));
                return;

            case 53:
                this.feedBin29 = ((HMIControl.FeedBin)(target));
                return;

            case 54:
                this.feedBin30 = ((HMIControl.FeedBin)(target));
                return;

            case 55:
                this.feedBin31 = ((HMIControl.FeedBin)(target));
                return;

            case 56:
                this.feedBin32 = ((HMIControl.FeedBin)(target));
                return;

            case 57:
                this.feedBin33 = ((HMIControl.FeedBin)(target));
                return;

            case 58:
                this.feedBin34 = ((HMIControl.FeedBin)(target));
                return;

            case 59:
                this.feedBin35 = ((HMIControl.FeedBin)(target));
                return;

            case 60:
                this.scale4 = ((HMIControl.Scale)(target));
                return;

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

            case 62:
                this.scale5 = ((HMIControl.Check)(target));
                return;

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

            case 64:
                this.chainConveyor2 = ((HMIControl.ChainConveyor)(target));
                return;

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

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

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

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

            case 69:
                this.buffer1 = ((HMIControl.Buffer)(target));
                return;

            case 70:
                this.buffer2 = ((HMIControl.Buffer)(target));
                return;

            case 71:
                this.hMIButton11 = ((HMIControl.HMIButton)(target));
                return;

            case 72:
                this.hMIText1 = ((HMIControl.HMIText)(target));
                return;

            case 73:
                this.hMIText2 = ((HMIControl.HMIText)(target));
                return;

            case 74:
                this.hMIText3 = ((HMIControl.HMIText)(target));
                return;

            case 75:
                this.hMIText5 = ((HMIControl.HMIText)(target));
                return;

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

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

            case 78:
                this.hMIButton12 = ((HMIControl.HMIButton)(target));
                return;

            case 79:
                this.hMIButton1 = ((HMIControl.HMIButton)(target));
                return;

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

            case 81:
                this.feedBin36 = ((HMIControl.FeedBin)(target));
                return;

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

            case 83:
                this.alarm1 = ((HMIControl.Alarm)(target));
                return;

            case 84:
                this.hMIText6 = ((HMIControl.HMIText)(target));
                return;

            case 85:
                this.hMIText7 = ((HMIControl.HMIText)(target));
                return;

            case 86:
                this.hMIText8 = ((HMIControl.HMIText)(target));
                return;

            case 87:
                this.hMIText9 = ((HMIControl.HMIText)(target));
                return;

            case 88:
                this.hMIText10 = ((HMIControl.HMIText)(target));
                return;

            case 89:
                this.hMIText11 = ((HMIControl.HMIText)(target));
                return;

            case 90:
                this.hMIText12 = ((HMIControl.HMIText)(target));
                return;

            case 91:
                this.hMIText13 = ((HMIControl.HMIText)(target));
                return;

            case 92:
                this.hMIText14 = ((HMIControl.HMIText)(target));
                return;

            case 93:
                this.selectSwitch4 = ((HMIControl.SelectSwitch)(target));
                return;

            case 94:
                this.chainConveyor3 = ((HMIControl.ChainConveyor)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 105:
                this.magnetCleaner1 = ((HMIControl.MagnetCleaner)(target));
                return;
            }
            this._contentLoaded = true;
        }