mirror of
https://gitee.com/dashuaibran/jyker
synced 2025-09-27 03:09:12 +08:00
452 lines
17 KiB
C#
452 lines
17 KiB
C#
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5081B605B8FB759B1727DF15C058D47880AB32717238EDBB266C043BD530BD89"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using BigProject;
|
|
using Rubyer;
|
|
using Rubyer.Converters;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Automation;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Controls.Primitives;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Ink;
|
|
using System.Windows.Input;
|
|
using System.Windows.Markup;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Animation;
|
|
using System.Windows.Media.Effects;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Media.Media3D;
|
|
using System.Windows.Media.TextFormatting;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
using System.Windows.Shell;
|
|
|
|
|
|
namespace BigProject {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : Rubyer.RubyerWindow, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 16 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image ImageBig;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 18 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock ResultTextInPic;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 23 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.DataGrid dg_JointRecord;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 38 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.DataGridTextColumn AddTime;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 52 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox cb_ComList;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 56 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_Link;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 57 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_LinkAuto;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 69 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_X;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 77 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Y;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 85 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Z;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 93 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_A;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 101 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_B;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 109 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_C;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 118 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 126 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 134 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint3;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 142 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint4;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 150 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint5;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 158 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tb_Joint6;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 163 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_Home;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 166 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_StopNow;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 171 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_FK;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 174 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_IK;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 179 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_MoveJoint;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 182 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_GetCurrentAngle;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 187 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_MoveArmHand;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 190 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_AddRecord;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 195 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_MoveLoop;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 198 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_MoveLoopStop;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 203 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button bt_DeleteRecord;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 209 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox tbLog;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/BigProject;component/mainwindow.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\MainWindow.xaml"
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
|
switch (connectionId)
|
|
{
|
|
case 1:
|
|
this.ImageBig = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 2:
|
|
this.ResultTextInPic = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 3:
|
|
this.dg_JointRecord = ((System.Windows.Controls.DataGrid)(target));
|
|
return;
|
|
case 4:
|
|
this.AddTime = ((System.Windows.Controls.DataGridTextColumn)(target));
|
|
return;
|
|
case 5:
|
|
this.cb_ComList = ((System.Windows.Controls.ComboBox)(target));
|
|
return;
|
|
case 6:
|
|
this.bt_Link = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 7:
|
|
this.bt_LinkAuto = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 8:
|
|
this.tb_X = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 9:
|
|
this.tb_Y = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 10:
|
|
this.tb_Z = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 11:
|
|
this.tb_A = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 12:
|
|
this.tb_B = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 13:
|
|
this.tb_C = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 14:
|
|
this.tb_Joint1 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 15:
|
|
this.tb_Joint2 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 16:
|
|
this.tb_Joint3 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 17:
|
|
this.tb_Joint4 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 18:
|
|
this.tb_Joint5 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 19:
|
|
this.tb_Joint6 = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 20:
|
|
this.bt_Home = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 21:
|
|
this.bt_StopNow = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 22:
|
|
this.bt_FK = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 23:
|
|
this.bt_IK = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 24:
|
|
this.bt_MoveJoint = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 25:
|
|
this.bt_GetCurrentAngle = ((System.Windows.Controls.Button)(target));
|
|
return;
|
|
case 26:
|
|
this.bt_MoveArmHand = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 187 "..\..\MainWindow.xaml"
|
|
this.bt_MoveArmHand.Click += new System.Windows.RoutedEventHandler(this.bt_MoveArmHand_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 27:
|
|
this.bt_AddRecord = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 190 "..\..\MainWindow.xaml"
|
|
this.bt_AddRecord.Click += new System.Windows.RoutedEventHandler(this.bt_AddRecord_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 28:
|
|
this.bt_MoveLoop = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 195 "..\..\MainWindow.xaml"
|
|
this.bt_MoveLoop.Click += new System.Windows.RoutedEventHandler(this.bt_MoveLoop_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 29:
|
|
this.bt_MoveLoopStop = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 198 "..\..\MainWindow.xaml"
|
|
this.bt_MoveLoopStop.Click += new System.Windows.RoutedEventHandler(this.bt_MoveLoopStop_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 30:
|
|
this.bt_DeleteRecord = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 203 "..\..\MainWindow.xaml"
|
|
this.bt_DeleteRecord.Click += new System.Windows.RoutedEventHandler(this.bt_DeleteRecord_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 31:
|
|
this.tbLog = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|