From 42424a819db96fe93dbbe0d10de059477a9c4793 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期一, 06 七月 2020 09:57:07 +0800 Subject: [PATCH] 板卡 操作界面 --- src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.Designer.cs | 214 +++++++++++++++++++++-------------------------------- 1 files changed, 85 insertions(+), 129 deletions(-) diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.Designer.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.Designer.cs index 99ab3ff..bd4de03 100644 --- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.Designer.cs +++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.Designer.cs @@ -30,13 +30,10 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CtrlMotionCardOperationBase)); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.groupBoxPara = new System.Windows.Forms.GroupBox(); - this.propGrid = new System.Windows.Forms.PropertyGrid(); - this.groupBoxMoveModel = new System.Windows.Forms.GroupBox(); - this.radioGoHome = new System.Windows.Forms.RadioButton(); - this.radioJog = new System.Windows.Forms.RadioButton(); - this.radioP2P = new System.Windows.Forms.RadioButton(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.groupBoxCommBtn = new System.Windows.Forms.GroupBox(); this.btnStart = new System.Windows.Forms.Button(); this.buttonClearStatus = new System.Windows.Forms.Button(); @@ -44,114 +41,75 @@ this.buttonServoEnable = new System.Windows.Forms.Button(); this.buttonSmoothStop = new System.Windows.Forms.Button(); this.buttonPositionReset = new System.Windows.Forms.Button(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.groupBoxPara = new System.Windows.Forms.GroupBox(); + this.propGrid = new System.Windows.Forms.PropertyGrid(); this.tableLayoutPanel1.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.groupBoxPara.SuspendLayout(); - this.groupBoxMoveModel.SuspendLayout(); + this.tabControl1.SuspendLayout(); + this.tabPage2.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); this.groupBoxCommBtn.SuspendLayout(); + this.groupBoxPara.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // - this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F)); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.tabControl1, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(982, 720); + this.tableLayoutPanel1.Size = new System.Drawing.Size(500, 720); this.tableLayoutPanel1.TabIndex = 0; // - // tableLayoutPanel2 + // tabControl1 // - this.tableLayoutPanel2.ColumnCount = 1; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.Controls.Add(this.groupBoxPara, 0, 2); - this.tableLayoutPanel2.Controls.Add(this.groupBoxMoveModel, 0, 1); - this.tableLayoutPanel2.Controls.Add(this.groupBoxCommBtn, 0, 0); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 3; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(386, 714); - this.tableLayoutPanel2.TabIndex = 0; + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Location = new System.Drawing.Point(3, 3); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(494, 714); + this.tabControl1.TabIndex = 12; // - // groupBoxPara + // tabPage1 // - this.groupBoxPara.Controls.Add(this.propGrid); - this.groupBoxPara.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBoxPara.Location = new System.Drawing.Point(3, 153); - this.groupBoxPara.Name = "groupBoxPara"; - this.groupBoxPara.Size = new System.Drawing.Size(380, 558); - this.groupBoxPara.TabIndex = 6; - this.groupBoxPara.TabStop = false; - this.groupBoxPara.Text = "鍙傛暟"; + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(486, 688); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "蹇嵎鎿嶄綔"; + this.tabPage1.UseVisualStyleBackColor = true; // - // propGrid + // tabPage2 // - this.propGrid.Dock = System.Windows.Forms.DockStyle.Fill; - this.propGrid.Location = new System.Drawing.Point(3, 17); - this.propGrid.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); - this.propGrid.Name = "propGrid"; - this.propGrid.Size = new System.Drawing.Size(374, 538); - this.propGrid.TabIndex = 1; + this.tabPage2.Controls.Add(this.tableLayoutPanel3); + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(486, 688); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "閫氱敤鎿嶄綔"; + this.tabPage2.UseVisualStyleBackColor = true; // - // groupBoxMoveModel + // tableLayoutPanel3 // - this.groupBoxMoveModel.Controls.Add(this.radioGoHome); - this.groupBoxMoveModel.Controls.Add(this.radioJog); - this.groupBoxMoveModel.Controls.Add(this.radioP2P); - this.groupBoxMoveModel.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBoxMoveModel.Location = new System.Drawing.Point(3, 103); - this.groupBoxMoveModel.Name = "groupBoxMoveModel"; - this.groupBoxMoveModel.Size = new System.Drawing.Size(380, 44); - this.groupBoxMoveModel.TabIndex = 5; - this.groupBoxMoveModel.TabStop = false; - this.groupBoxMoveModel.Text = "杩愬姩绫诲瀷"; - // - // radioGoHome - // - this.radioGoHome.AutoSize = true; - this.radioGoHome.Location = new System.Drawing.Point(156, 22); - this.radioGoHome.Name = "radioGoHome"; - this.radioGoHome.Size = new System.Drawing.Size(59, 16); - this.radioGoHome.TabIndex = 5; - this.radioGoHome.TabStop = true; - this.radioGoHome.Text = "GoHome"; - this.radioGoHome.UseVisualStyleBackColor = true; - // - // radioJog - // - this.radioJog.AutoSize = true; - this.radioJog.Location = new System.Drawing.Point(82, 22); - this.radioJog.Name = "radioJog"; - this.radioJog.Size = new System.Drawing.Size(41, 16); - this.radioJog.TabIndex = 5; - this.radioJog.TabStop = true; - this.radioJog.Text = "Jog"; - this.radioJog.UseVisualStyleBackColor = true; - // - // radioP2P - // - this.radioP2P.AutoSize = true; - this.radioP2P.Checked = true; - this.radioP2P.Location = new System.Drawing.Point(9, 22); - this.radioP2P.Name = "radioP2P"; - this.radioP2P.Size = new System.Drawing.Size(41, 16); - this.radioP2P.TabIndex = 5; - this.radioP2P.TabStop = true; - this.radioP2P.Text = "P2P"; - this.radioP2P.UseVisualStyleBackColor = true; - this.radioP2P.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged); + this.tableLayoutPanel3.ColumnCount = 1; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Controls.Add(this.groupBoxPara, 0, 1); + this.tableLayoutPanel3.Controls.Add(this.groupBoxCommBtn, 0, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 2; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 120F)); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(480, 682); + this.tableLayoutPanel3.TabIndex = 0; // // groupBoxCommBtn // @@ -164,8 +122,8 @@ this.groupBoxCommBtn.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBoxCommBtn.Location = new System.Drawing.Point(3, 3); this.groupBoxCommBtn.Name = "groupBoxCommBtn"; - this.groupBoxCommBtn.Size = new System.Drawing.Size(380, 94); - this.groupBoxCommBtn.TabIndex = 0; + this.groupBoxCommBtn.Size = new System.Drawing.Size(474, 114); + this.groupBoxCommBtn.TabIndex = 1; this.groupBoxCommBtn.TabStop = false; this.groupBoxCommBtn.Text = "鍏叡鎿嶄綔"; // @@ -178,14 +136,13 @@ this.btnStart.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnStart.Image = ((System.Drawing.Image)(resources.GetObject("btnStart.Image"))); this.btnStart.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btnStart.Location = new System.Drawing.Point(248, 23); + this.btnStart.Location = new System.Drawing.Point(309, 23); this.btnStart.Name = "btnStart"; - this.btnStart.Size = new System.Drawing.Size(126, 54); + this.btnStart.Size = new System.Drawing.Size(159, 54); this.btnStart.TabIndex = 5; this.btnStart.Text = " 鍚� 鍔�"; this.btnStart.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnStart.UseVisualStyleBackColor = true; - this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // buttonClearStatus // @@ -195,7 +152,6 @@ this.buttonClearStatus.TabIndex = 4; this.buttonClearStatus.Text = "娓呴櫎鐘舵��"; this.buttonClearStatus.UseVisualStyleBackColor = true; - this.buttonClearStatus.Click += new System.EventHandler(this.buttonClearStatus_Click); // // buttonEmergencyStop // @@ -205,7 +161,6 @@ this.buttonEmergencyStop.TabIndex = 4; this.buttonEmergencyStop.Text = "绱ф�ュ仠姝�"; this.buttonEmergencyStop.UseVisualStyleBackColor = true; - this.buttonEmergencyStop.Click += new System.EventHandler(this.buttonEmergencyStop_Click); // // buttonServoEnable // @@ -215,7 +170,6 @@ this.buttonServoEnable.TabIndex = 4; this.buttonServoEnable.Text = "浼烘湇浣胯兘"; this.buttonServoEnable.UseVisualStyleBackColor = true; - this.buttonServoEnable.Click += new System.EventHandler(this.buttonServoEnable_Click); // // buttonSmoothStop // @@ -225,7 +179,6 @@ this.buttonSmoothStop.TabIndex = 4; this.buttonSmoothStop.Text = "骞虫粦鍋滄"; this.buttonSmoothStop.UseVisualStyleBackColor = true; - this.buttonSmoothStop.Click += new System.EventHandler(this.buttonSmoothStop_Click); // // buttonPositionReset // @@ -235,21 +188,26 @@ this.buttonPositionReset.TabIndex = 4; this.buttonPositionReset.Text = "浣嶇疆娓呴浂"; this.buttonPositionReset.UseVisualStyleBackColor = true; - this.buttonPositionReset.Click += new System.EventHandler(this.buttonPositionReset_Click); // - // tableLayoutPanel3 + // groupBoxPara // - this.tableLayoutPanel3.ColumnCount = 1; - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel3.Location = new System.Drawing.Point(395, 3); - this.tableLayoutPanel3.Name = "tableLayoutPanel3"; - this.tableLayoutPanel3.RowCount = 1; - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(584, 714); - this.tableLayoutPanel3.TabIndex = 1; + this.groupBoxPara.Controls.Add(this.propGrid); + this.groupBoxPara.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBoxPara.Location = new System.Drawing.Point(3, 123); + this.groupBoxPara.Name = "groupBoxPara"; + this.groupBoxPara.Size = new System.Drawing.Size(474, 556); + this.groupBoxPara.TabIndex = 13; + this.groupBoxPara.TabStop = false; + this.groupBoxPara.Text = "鍙傛暟"; + // + // propGrid + // + this.propGrid.Dock = System.Windows.Forms.DockStyle.Fill; + this.propGrid.Location = new System.Drawing.Point(3, 17); + this.propGrid.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.propGrid.Name = "propGrid"; + this.propGrid.Size = new System.Drawing.Size(468, 536); + this.propGrid.TabIndex = 1; // // CtrlMotionCardOperationBase // @@ -257,14 +215,14 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.Name = "CtrlMotionCardOperationBase"; - this.Size = new System.Drawing.Size(982, 720); + this.Size = new System.Drawing.Size(500, 720); this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - this.groupBoxPara.ResumeLayout(false); - this.groupBoxMoveModel.ResumeLayout(false); - this.groupBoxMoveModel.PerformLayout(); + this.tabControl1.ResumeLayout(false); + this.tabPage2.ResumeLayout(false); + this.tableLayoutPanel3.ResumeLayout(false); this.groupBoxCommBtn.ResumeLayout(false); this.groupBoxCommBtn.PerformLayout(); + this.groupBoxPara.ResumeLayout(false); this.ResumeLayout(false); } @@ -272,20 +230,18 @@ #endregion private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; private System.Windows.Forms.GroupBox groupBoxCommBtn; - private System.Windows.Forms.GroupBox groupBoxPara; - private System.Windows.Forms.GroupBox groupBoxMoveModel; + private System.Windows.Forms.Button btnStart; private System.Windows.Forms.Button buttonClearStatus; private System.Windows.Forms.Button buttonEmergencyStop; private System.Windows.Forms.Button buttonServoEnable; private System.Windows.Forms.Button buttonSmoothStop; private System.Windows.Forms.Button buttonPositionReset; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; - private System.Windows.Forms.RadioButton radioGoHome; - private System.Windows.Forms.RadioButton radioJog; - private System.Windows.Forms.RadioButton radioP2P; + private System.Windows.Forms.GroupBox groupBoxPara; private System.Windows.Forms.PropertyGrid propGrid; - private System.Windows.Forms.Button btnStart; } } -- Gitblit v1.8.0