|
|
namespace Rs.MotionPlat
|
|
|
{
|
|
|
partial class Form1
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 必需的设计器变量。
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 清理所有正在使用的资源。
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
this.btnSevon = new System.Windows.Forms.Button();
|
|
|
this.btnPositive = new System.Windows.Forms.Button();
|
|
|
this.btnNagetive = new System.Windows.Forms.Button();
|
|
|
this.btnAlarm = new System.Windows.Forms.Button();
|
|
|
this.btnHome = new System.Windows.Forms.Button();
|
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
|
this.button5 = new System.Windows.Forms.Button();
|
|
|
this.button6 = new System.Windows.Forms.Button();
|
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
|
this.textBox5 = new System.Windows.Forms.TextBox();
|
|
|
this.switchButton1 = new Rs.Controls.SwitchButton();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
this.button1.Location = new System.Drawing.Point(34, 143);
|
|
|
this.button1.Name = "button1";
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
this.button1.TabIndex = 0;
|
|
|
this.button1.Text = "卡初始化";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
//
|
|
|
// richTextBox1
|
|
|
//
|
|
|
this.richTextBox1.Location = new System.Drawing.Point(35, 211);
|
|
|
this.richTextBox1.Name = "richTextBox1";
|
|
|
this.richTextBox1.Size = new System.Drawing.Size(791, 312);
|
|
|
this.richTextBox1.TabIndex = 1;
|
|
|
this.richTextBox1.Text = "";
|
|
|
//
|
|
|
// button2
|
|
|
//
|
|
|
this.button2.Location = new System.Drawing.Point(142, 143);
|
|
|
this.button2.Name = "button2";
|
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
this.button2.TabIndex = 2;
|
|
|
this.button2.Text = "使能轴1";
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
//
|
|
|
// button3
|
|
|
//
|
|
|
this.button3.Location = new System.Drawing.Point(241, 142);
|
|
|
this.button3.Name = "button3";
|
|
|
this.button3.Size = new System.Drawing.Size(75, 23);
|
|
|
this.button3.TabIndex = 3;
|
|
|
this.button3.Text = "button3";
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// textBox1
|
|
|
//
|
|
|
this.textBox1.Location = new System.Drawing.Point(35, 42);
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
this.textBox1.Size = new System.Drawing.Size(100, 21);
|
|
|
this.textBox1.TabIndex = 4;
|
|
|
//
|
|
|
// textBox2
|
|
|
//
|
|
|
this.textBox2.Location = new System.Drawing.Point(163, 42);
|
|
|
this.textBox2.Name = "textBox2";
|
|
|
this.textBox2.Size = new System.Drawing.Size(100, 21);
|
|
|
this.textBox2.TabIndex = 4;
|
|
|
//
|
|
|
// timer1
|
|
|
//
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
//
|
|
|
// btnSevon
|
|
|
//
|
|
|
this.btnSevon.Location = new System.Drawing.Point(35, 105);
|
|
|
this.btnSevon.Name = "btnSevon";
|
|
|
this.btnSevon.Size = new System.Drawing.Size(30, 30);
|
|
|
this.btnSevon.TabIndex = 5;
|
|
|
this.btnSevon.Text = "S";
|
|
|
this.btnSevon.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// btnPositive
|
|
|
//
|
|
|
this.btnPositive.Location = new System.Drawing.Point(79, 105);
|
|
|
this.btnPositive.Name = "btnPositive";
|
|
|
this.btnPositive.Size = new System.Drawing.Size(30, 30);
|
|
|
this.btnPositive.TabIndex = 5;
|
|
|
this.btnPositive.Text = "P";
|
|
|
this.btnPositive.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// btnNagetive
|
|
|
//
|
|
|
this.btnNagetive.Location = new System.Drawing.Point(124, 105);
|
|
|
this.btnNagetive.Name = "btnNagetive";
|
|
|
this.btnNagetive.Size = new System.Drawing.Size(30, 30);
|
|
|
this.btnNagetive.TabIndex = 5;
|
|
|
this.btnNagetive.Text = "N";
|
|
|
this.btnNagetive.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// btnAlarm
|
|
|
//
|
|
|
this.btnAlarm.Location = new System.Drawing.Point(164, 105);
|
|
|
this.btnAlarm.Name = "btnAlarm";
|
|
|
this.btnAlarm.Size = new System.Drawing.Size(30, 30);
|
|
|
this.btnAlarm.TabIndex = 5;
|
|
|
this.btnAlarm.Text = "A";
|
|
|
this.btnAlarm.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// btnHome
|
|
|
//
|
|
|
this.btnHome.Location = new System.Drawing.Point(210, 105);
|
|
|
this.btnHome.Name = "btnHome";
|
|
|
this.btnHome.Size = new System.Drawing.Size(30, 30);
|
|
|
this.btnHome.TabIndex = 5;
|
|
|
this.btnHome.Text = "H";
|
|
|
this.btnHome.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// button4
|
|
|
//
|
|
|
this.button4.Location = new System.Drawing.Point(486, 26);
|
|
|
this.button4.Name = "button4";
|
|
|
this.button4.Size = new System.Drawing.Size(105, 51);
|
|
|
this.button4.TabIndex = 6;
|
|
|
this.button4.Text = "-";
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
|
this.button4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button4_MouseDown);
|
|
|
this.button4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button4_MouseUp);
|
|
|
//
|
|
|
// button5
|
|
|
//
|
|
|
this.button5.Location = new System.Drawing.Point(687, 26);
|
|
|
this.button5.Name = "button5";
|
|
|
this.button5.Size = new System.Drawing.Size(105, 51);
|
|
|
this.button5.TabIndex = 6;
|
|
|
this.button5.Text = "+";
|
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
|
this.button5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button5_MouseDown);
|
|
|
this.button5.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button5_MouseUp);
|
|
|
//
|
|
|
// button6
|
|
|
//
|
|
|
this.button6.Location = new System.Drawing.Point(689, 142);
|
|
|
this.button6.Name = "button6";
|
|
|
this.button6.Size = new System.Drawing.Size(103, 48);
|
|
|
this.button6.TabIndex = 7;
|
|
|
this.button6.Text = "往返运动";
|
|
|
this.button6.UseVisualStyleBackColor = true;
|
|
|
this.button6.Click += new System.EventHandler(this.button6_Click);
|
|
|
//
|
|
|
// textBox3
|
|
|
//
|
|
|
this.textBox3.Location = new System.Drawing.Point(473, 169);
|
|
|
this.textBox3.Name = "textBox3";
|
|
|
this.textBox3.Size = new System.Drawing.Size(100, 21);
|
|
|
this.textBox3.TabIndex = 8;
|
|
|
this.textBox3.Text = "50";
|
|
|
this.textBox3.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox3_KeyUp);
|
|
|
this.textBox3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.textBox3_MouseUp);
|
|
|
//
|
|
|
// textBox4
|
|
|
//
|
|
|
this.textBox4.Location = new System.Drawing.Point(473, 96);
|
|
|
this.textBox4.Name = "textBox4";
|
|
|
this.textBox4.Size = new System.Drawing.Size(100, 21);
|
|
|
this.textBox4.TabIndex = 9;
|
|
|
this.textBox4.Text = "-50";
|
|
|
this.textBox4.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox4_KeyUp);
|
|
|
this.textBox4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.textBox4_MouseUp);
|
|
|
//
|
|
|
// textBox5
|
|
|
//
|
|
|
this.textBox5.Location = new System.Drawing.Point(473, 125);
|
|
|
this.textBox5.Name = "textBox5";
|
|
|
this.textBox5.Size = new System.Drawing.Size(100, 21);
|
|
|
this.textBox5.TabIndex = 9;
|
|
|
this.textBox5.Text = "-170";
|
|
|
this.textBox5.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox5_KeyUp);
|
|
|
this.textBox5.MouseUp += new System.Windows.Forms.MouseEventHandler(this.textBox5_MouseUp);
|
|
|
//
|
|
|
// switchButton1
|
|
|
//
|
|
|
this.switchButton1.Checked = false;
|
|
|
this.switchButton1.FalseColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
|
|
|
this.switchButton1.FalseTextColr = System.Drawing.Color.White;
|
|
|
this.switchButton1.Location = new System.Drawing.Point(298, 42);
|
|
|
this.switchButton1.Name = "switchButton1";
|
|
|
this.switchButton1.Size = new System.Drawing.Size(147, 46);
|
|
|
this.switchButton1.SwitchType = Rs.Controls.SwitchType.Ellipse;
|
|
|
this.switchButton1.TabIndex = 10;
|
|
|
this.switchButton1.Texts = new string[] {
|
|
|
"ManualMode",
|
|
|
"AutoMode"};
|
|
|
this.switchButton1.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
|
|
|
this.switchButton1.TrueTextColr = System.Drawing.Color.White;
|
|
|
//
|
|
|
// Form1
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(838, 526);
|
|
|
this.Controls.Add(this.switchButton1);
|
|
|
this.Controls.Add(this.textBox5);
|
|
|
this.Controls.Add(this.textBox4);
|
|
|
this.Controls.Add(this.textBox3);
|
|
|
this.Controls.Add(this.button6);
|
|
|
this.Controls.Add(this.button5);
|
|
|
this.Controls.Add(this.button4);
|
|
|
this.Controls.Add(this.btnHome);
|
|
|
this.Controls.Add(this.btnAlarm);
|
|
|
this.Controls.Add(this.btnNagetive);
|
|
|
this.Controls.Add(this.btnPositive);
|
|
|
this.Controls.Add(this.btnSevon);
|
|
|
this.Controls.Add(this.textBox2);
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
this.Controls.Add(this.button3);
|
|
|
this.Controls.Add(this.button2);
|
|
|
this.Controls.Add(this.richTextBox1);
|
|
|
this.Controls.Add(this.button1);
|
|
|
this.Name = "Form1";
|
|
|
this.Text = "Form1";
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
|
|
private System.Windows.Forms.Button button2;
|
|
|
private System.Windows.Forms.Button button3;
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
|
private System.Windows.Forms.Timer timer1;
|
|
|
private System.Windows.Forms.Button btnSevon;
|
|
|
private System.Windows.Forms.Button btnPositive;
|
|
|
private System.Windows.Forms.Button btnNagetive;
|
|
|
private System.Windows.Forms.Button btnAlarm;
|
|
|
private System.Windows.Forms.Button btnHome;
|
|
|
private System.Windows.Forms.Button button4;
|
|
|
private System.Windows.Forms.Button button5;
|
|
|
private System.Windows.Forms.Button button6;
|
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
|
private System.Windows.Forms.TextBox textBox5;
|
|
|
private Controls.SwitchButton switchButton1;
|
|
|
}
|
|
|
}
|
|
|
|