| ¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace LB_SmartVision.Forms.Pages.MotionControlPage |
| | | { |
| | | partial class MotionControlForm |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// Clean up any resources being used. |
| | | /// </summary> |
| | | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows Form Designer generated code |
| | | |
| | | /// <summary> |
| | | /// Required method for Designer support - do not modify |
| | | /// the contents of this method with the code editor. |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MotionControlForm)); |
| | | uiGroupBoxMotionControl = new GroupBox(); |
| | | tableLayoutPanel3 = new TableLayoutPanel(); |
| | | tableLayoutPanel6 = new TableLayoutPanel(); |
| | | uiButtonCloseSoftGrab = new Button(); |
| | | uiButtonHardGrabWithPLC = new Button(); |
| | | tableLayoutPanel5 = new TableLayoutPanel(); |
| | | uiButtonGrabOnce = new Button(); |
| | | tableLayoutPanel4 = new TableLayoutPanel(); |
| | | labelPointSpeed = new Label(); |
| | | textBoxAngleNow = new TextBox(); |
| | | labelAngleNow = new Label(); |
| | | textBoxPositionNow = new TextBox(); |
| | | labelPositionNow = new Label(); |
| | | textBoxAngSpeed = new TextBox(); |
| | | labelAngSpeed = new Label(); |
| | | textBoxPointSpeed = new TextBox(); |
| | | tableLayoutPanel2 = new TableLayoutPanel(); |
| | | uiButtonIncreasePitchAngle = new Button(); |
| | | groupBoxPitchAnglePosition = new GroupBox(); |
| | | textBoxPitchAnglePosition = new TextBox(); |
| | | uiButtonDecreasePitchAngle = new Button(); |
| | | groupBoxZPosition = new GroupBox(); |
| | | textBoxZPosition = new TextBox(); |
| | | groupBoxYPosition = new GroupBox(); |
| | | textBoxYPosition = new TextBox(); |
| | | uiButtonIncreaseZ = new Button(); |
| | | uiButtonDecreaseZ = new Button(); |
| | | uiButtonIncreaseY = new Button(); |
| | | uiButtonDecreaseY = new Button(); |
| | | uiButtonIncreaseX = new Button(); |
| | | uiButtonDecreaseX = new Button(); |
| | | groupBoxXPosition = new GroupBox(); |
| | | textBoxXPosition = new TextBox(); |
| | | tableLayoutPanel1 = new TableLayoutPanel(); |
| | | textBox1 = new TextBox(); |
| | | uiMarkLabelSN = new Label(); |
| | | tableLayoutPanel7 = new TableLayoutPanel(); |
| | | textBox2 = new TextBox(); |
| | | uiMarkLabelName = new Label(); |
| | | uiGroupBoxImage = new GroupBox(); |
| | | uiSplitContainer1 = new SplitContainer(); |
| | | themeForm1 = new ReaLTaiizor.Forms.ThemeForm(); |
| | | controlBox1 = new ReaLTaiizor.Controls.ControlBox(); |
| | | uiGroupBoxMotionControl.SuspendLayout(); |
| | | tableLayoutPanel3.SuspendLayout(); |
| | | tableLayoutPanel6.SuspendLayout(); |
| | | tableLayoutPanel5.SuspendLayout(); |
| | | tableLayoutPanel4.SuspendLayout(); |
| | | tableLayoutPanel2.SuspendLayout(); |
| | | groupBoxPitchAnglePosition.SuspendLayout(); |
| | | groupBoxZPosition.SuspendLayout(); |
| | | groupBoxYPosition.SuspendLayout(); |
| | | groupBoxXPosition.SuspendLayout(); |
| | | tableLayoutPanel1.SuspendLayout(); |
| | | tableLayoutPanel7.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)uiSplitContainer1).BeginInit(); |
| | | uiSplitContainer1.Panel1.SuspendLayout(); |
| | | uiSplitContainer1.Panel2.SuspendLayout(); |
| | | uiSplitContainer1.SuspendLayout(); |
| | | themeForm1.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // uiGroupBoxMotionControl |
| | | // |
| | | uiGroupBoxMotionControl.Controls.Add(tableLayoutPanel3); |
| | | uiGroupBoxMotionControl.Font = new Font("å®ä½", 12F); |
| | | uiGroupBoxMotionControl.ForeColor = SystemColors.Control; |
| | | uiGroupBoxMotionControl.Location = new Point(0, 0); |
| | | uiGroupBoxMotionControl.Margin = new Padding(4, 5, 4, 5); |
| | | uiGroupBoxMotionControl.MinimumSize = new Size(1, 1); |
| | | uiGroupBoxMotionControl.Name = "uiGroupBoxMotionControl"; |
| | | uiGroupBoxMotionControl.Padding = new Padding(0, 32, 0, 0); |
| | | uiGroupBoxMotionControl.Size = new Size(374, 624); |
| | | uiGroupBoxMotionControl.TabIndex = 18; |
| | | uiGroupBoxMotionControl.TabStop = false; |
| | | uiGroupBoxMotionControl.Text = "è¿å¨æ§å¶åæ°"; |
| | | // |
| | | // tableLayoutPanel3 |
| | | // |
| | | tableLayoutPanel3.ColumnCount = 1; |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel6, 0, 3); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel5, 0, 2); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel4, 0, 5); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel2, 0, 4); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel1, 0, 0); |
| | | tableLayoutPanel3.Controls.Add(tableLayoutPanel7, 0, 1); |
| | | tableLayoutPanel3.Location = new Point(0, 55); |
| | | tableLayoutPanel3.Name = "tableLayoutPanel3"; |
| | | tableLayoutPanel3.RowCount = 6; |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel3.Size = new Size(374, 560); |
| | | tableLayoutPanel3.TabIndex = 0; |
| | | tableLayoutPanel3.Paint += tableLayoutPanel3_Paint; |
| | | // |
| | | // tableLayoutPanel6 |
| | | // |
| | | tableLayoutPanel6.ColumnCount = 2; |
| | | tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel6.Controls.Add(uiButtonCloseSoftGrab, 1, 0); |
| | | tableLayoutPanel6.Controls.Add(uiButtonHardGrabWithPLC, 0, 0); |
| | | tableLayoutPanel6.Dock = DockStyle.Fill; |
| | | tableLayoutPanel6.Location = new Point(3, 138); |
| | | tableLayoutPanel6.Name = "tableLayoutPanel6"; |
| | | tableLayoutPanel6.RowCount = 1; |
| | | tableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel6.Size = new Size(368, 39); |
| | | tableLayoutPanel6.TabIndex = 6; |
| | | // |
| | | // uiButtonCloseSoftGrab |
| | | // |
| | | uiButtonCloseSoftGrab.Anchor = AnchorStyles.None; |
| | | uiButtonCloseSoftGrab.BackColor = Color.Black; |
| | | uiButtonCloseSoftGrab.Location = new Point(225, 5); |
| | | uiButtonCloseSoftGrab.Name = "uiButtonCloseSoftGrab"; |
| | | uiButtonCloseSoftGrab.Size = new Size(102, 29); |
| | | uiButtonCloseSoftGrab.TabIndex = 2; |
| | | uiButtonCloseSoftGrab.Text = "æåéé"; |
| | | uiButtonCloseSoftGrab.UseVisualStyleBackColor = false; |
| | | // |
| | | // uiButtonHardGrabWithPLC |
| | | // |
| | | uiButtonHardGrabWithPLC.Anchor = AnchorStyles.None; |
| | | uiButtonHardGrabWithPLC.BackColor = Color.Black; |
| | | uiButtonHardGrabWithPLC.Location = new Point(41, 5); |
| | | uiButtonHardGrabWithPLC.Name = "uiButtonHardGrabWithPLC"; |
| | | uiButtonHardGrabWithPLC.Size = new Size(102, 29); |
| | | uiButtonHardGrabWithPLC.TabIndex = 1; |
| | | uiButtonHardGrabWithPLC.Text = "模æéé"; |
| | | uiButtonHardGrabWithPLC.UseVisualStyleBackColor = false; |
| | | uiButtonHardGrabWithPLC.Click += uiButtonHardGrabWithPLC_Click; |
| | | // |
| | | // tableLayoutPanel5 |
| | | // |
| | | tableLayoutPanel5.ColumnCount = 1; |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.Controls.Add(uiButtonGrabOnce, 0, 0); |
| | | tableLayoutPanel5.Dock = DockStyle.Fill; |
| | | tableLayoutPanel5.Location = new Point(3, 93); |
| | | tableLayoutPanel5.Name = "tableLayoutPanel5"; |
| | | tableLayoutPanel5.RowCount = 1; |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.Size = new Size(368, 39); |
| | | tableLayoutPanel5.TabIndex = 5; |
| | | // |
| | | // uiButtonGrabOnce |
| | | // |
| | | uiButtonGrabOnce.BackColor = Color.Black; |
| | | uiButtonGrabOnce.Dock = DockStyle.Fill; |
| | | uiButtonGrabOnce.Location = new Point(3, 3); |
| | | uiButtonGrabOnce.Name = "uiButtonGrabOnce"; |
| | | uiButtonGrabOnce.Size = new Size(362, 33); |
| | | uiButtonGrabOnce.TabIndex = 0; |
| | | uiButtonGrabOnce.Text = "åå¼ éé"; |
| | | uiButtonGrabOnce.UseVisualStyleBackColor = false; |
| | | uiButtonGrabOnce.Click += uiButtonGrabOnce_Click; |
| | | // |
| | | // tableLayoutPanel4 |
| | | // |
| | | tableLayoutPanel4.ColumnCount = 2; |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 42.81768F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 57.18232F)); |
| | | tableLayoutPanel4.Controls.Add(labelPointSpeed, 0, 0); |
| | | tableLayoutPanel4.Controls.Add(textBoxAngleNow, 1, 3); |
| | | tableLayoutPanel4.Controls.Add(labelAngleNow, 0, 3); |
| | | tableLayoutPanel4.Controls.Add(textBoxPositionNow, 1, 2); |
| | | tableLayoutPanel4.Controls.Add(labelPositionNow, 0, 2); |
| | | tableLayoutPanel4.Controls.Add(textBoxAngSpeed, 1, 1); |
| | | tableLayoutPanel4.Controls.Add(labelAngSpeed, 0, 1); |
| | | tableLayoutPanel4.Controls.Add(textBoxPointSpeed, 1, 0); |
| | | tableLayoutPanel4.Dock = DockStyle.Fill; |
| | | tableLayoutPanel4.Location = new Point(3, 373); |
| | | tableLayoutPanel4.Name = "tableLayoutPanel4"; |
| | | tableLayoutPanel4.RowCount = 4; |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel4.Size = new Size(368, 184); |
| | | tableLayoutPanel4.TabIndex = 2; |
| | | // |
| | | // labelPointSpeed |
| | | // |
| | | labelPointSpeed.AutoSize = true; |
| | | labelPointSpeed.Dock = DockStyle.Fill; |
| | | labelPointSpeed.Location = new Point(3, 5); |
| | | labelPointSpeed.Margin = new Padding(3, 5, 3, 5); |
| | | labelPointSpeed.Name = "labelPointSpeed"; |
| | | labelPointSpeed.Size = new Size(151, 35); |
| | | labelPointSpeed.TabIndex = 18; |
| | | labelPointSpeed.Text = "ç¹å¨é度(mm/s)"; |
| | | labelPointSpeed.TextAlign = ContentAlignment.MiddleLeft; |
| | | // |
| | | // textBoxAngleNow |
| | | // |
| | | textBoxAngleNow.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBoxAngleNow.Enabled = false; |
| | | textBoxAngleNow.Location = new Point(160, 146); |
| | | textBoxAngleNow.Name = "textBoxAngleNow"; |
| | | textBoxAngleNow.Size = new Size(205, 26); |
| | | textBoxAngleNow.TabIndex = 17; |
| | | textBoxAngleNow.Text = "0"; |
| | | textBoxAngleNow.TextChanged += textBoxAngleNow_TextChanged; |
| | | // |
| | | // labelAngleNow |
| | | // |
| | | labelAngleNow.AutoSize = true; |
| | | labelAngleNow.Dock = DockStyle.Fill; |
| | | labelAngleNow.Location = new Point(3, 140); |
| | | labelAngleNow.Margin = new Padding(3, 5, 3, 5); |
| | | labelAngleNow.Name = "labelAngleNow"; |
| | | labelAngleNow.Size = new Size(151, 39); |
| | | labelAngleNow.TabIndex = 16; |
| | | labelAngleNow.Text = "å½åè§åº¦(°)"; |
| | | labelAngleNow.TextAlign = ContentAlignment.MiddleLeft; |
| | | // |
| | | // textBoxPositionNow |
| | | // |
| | | textBoxPositionNow.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBoxPositionNow.Enabled = false; |
| | | textBoxPositionNow.Location = new Point(160, 99); |
| | | textBoxPositionNow.Name = "textBoxPositionNow"; |
| | | textBoxPositionNow.Size = new Size(205, 26); |
| | | textBoxPositionNow.TabIndex = 15; |
| | | textBoxPositionNow.Text = "(0,0,0)"; |
| | | textBoxPositionNow.TextChanged += textBoxPositionNow_TextChanged; |
| | | // |
| | | // labelPositionNow |
| | | // |
| | | labelPositionNow.AutoSize = true; |
| | | labelPositionNow.Dock = DockStyle.Fill; |
| | | labelPositionNow.Location = new Point(3, 95); |
| | | labelPositionNow.Margin = new Padding(3, 5, 3, 5); |
| | | labelPositionNow.Name = "labelPositionNow"; |
| | | labelPositionNow.Size = new Size(151, 35); |
| | | labelPositionNow.TabIndex = 14; |
| | | labelPositionNow.Text = "å½åç¹ä½(mm)"; |
| | | labelPositionNow.TextAlign = ContentAlignment.MiddleLeft; |
| | | // |
| | | // textBoxAngSpeed |
| | | // |
| | | textBoxAngSpeed.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBoxAngSpeed.Location = new Point(160, 54); |
| | | textBoxAngSpeed.Name = "textBoxAngSpeed"; |
| | | textBoxAngSpeed.Size = new Size(205, 26); |
| | | textBoxAngSpeed.TabIndex = 13; |
| | | textBoxAngSpeed.Text = "0"; |
| | | textBoxAngSpeed.TextChanged += textBoxAngSpeed_TextChanged; |
| | | textBoxAngSpeed.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxAngSpeed.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // labelAngSpeed |
| | | // |
| | | labelAngSpeed.AutoSize = true; |
| | | labelAngSpeed.Dock = DockStyle.Fill; |
| | | labelAngSpeed.Location = new Point(3, 50); |
| | | labelAngSpeed.Margin = new Padding(3, 5, 3, 5); |
| | | labelAngSpeed.Name = "labelAngSpeed"; |
| | | labelAngSpeed.Size = new Size(151, 35); |
| | | labelAngSpeed.TabIndex = 12; |
| | | labelAngSpeed.Text = "è§é度(rad/s)"; |
| | | labelAngSpeed.TextAlign = ContentAlignment.MiddleLeft; |
| | | // |
| | | // textBoxPointSpeed |
| | | // |
| | | textBoxPointSpeed.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBoxPointSpeed.Location = new Point(160, 9); |
| | | textBoxPointSpeed.Name = "textBoxPointSpeed"; |
| | | textBoxPointSpeed.Size = new Size(205, 26); |
| | | textBoxPointSpeed.TabIndex = 11; |
| | | textBoxPointSpeed.Text = "0"; |
| | | textBoxPointSpeed.TextChanged += textBoxPointSpeed_TextChanged; |
| | | textBoxPointSpeed.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxPointSpeed.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // tableLayoutPanel2 |
| | | // |
| | | tableLayoutPanel2.ColumnCount = 3; |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel2.Controls.Add(uiButtonIncreasePitchAngle, 2, 3); |
| | | tableLayoutPanel2.Controls.Add(groupBoxPitchAnglePosition, 1, 3); |
| | | tableLayoutPanel2.Controls.Add(uiButtonDecreasePitchAngle, 0, 3); |
| | | tableLayoutPanel2.Controls.Add(groupBoxZPosition, 1, 2); |
| | | tableLayoutPanel2.Controls.Add(groupBoxYPosition, 1, 1); |
| | | tableLayoutPanel2.Controls.Add(uiButtonIncreaseZ, 2, 2); |
| | | tableLayoutPanel2.Controls.Add(uiButtonDecreaseZ, 0, 2); |
| | | tableLayoutPanel2.Controls.Add(uiButtonIncreaseY, 2, 1); |
| | | tableLayoutPanel2.Controls.Add(uiButtonDecreaseY, 0, 1); |
| | | tableLayoutPanel2.Controls.Add(uiButtonIncreaseX, 2, 0); |
| | | tableLayoutPanel2.Controls.Add(uiButtonDecreaseX, 0, 0); |
| | | tableLayoutPanel2.Controls.Add(groupBoxXPosition, 1, 0); |
| | | tableLayoutPanel2.Dock = DockStyle.Fill; |
| | | tableLayoutPanel2.Location = new Point(3, 183); |
| | | tableLayoutPanel2.Name = "tableLayoutPanel2"; |
| | | tableLayoutPanel2.RowCount = 1; |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel2.Size = new Size(368, 184); |
| | | tableLayoutPanel2.TabIndex = 3; |
| | | // |
| | | // uiButtonIncreasePitchAngle |
| | | // |
| | | uiButtonIncreasePitchAngle.BackColor = Color.Black; |
| | | uiButtonIncreasePitchAngle.Dock = DockStyle.Left; |
| | | uiButtonIncreasePitchAngle.Location = new Point(298, 140); |
| | | uiButtonIncreasePitchAngle.Margin = new Padding(5); |
| | | uiButtonIncreasePitchAngle.Name = "uiButtonIncreasePitchAngle"; |
| | | uiButtonIncreasePitchAngle.Size = new Size(32, 39); |
| | | uiButtonIncreasePitchAngle.TabIndex = 27; |
| | | uiButtonIncreasePitchAngle.Text = "+"; |
| | | uiButtonIncreasePitchAngle.UseVisualStyleBackColor = false; |
| | | uiButtonIncreasePitchAngle.Click += uiButtonIncreasePitchAngle_Click; |
| | | // |
| | | // groupBoxPitchAnglePosition |
| | | // |
| | | groupBoxPitchAnglePosition.Controls.Add(textBoxPitchAnglePosition); |
| | | groupBoxPitchAnglePosition.Font = new Font("å®ä½", 8F); |
| | | groupBoxPitchAnglePosition.ForeColor = Color.White; |
| | | groupBoxPitchAnglePosition.Location = new Point(123, 138); |
| | | groupBoxPitchAnglePosition.Margin = new Padding(50, 3, 3, 3); |
| | | groupBoxPitchAnglePosition.Name = "groupBoxPitchAnglePosition"; |
| | | groupBoxPitchAnglePosition.Size = new Size(115, 39); |
| | | groupBoxPitchAnglePosition.TabIndex = 26; |
| | | groupBoxPitchAnglePosition.TabStop = false; |
| | | groupBoxPitchAnglePosition.Text = "俯仰è§(°)"; |
| | | // |
| | | // textBoxPitchAnglePosition |
| | | // |
| | | textBoxPitchAnglePosition.Dock = DockStyle.Bottom; |
| | | textBoxPitchAnglePosition.Font = new Font("å®ä½", 10F); |
| | | textBoxPitchAnglePosition.Location = new Point(3, 16); |
| | | textBoxPitchAnglePosition.Multiline = true; |
| | | textBoxPitchAnglePosition.Name = "textBoxPitchAnglePosition"; |
| | | textBoxPitchAnglePosition.Size = new Size(109, 20); |
| | | textBoxPitchAnglePosition.TabIndex = 13; |
| | | textBoxPitchAnglePosition.Text = "1"; |
| | | textBoxPitchAnglePosition.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxPitchAnglePosition.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // uiButtonDecreasePitchAngle |
| | | // |
| | | uiButtonDecreasePitchAngle.BackColor = Color.Black; |
| | | uiButtonDecreasePitchAngle.Dock = DockStyle.Right; |
| | | uiButtonDecreasePitchAngle.Location = new Point(37, 140); |
| | | uiButtonDecreasePitchAngle.Margin = new Padding(5); |
| | | uiButtonDecreasePitchAngle.Name = "uiButtonDecreasePitchAngle"; |
| | | uiButtonDecreasePitchAngle.Size = new Size(31, 39); |
| | | uiButtonDecreasePitchAngle.TabIndex = 25; |
| | | uiButtonDecreasePitchAngle.Text = "-"; |
| | | uiButtonDecreasePitchAngle.UseVisualStyleBackColor = false; |
| | | uiButtonDecreasePitchAngle.Click += uiButtonDecreasePitchAngle_Click; |
| | | // |
| | | // groupBoxZPosition |
| | | // |
| | | groupBoxZPosition.Controls.Add(textBoxZPosition); |
| | | groupBoxZPosition.Font = new Font("å®ä½", 8F); |
| | | groupBoxZPosition.ForeColor = Color.White; |
| | | groupBoxZPosition.Location = new Point(123, 93); |
| | | groupBoxZPosition.Margin = new Padding(50, 3, 3, 3); |
| | | groupBoxZPosition.Name = "groupBoxZPosition"; |
| | | groupBoxZPosition.Size = new Size(115, 39); |
| | | groupBoxZPosition.TabIndex = 24; |
| | | groupBoxZPosition.TabStop = false; |
| | | groupBoxZPosition.Text = "Z(mm)"; |
| | | // |
| | | // textBoxZPosition |
| | | // |
| | | textBoxZPosition.Dock = DockStyle.Bottom; |
| | | textBoxZPosition.Font = new Font("å®ä½", 10F); |
| | | textBoxZPosition.Location = new Point(3, 16); |
| | | textBoxZPosition.Multiline = true; |
| | | textBoxZPosition.Name = "textBoxZPosition"; |
| | | textBoxZPosition.Size = new Size(109, 20); |
| | | textBoxZPosition.TabIndex = 13; |
| | | textBoxZPosition.Text = "1"; |
| | | textBoxZPosition.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxZPosition.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // groupBoxYPosition |
| | | // |
| | | groupBoxYPosition.Controls.Add(textBoxYPosition); |
| | | groupBoxYPosition.Font = new Font("å®ä½", 8F); |
| | | groupBoxYPosition.ForeColor = Color.White; |
| | | groupBoxYPosition.Location = new Point(123, 48); |
| | | groupBoxYPosition.Margin = new Padding(50, 3, 3, 3); |
| | | groupBoxYPosition.Name = "groupBoxYPosition"; |
| | | groupBoxYPosition.Size = new Size(115, 39); |
| | | groupBoxYPosition.TabIndex = 23; |
| | | groupBoxYPosition.TabStop = false; |
| | | groupBoxYPosition.Text = "Y(mm)"; |
| | | // |
| | | // textBoxYPosition |
| | | // |
| | | textBoxYPosition.Dock = DockStyle.Bottom; |
| | | textBoxYPosition.Font = new Font("å®ä½", 10F); |
| | | textBoxYPosition.Location = new Point(3, 16); |
| | | textBoxYPosition.Multiline = true; |
| | | textBoxYPosition.Name = "textBoxYPosition"; |
| | | textBoxYPosition.Size = new Size(109, 20); |
| | | textBoxYPosition.TabIndex = 13; |
| | | textBoxYPosition.Text = "1"; |
| | | textBoxYPosition.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxYPosition.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // uiButtonIncreaseZ |
| | | // |
| | | uiButtonIncreaseZ.BackColor = Color.Black; |
| | | uiButtonIncreaseZ.Dock = DockStyle.Left; |
| | | uiButtonIncreaseZ.Location = new Point(298, 95); |
| | | uiButtonIncreaseZ.Margin = new Padding(5); |
| | | uiButtonIncreaseZ.Name = "uiButtonIncreaseZ"; |
| | | uiButtonIncreaseZ.Size = new Size(32, 35); |
| | | uiButtonIncreaseZ.TabIndex = 19; |
| | | uiButtonIncreaseZ.Text = "+"; |
| | | uiButtonIncreaseZ.UseVisualStyleBackColor = false; |
| | | uiButtonIncreaseZ.Click += uiButtonIncreaseZ_Click; |
| | | // |
| | | // uiButtonDecreaseZ |
| | | // |
| | | uiButtonDecreaseZ.BackColor = Color.Black; |
| | | uiButtonDecreaseZ.Dock = DockStyle.Right; |
| | | uiButtonDecreaseZ.Location = new Point(37, 95); |
| | | uiButtonDecreaseZ.Margin = new Padding(5); |
| | | uiButtonDecreaseZ.Name = "uiButtonDecreaseZ"; |
| | | uiButtonDecreaseZ.Size = new Size(31, 35); |
| | | uiButtonDecreaseZ.TabIndex = 17; |
| | | uiButtonDecreaseZ.Text = "-"; |
| | | uiButtonDecreaseZ.UseVisualStyleBackColor = false; |
| | | uiButtonDecreaseZ.Click += uiButtonDecreaseZ_Click; |
| | | // |
| | | // uiButtonIncreaseY |
| | | // |
| | | uiButtonIncreaseY.BackColor = Color.Black; |
| | | uiButtonIncreaseY.Dock = DockStyle.Left; |
| | | uiButtonIncreaseY.Location = new Point(298, 50); |
| | | uiButtonIncreaseY.Margin = new Padding(5); |
| | | uiButtonIncreaseY.Name = "uiButtonIncreaseY"; |
| | | uiButtonIncreaseY.Size = new Size(32, 35); |
| | | uiButtonIncreaseY.TabIndex = 16; |
| | | uiButtonIncreaseY.Text = "+"; |
| | | uiButtonIncreaseY.UseVisualStyleBackColor = false; |
| | | uiButtonIncreaseY.Click += uiButtonIncreaseY_Click; |
| | | // |
| | | // uiButtonDecreaseY |
| | | // |
| | | uiButtonDecreaseY.BackColor = Color.Black; |
| | | uiButtonDecreaseY.Dock = DockStyle.Right; |
| | | uiButtonDecreaseY.Location = new Point(37, 50); |
| | | uiButtonDecreaseY.Margin = new Padding(5); |
| | | uiButtonDecreaseY.Name = "uiButtonDecreaseY"; |
| | | uiButtonDecreaseY.Size = new Size(31, 35); |
| | | uiButtonDecreaseY.TabIndex = 14; |
| | | uiButtonDecreaseY.Text = "-"; |
| | | uiButtonDecreaseY.UseVisualStyleBackColor = false; |
| | | uiButtonDecreaseY.Click += uiButtonDecreaseY_Click; |
| | | // |
| | | // uiButtonIncreaseX |
| | | // |
| | | uiButtonIncreaseX.BackColor = Color.Black; |
| | | uiButtonIncreaseX.Dock = DockStyle.Left; |
| | | uiButtonIncreaseX.Location = new Point(298, 5); |
| | | uiButtonIncreaseX.Margin = new Padding(5); |
| | | uiButtonIncreaseX.Name = "uiButtonIncreaseX"; |
| | | uiButtonIncreaseX.Size = new Size(32, 35); |
| | | uiButtonIncreaseX.TabIndex = 10; |
| | | uiButtonIncreaseX.Text = "+"; |
| | | uiButtonIncreaseX.UseVisualStyleBackColor = false; |
| | | uiButtonIncreaseX.Click += uiButtonIncreaseX_Click; |
| | | // |
| | | // uiButtonDecreaseX |
| | | // |
| | | uiButtonDecreaseX.BackColor = Color.Black; |
| | | uiButtonDecreaseX.Dock = DockStyle.Right; |
| | | uiButtonDecreaseX.Location = new Point(37, 5); |
| | | uiButtonDecreaseX.Margin = new Padding(5); |
| | | uiButtonDecreaseX.Name = "uiButtonDecreaseX"; |
| | | uiButtonDecreaseX.Size = new Size(31, 35); |
| | | uiButtonDecreaseX.TabIndex = 8; |
| | | uiButtonDecreaseX.Text = "-"; |
| | | uiButtonDecreaseX.UseVisualStyleBackColor = false; |
| | | uiButtonDecreaseX.Click += uiButtonDecreaseX_Click; |
| | | // |
| | | // groupBoxXPosition |
| | | // |
| | | groupBoxXPosition.Controls.Add(textBoxXPosition); |
| | | groupBoxXPosition.Font = new Font("å®ä½", 8F); |
| | | groupBoxXPosition.ForeColor = Color.White; |
| | | groupBoxXPosition.Location = new Point(123, 3); |
| | | groupBoxXPosition.Margin = new Padding(50, 3, 3, 3); |
| | | groupBoxXPosition.Name = "groupBoxXPosition"; |
| | | groupBoxXPosition.Size = new Size(115, 39); |
| | | groupBoxXPosition.TabIndex = 21; |
| | | groupBoxXPosition.TabStop = false; |
| | | groupBoxXPosition.Text = "X(mm)"; |
| | | // |
| | | // textBoxXPosition |
| | | // |
| | | textBoxXPosition.Dock = DockStyle.Bottom; |
| | | textBoxXPosition.Font = new Font("å®ä½", 10F); |
| | | textBoxXPosition.Location = new Point(3, 16); |
| | | textBoxXPosition.Multiline = true; |
| | | textBoxXPosition.Name = "textBoxXPosition"; |
| | | textBoxXPosition.Size = new Size(109, 20); |
| | | textBoxXPosition.TabIndex = 12; |
| | | textBoxXPosition.Text = "1"; |
| | | textBoxXPosition.KeyDown += textBoxXPosition_KeyDown; |
| | | textBoxXPosition.KeyPress += textBoxXPosition_KeyPress; |
| | | // |
| | | // tableLayoutPanel1 |
| | | // |
| | | tableLayoutPanel1.ColumnCount = 2; |
| | | tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 75F)); |
| | | tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Controls.Add(textBox1, 1, 0); |
| | | tableLayoutPanel1.Controls.Add(uiMarkLabelSN, 0, 0); |
| | | tableLayoutPanel1.Dock = DockStyle.Fill; |
| | | tableLayoutPanel1.Location = new Point(3, 3); |
| | | tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | tableLayoutPanel1.RowCount = 1; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Size = new Size(368, 39); |
| | | tableLayoutPanel1.TabIndex = 4; |
| | | // |
| | | // textBox1 |
| | | // |
| | | textBox1.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBox1.Enabled = false; |
| | | textBox1.Location = new Point(78, 6); |
| | | textBox1.Name = "textBox1"; |
| | | textBox1.Size = new Size(287, 26); |
| | | textBox1.TabIndex = 20; |
| | | // |
| | | // uiMarkLabelSN |
| | | // |
| | | uiMarkLabelSN.AutoSize = true; |
| | | uiMarkLabelSN.Dock = DockStyle.Fill; |
| | | uiMarkLabelSN.Location = new Point(3, 5); |
| | | uiMarkLabelSN.Margin = new Padding(3, 5, 3, 5); |
| | | uiMarkLabelSN.Name = "uiMarkLabelSN"; |
| | | uiMarkLabelSN.Size = new Size(69, 29); |
| | | uiMarkLabelSN.TabIndex = 19; |
| | | uiMarkLabelSN.Text = "SN"; |
| | | uiMarkLabelSN.TextAlign = ContentAlignment.MiddleLeft; |
| | | // |
| | | // tableLayoutPanel7 |
| | | // |
| | | tableLayoutPanel7.ColumnCount = 2; |
| | | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 75F)); |
| | | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel7.Controls.Add(textBox2, 1, 0); |
| | | tableLayoutPanel7.Controls.Add(uiMarkLabelName, 0, 0); |
| | | tableLayoutPanel7.Dock = DockStyle.Fill; |
| | | tableLayoutPanel7.Location = new Point(3, 48); |
| | | tableLayoutPanel7.Name = "tableLayoutPanel7"; |
| | | tableLayoutPanel7.RowCount = 1; |
| | | tableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel7.Size = new Size(368, 39); |
| | | tableLayoutPanel7.TabIndex = 7; |
| | | // |
| | | // textBox2 |
| | | // |
| | | textBox2.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
| | | textBox2.Enabled = false; |
| | | textBox2.Location = new Point(78, 6); |
| | | textBox2.Name = "textBox2"; |
| | | textBox2.Size = new Size(287, 26); |
| | | textBox2.TabIndex = 21; |
| | | // |
| | | // uiMarkLabelName |
| | | // |
| | | uiMarkLabelName.Anchor = AnchorStyles.None; |
| | | uiMarkLabelName.Location = new Point(3, 5); |
| | | uiMarkLabelName.Margin = new Padding(3, 5, 3, 5); |
| | | uiMarkLabelName.Name = "uiMarkLabelName"; |
| | | uiMarkLabelName.Size = new Size(69, 29); |
| | | uiMarkLabelName.TabIndex = 20; |
| | | uiMarkLabelName.Text = "åç§°"; |
| | | uiMarkLabelName.TextAlign = ContentAlignment.MiddleLeft; |
| | | uiMarkLabelName.Click += label1_Click; |
| | | // |
| | | // uiGroupBoxImage |
| | | // |
| | | uiGroupBoxImage.Dock = DockStyle.Fill; |
| | | uiGroupBoxImage.Font = new Font("å®ä½", 12F); |
| | | uiGroupBoxImage.ForeColor = SystemColors.Control; |
| | | uiGroupBoxImage.Location = new Point(0, 0); |
| | | uiGroupBoxImage.Margin = new Padding(4, 5, 4, 5); |
| | | uiGroupBoxImage.MinimumSize = new Size(1, 1); |
| | | uiGroupBoxImage.Name = "uiGroupBoxImage"; |
| | | uiGroupBoxImage.Padding = new Padding(0, 32, 0, 0); |
| | | uiGroupBoxImage.Size = new Size(495, 684); |
| | | uiGroupBoxImage.TabIndex = 17; |
| | | uiGroupBoxImage.TabStop = false; |
| | | uiGroupBoxImage.Text = "宿¶éé"; |
| | | // |
| | | // uiSplitContainer1 |
| | | // |
| | | uiSplitContainer1.Dock = DockStyle.Fill; |
| | | uiSplitContainer1.ForeColor = SystemColors.Control; |
| | | uiSplitContainer1.Location = new Point(10, 70); |
| | | uiSplitContainer1.MinimumSize = new Size(20, 20); |
| | | uiSplitContainer1.Name = "uiSplitContainer1"; |
| | | // |
| | | // uiSplitContainer1.Panel1 |
| | | // |
| | | uiSplitContainer1.Panel1.Controls.Add(uiGroupBoxMotionControl); |
| | | uiSplitContainer1.Panel1.Paint += uiSplitContainer1_Panel1_Paint; |
| | | // |
| | | // uiSplitContainer1.Panel2 |
| | | // |
| | | uiSplitContainer1.Panel2.Controls.Add(uiGroupBoxImage); |
| | | uiSplitContainer1.Size = new Size(880, 684); |
| | | uiSplitContainer1.SplitterDistance = 374; |
| | | uiSplitContainer1.SplitterWidth = 11; |
| | | uiSplitContainer1.TabIndex = 20; |
| | | // |
| | | // themeForm1 |
| | | // |
| | | themeForm1.BackColor = Color.FromArgb(32, 41, 50); |
| | | themeForm1.Controls.Add(controlBox1); |
| | | themeForm1.Controls.Add(uiSplitContainer1); |
| | | themeForm1.Dock = DockStyle.Fill; |
| | | themeForm1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); |
| | | themeForm1.Image = (Image)resources.GetObject("themeForm1.Image"); |
| | | themeForm1.Location = new Point(0, 0); |
| | | themeForm1.Name = "themeForm1"; |
| | | themeForm1.Padding = new Padding(10, 70, 10, 9); |
| | | themeForm1.RoundCorners = true; |
| | | themeForm1.Sizable = true; |
| | | themeForm1.Size = new Size(900, 763); |
| | | themeForm1.SmartBounds = true; |
| | | themeForm1.StartPosition = FormStartPosition.WindowsDefaultLocation; |
| | | themeForm1.TabIndex = 21; |
| | | themeForm1.Text = "è¿å¨æ§å¶è®¾ç½®"; |
| | | // |
| | | // controlBox1 |
| | | // |
| | | controlBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right; |
| | | controlBox1.BackColor = Color.FromArgb(32, 34, 37); |
| | | controlBox1.CloseHoverColor = Color.FromArgb(230, 17, 35); |
| | | controlBox1.DefaultLocation = true; |
| | | controlBox1.EnableHoverHighlight = true; |
| | | controlBox1.EnableMaximizeButton = true; |
| | | controlBox1.EnableMinimizeButton = true; |
| | | controlBox1.ForeColor = Color.FromArgb(155, 155, 155); |
| | | controlBox1.Location = new Point(800, 18); |
| | | controlBox1.MaximizeHoverColor = Color.FromArgb(74, 74, 74); |
| | | controlBox1.MinimizeHoverColor = Color.FromArgb(63, 63, 65); |
| | | controlBox1.Name = "controlBox1"; |
| | | controlBox1.Size = new Size(90, 25); |
| | | controlBox1.TabIndex = 21; |
| | | controlBox1.Text = "controlBox1"; |
| | | // |
| | | // MotionControlForm |
| | | // |
| | | AutoScaleMode = AutoScaleMode.None; |
| | | AutoSize = true; |
| | | ClientSize = new Size(900, 763); |
| | | Controls.Add(themeForm1); |
| | | FormBorderStyle = FormBorderStyle.None; |
| | | MinimumSize = new Size(261, 61); |
| | | Name = "MotionControlForm"; |
| | | Text = "è¿å¨æ§å¶è®¾ç½®"; |
| | | TransparencyKey = Color.Fuchsia; |
| | | uiGroupBoxMotionControl.ResumeLayout(false); |
| | | tableLayoutPanel3.ResumeLayout(false); |
| | | tableLayoutPanel6.ResumeLayout(false); |
| | | tableLayoutPanel5.ResumeLayout(false); |
| | | tableLayoutPanel4.ResumeLayout(false); |
| | | tableLayoutPanel4.PerformLayout(); |
| | | tableLayoutPanel2.ResumeLayout(false); |
| | | groupBoxPitchAnglePosition.ResumeLayout(false); |
| | | groupBoxPitchAnglePosition.PerformLayout(); |
| | | groupBoxZPosition.ResumeLayout(false); |
| | | groupBoxZPosition.PerformLayout(); |
| | | groupBoxYPosition.ResumeLayout(false); |
| | | groupBoxYPosition.PerformLayout(); |
| | | groupBoxXPosition.ResumeLayout(false); |
| | | groupBoxXPosition.PerformLayout(); |
| | | tableLayoutPanel1.ResumeLayout(false); |
| | | tableLayoutPanel1.PerformLayout(); |
| | | tableLayoutPanel7.ResumeLayout(false); |
| | | tableLayoutPanel7.PerformLayout(); |
| | | uiSplitContainer1.Panel1.ResumeLayout(false); |
| | | uiSplitContainer1.Panel2.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)uiSplitContainer1).EndInit(); |
| | | uiSplitContainer1.ResumeLayout(false); |
| | | themeForm1.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | private GroupBox uiGroupBoxImage; |
| | | private GroupBox uiGroupBoxMotionControl; |
| | | private SplitContainer uiSplitContainer1; |
| | | private TableLayoutPanel tableLayoutPanel7; |
| | | private Label uiMarkLabel5; |
| | | private TextBox uiTextBoxPitchAngle; |
| | | |
| | | private ReaLTaiizor.Forms.ThemeForm themeForm1; |
| | | private ReaLTaiizor.Controls.ControlBox controlBox1; |
| | | private TableLayoutPanel tableLayoutPanel3; |
| | | private TableLayoutPanel tableLayoutPanel2; |
| | | private Button uiButtonIncreasePitchAngle; |
| | | private GroupBox groupBoxPitchAnglePosition; |
| | | private TextBox textBoxPitchAnglePosition; |
| | | private Button uiButtonDecreasePitchAngle; |
| | | private GroupBox groupBoxZPosition; |
| | | private TextBox textBoxZPosition; |
| | | private GroupBox groupBoxYPosition; |
| | | private TextBox textBoxYPosition; |
| | | private Button uiButtonIncreaseZ; |
| | | private Button uiButtonDecreaseZ; |
| | | private Button uiButtonIncreaseY; |
| | | private Button uiButtonDecreaseY; |
| | | private Button uiButtonIncreaseX; |
| | | private Button uiButtonDecreaseX; |
| | | private GroupBox groupBoxXPosition; |
| | | private TextBox textBoxXPosition; |
| | | private TableLayoutPanel tableLayoutPanel4; |
| | | private Label labelPointSpeed; |
| | | private TextBox textBoxAngleNow; |
| | | private Label labelAngleNow; |
| | | private TextBox textBoxPositionNow; |
| | | private Label labelPositionNow; |
| | | private TextBox textBoxAngSpeed; |
| | | private Label labelAngSpeed; |
| | | private TextBox textBoxPointSpeed; |
| | | private TableLayoutPanel tableLayoutPanel6; |
| | | private Button uiButtonHardGrabWithPLC; |
| | | private TableLayoutPanel tableLayoutPanel5; |
| | | private Button uiButtonGrabOnce; |
| | | private TableLayoutPanel tableLayoutPanel1; |
| | | private TextBox textBox1; |
| | | private Label uiMarkLabelSN; |
| | | private Button uiButtonCloseSoftGrab; |
| | | private Label uiMarkLabelName; |
| | | private TextBox textBox2; |
| | | } |
| | | } |