コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((rocOnboard.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.driveIPLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.driveConnectedInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 4:
     this.armIPLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.armConnectedInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 6:
     this.logisticsIPLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.logisticsConnectedInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 8:
     this.incomingInternet = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 9:
     this.driveFrontCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 10:
     this.driveBackCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 11:
     this.panTiltCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 12:
     this.engineeringIPLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.engineeringConnectedInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 14:
     this.armCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 15:
     this.wristCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 16:
     this.miscCOMIN = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 17:
     
     #line 28 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 29 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 30 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.settingsItems = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 3:
     this.speedSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 17 "..\..\ToolboxControl.xaml"
     this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.topSpeedSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.speedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.deadzoneLeft = ((Deadzone.ToolboxControl)(target));
     return;
     case 6:
     this.deadzoneRight = ((Deadzone.ToolboxControl)(target));
     return;
     case 7:
     this.stateButton = ((System.Windows.Controls.Button)(target));
     
     #line 64 "..\..\ToolboxControl.xaml"
     this.stateButton.Click += new System.Windows.RoutedEventHandler(this.stateButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.xboxControllerConnectedIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 9:
     this.liveItems = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 10:
     this.liveXboxControllerMonitor = ((liveXboxMonitorV2.ToolboxControl)(target));
     return;
     case 11:
     this.leftStickXval = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.leftStickYval = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.rightStickXval = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.rightStickYval = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((wristControlDevelopment.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.spinHand = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 3:
     this.rotAngleLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.magLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.upInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 6:
     this.leftInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 7:
     this.rightInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 8:
     this.upPercentageLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.rightPercentageLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.leftPercentageLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.upMagLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.rightMagLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.leftMagLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.maxMagSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.maxMagSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.Slider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.maxMagLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.wristInViz = ((commFeedViz.commFeedViz)(target));
     return;
     case 17:
     this.wristOutViz = ((commFeedViz.commFeedViz)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.redButton = ((System.Windows.Controls.Button)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.redButton.Click += new System.Windows.RoutedEventHandler(this.redButton_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.offButton = ((System.Windows.Controls.Button)(target));
     
     #line 8 "..\..\MainWindow.xaml"
     this.offButton.Click += new System.Windows.RoutedEventHandler(this.offButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.greenButton = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.greenButton.Click += new System.Windows.RoutedEventHandler(this.greenButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.indicatorTest = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wheelMonitor = ((WheelMonitor.ToolboxControl)(target));
     return;
     case 2:
     this.stallLabel = ((System.Windows.Controls.Label)(target));
     
     #line 8 "..\..\MainWindow.xaml"
     this.stallLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown);
     
     #line default
     #line hidden
     
     #line 8 "..\..\MainWindow.xaml"
     this.stallLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp);
     
     #line default
     #line hidden
     return;
     case 3:
     this.slipLabel = ((System.Windows.Controls.Label)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.slipLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.slipLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp);
     
     #line default
     #line hidden
     return;
     case 4:
     this.speedSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.speedSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.currentSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 11 "..\..\MainWindow.xaml"
     this.currentSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.currentSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.spinLabel = ((System.Windows.Controls.Label)(target));
     
     #line 14 "..\..\MainWindow.xaml"
     this.spinLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseDown);
     
     #line default
     #line hidden
     
     #line 14 "..\..\MainWindow.xaml"
     this.spinLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.stallLabel_MouseUp);
     
     #line default
     #line hidden
     return;
     case 7:
     this.errorMonitor = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.guiDriveButton = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\ToolboxControl.xaml"
     this.guiDriveButton.Click += new System.Windows.RoutedEventHandler(this.ButtonClicked);
     
     #line default
     #line hidden
     return;
     case 2:
     this.controllerDriveButton = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\ToolboxControl.xaml"
     this.controllerDriveButton.Click += new System.Windows.RoutedEventHandler(this.ButtonClicked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.gripperInputButton = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\ToolboxControl.xaml"
     this.gripperInputButton.Click += new System.Windows.RoutedEventHandler(this.ButtonClicked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Main_Controller_Connected_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 5:
     this.Mini_Controller_Connected_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 6:
     this.Arm_Connected_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 7:
     this.GUI_Drive_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 8:
     this.Controller_Drive_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 9:
     this.Gripper_Input_Indicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.upInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 2:
     this.leftInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 3:
     this.rightInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 4:
     this.spinHand = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.gripperPercentLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.wristAngleLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.gripperStrengthBar = ((powerBar.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pitchInclinometer = ((Pitch.ToolboxControl)(target));
     return;
     case 2:
     this.rollInclinometer = ((Roll.ToolboxControl)(target));
     return;
     case 3:
     this.rollWarningLight = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 4:
     this.pitchWarningLight = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.primaryViewBox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 2:
     this.upLeftWheelMon = ((WheelMonitor.ToolboxControl)(target));
     return;
     case 3:
     this.upRightWheelMon = ((WheelMonitor.ToolboxControl)(target));
     return;
     case 4:
     this.backRightWheelMon = ((WheelMonitor.ToolboxControl)(target));
     return;
     case 5:
     this.backLeftWheelMon = ((WheelMonitor.ToolboxControl)(target));
     return;
     case 6:
     this.pidGoalSpeed = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.actualSpeedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.stuckIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #10
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cpuWarningIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 2:
     this.cpuTempLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.cpuLoadLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.gpuWarningIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 5:
     this.gpuTempLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.gpuLoadLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.ramWarningIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 8:
     this.ramLoadLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((Arm_Terminal.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.internetOutFeed = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 3:
     this.internetInFeed = ((safeCommFeedViz.ToolboxControl)(target));
     return;
     case 4:
     this.statusView = ((Control_Status.ControlStatus)(target));
     return;
     case 5:
     this.armSideView = ((ArmSideView.ArmSide)(target));
     return;
     case 6:
     this.armTopView = ((ArmTopView.ArmTop)(target));
     return;
     case 7:
     this.wristVisualizer = ((handInfoViewer.ToolboxControl)(target));
     return;
     case 8:
     this.xboxControlMonitor = ((liveXboxMonitorV2.ToolboxControl)(target));
     return;
     case 9:
     this.netStatusInd = ((networkStatusIndicator.ToolboxControl)(target));
     return;
     case 10:
     this.inputOnlineInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 11:
     this.macros = ((newMacros.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.OculusLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.IntendedOculusInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 3:
     this.OculusToggle = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\ToolboxControl.xaml"
     this.OculusToggle.Click += new System.Windows.RoutedEventHandler(this.OculusToggle_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.OculusReset = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\ToolboxControl.xaml"
     this.OculusReset.Click += new System.Windows.RoutedEventHandler(this.OculusReset_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ReportedOculusInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 6:
     this.WorkspaceLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.IntendedWorkspaceInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 8:
     this.WorkspaceToggle = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\ToolboxControl.xaml"
     this.WorkspaceToggle.Click += new System.Windows.RoutedEventHandler(this.WorkspaceToggle_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.WorkspaceReset = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\ToolboxControl.xaml"
     this.WorkspaceReset.Click += new System.Windows.RoutedEventHandler(this.WorkspaceReset_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.ReportedWorkspaceInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 11:
     this.PalmLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.IntendedPalmInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 13:
     this.PalmToggle = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\ToolboxControl.xaml"
     this.PalmToggle.Click += new System.Windows.RoutedEventHandler(this.PalmToggle_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.PalmReset = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\ToolboxControl.xaml"
     this.PalmReset.Click += new System.Windows.RoutedEventHandler(this.PalmReset_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.ReportedPalmInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 16:
     this.HumerusLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.IntendedHumerusInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 18:
     this.HumerusToggle = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\ToolboxControl.xaml"
     this.HumerusToggle.Click += new System.Windows.RoutedEventHandler(this.HumerusToggle_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.HumerusReset = ((System.Windows.Controls.Button)(target));
     
     #line 88 "..\..\ToolboxControl.xaml"
     this.HumerusReset.Click += new System.Windows.RoutedEventHandler(this.HumerusReset_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.ReportedHumerusInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\ToolboxControl.xaml"
     ((WheelMonitor.ToolboxControl)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.primaryViewBox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 3:
     this.speed = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.current = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.tireViewBox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 7:
     this.spinningOverlay = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.stallIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 9:
     this.slipIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.connectionIndicator = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 2:
     this.connectedLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }