Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pump1Run = ((SPAControls.Boolean)(target));
                return;

            case 2:
                this.pump1P = ((SPAControls.DigitalText2)(target));
                return;

            case 3:
                this.pump2Run = ((SPAControls.Boolean)(target));
                return;

            case 4:
                this.pump2P = ((SPAControls.DigitalText2)(target));
                return;

            case 5:
                this.pump5Run = ((SPAControls.Boolean)(target));
                return;

            case 6:
                this.pump5P = ((SPAControls.DigitalText2)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.elemVA = ((SPAControls.Valve)(target));
                return;

            case 2:
                this.elemVB = ((SPAControls.Valve)(target));
                return;

            case 3:
                this.elemG20 = ((SPAControls.Boolean)(target));
                return;

            case 4:
                this.elemG50 = ((SPAControls.Boolean)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.elemTank1L = ((SPAControls.FourState)(target));
                return;

            case 2:
                this.elemTank1P = ((SPAControls.DigitalText)(target));
                return;

            case 3:
                this.elemTank1F = ((SPAControls.Boolean)(target));
                return;

            case 4:
                this.elemTank2L = ((SPAControls.FourState)(target));
                return;

            case 5:
                this.elemTank2P = ((SPAControls.DigitalText)(target));
                return;

            case 6:
                this.elemTank2F = ((SPAControls.Boolean)(target));
                return;

            case 7:
                this.elemTank3L = ((SPAControls.FourState)(target));
                return;

            case 8:
                this.elemTank3P = ((SPAControls.DigitalText)(target));
                return;

            case 9:
                this.elemTank3F = ((SPAControls.Boolean)(target));
                return;

            case 10:
                this.elemTank4L = ((SPAControls.FourState)(target));
                return;

            case 11:
                this.elemTank4P = ((SPAControls.DigitalText)(target));
                return;

            case 12:
                this.elemTank4F = ((SPAControls.Boolean)(target));
                return;

            case 13:
                this.elemTank5L = ((SPAControls.FourState)(target));
                return;

            case 14:
                this.elemTank5P = ((SPAControls.DigitalText)(target));
                return;

            case 15:
                this.elemTank5F = ((SPAControls.Boolean)(target));
                return;

            case 16:
                this.elemTank6L = ((SPAControls.FourState)(target));
                return;

            case 17:
                this.elemTank6P = ((SPAControls.DigitalText)(target));
                return;

            case 18:
                this.elemTank6F = ((SPAControls.Boolean)(target));
                return;

            case 19:
                this.elemTank7L = ((SPAControls.FourState)(target));
                return;

            case 20:
                this.elemTank7P = ((SPAControls.DigitalText)(target));
                return;

            case 21:
                this.elemTank7F = ((SPAControls.Boolean)(target));
                return;

            case 22:
                this.elemTank8L = ((SPAControls.FourState)(target));
                return;

            case 23:
                this.elemTank8P = ((SPAControls.DigitalText)(target));
                return;

            case 24:
                this.elemTank8F = ((SPAControls.Boolean)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.elemT1p = ((SPAControls.DigitalText2)(target));
                return;

            case 2:
                this.elemV1p = ((SPAControls.DigitalText2)(target));
                return;

            case 3:
                this.elemT2p = ((SPAControls.DigitalText2)(target));
                return;

            case 4:
                this.elemV2p = ((SPAControls.DigitalText2)(target));
                return;

            case 5:
                this.elemT1m = ((SPAControls.DigitalText2)(target));
                return;

            case 6:
                this.elemV1m = ((SPAControls.DigitalText2)(target));
                return;

            case 7:
                this.elemT2m = ((SPAControls.DigitalText2)(target));
                return;

            case 8:
                this.elemV2m = ((SPAControls.DigitalText2)(target));
                return;

            case 9:
                this.elemRun = ((SPAControls.Boolean)(target));
                return;

            case 10:
                this.elemPower = ((SPAControls.Boolean)(target));
                return;

            case 11:
                this.elemAllow = ((SPAControls.Boolean)(target));
                return;

            case 12:

            #line 47 "..\..\Pump.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AllowPump_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.elemMaterial = ((SPAControls.Boolean)(target));
                return;

            case 14:
                this.pumpLevel1 = ((SPAControls.Level3)(target));
                return;

            case 15:
                this.pumpLevel2 = ((SPAControls.Level3)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.elemT1p = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 2:
                this.elemV1p = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 3:
                this.elemT2p = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 4:
                this.elemV2p = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 5:
                this.elemT1m = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 6:
                this.elemV1m = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 7:
                this.elemT2m = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 8:
                this.elemV2m = ((SPAControls.DigitalTitleBoolean)(target));
                return;

            case 9:
                this.elemRun = ((SPAControls.Boolean)(target));
                return;

            case 10:
                this.elemPower = ((SPAControls.Boolean)(target));
                return;

            case 11:
                this.elemAllow = ((SPAControls.Boolean)(target));
                return;

            case 12:
                this.elemMaterial = ((SPAControls.Boolean)(target));
                return;

            case 13:
                this.elemLowL1 = ((SPAControls.Boolean)(target));
                return;

            case 14:
                this.elemHighL1 = ((SPAControls.Boolean)(target));
                return;

            case 15:
                this.elemLowL2 = ((SPAControls.Boolean)(target));
                return;

            case 16:
                this.elemHighL2 = ((SPAControls.Boolean)(target));
                return;
            }
            this._contentLoaded = true;
        }