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; }
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; }