From 04361cf30fb4be0b232bef248b4e3b6ec09ff47c Mon Sep 17 00:00:00 2001 From: lhiven Date: Wed, 10 Jul 2024 15:25:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=92=8C=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=BD=AF=E4=BB=B6=E9=80=9A=E4=BF=A1=E6=97=A5=E5=BF=97=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/Rs.DeweyTester.csproj | 9 + .../TestCommunicationFrm.Designer.cs | 325 ++++++++++++++++++ Rs.DeweyTester/TestCommunicationFrm.cs | 20 ++ Rs.DeweyTester/TestCommunicationFrm.resx | 120 +++++++ 4 files changed, 474 insertions(+) create mode 100644 Rs.DeweyTester/TestCommunicationFrm.Designer.cs create mode 100644 Rs.DeweyTester/TestCommunicationFrm.cs create mode 100644 Rs.DeweyTester/TestCommunicationFrm.resx diff --git a/Rs.DeweyTester/Rs.DeweyTester.csproj b/Rs.DeweyTester/Rs.DeweyTester.csproj index 3f8f2e3..476ecf1 100644 --- a/Rs.DeweyTester/Rs.DeweyTester.csproj +++ b/Rs.DeweyTester/Rs.DeweyTester.csproj @@ -215,6 +215,12 @@ SelectProductFrm.cs + + Form + + + TestCommunicationFrm.cs + @@ -632,6 +638,9 @@ VarConfig.cs + + TestCommunicationFrm.cs + TestFrm.cs diff --git a/Rs.DeweyTester/TestCommunicationFrm.Designer.cs b/Rs.DeweyTester/TestCommunicationFrm.Designer.cs new file mode 100644 index 0000000..63b310b --- /dev/null +++ b/Rs.DeweyTester/TestCommunicationFrm.Designer.cs @@ -0,0 +1,325 @@ +namespace Rs.MotionPlat +{ + partial class TestCommunicationFrm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.panel6 = new System.Windows.Forms.Panel(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.groupBox5 = new System.Windows.Forms.GroupBox(); + this.groupBox6 = new System.Windows.Forms.GroupBox(); + this.txtTC1 = new System.Windows.Forms.RichTextBox(); + this.txtTC2 = new System.Windows.Forms.RichTextBox(); + this.txtTC3 = new System.Windows.Forms.RichTextBox(); + this.txtTC4 = new System.Windows.Forms.RichTextBox(); + this.txtTC5 = new System.Windows.Forms.RichTextBox(); + this.txtTC6 = new System.Windows.Forms.RichTextBox(); + this.tableLayoutPanel1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel6.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.groupBox3.SuspendLayout(); + this.groupBox4.SuspendLayout(); + this.groupBox5.SuspendLayout(); + this.groupBox6.SuspendLayout(); + this.SuspendLayout(); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 3; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.panel3, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.panel5, 1, 1); + this.tableLayoutPanel1.Controls.Add(this.panel6, 2, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1336, 781); + this.tableLayoutPanel1.TabIndex = 0; + // + // panel1 + // + this.panel1.Controls.Add(this.groupBox1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(3, 3); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(439, 384); + this.panel1.TabIndex = 0; + // + // panel2 + // + this.panel2.Controls.Add(this.groupBox2); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(448, 3); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(439, 384); + this.panel2.TabIndex = 0; + // + // panel3 + // + this.panel3.Controls.Add(this.groupBox3); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(893, 3); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(440, 384); + this.panel3.TabIndex = 0; + // + // panel4 + // + this.panel4.Controls.Add(this.groupBox4); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(3, 393); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(439, 385); + this.panel4.TabIndex = 0; + // + // panel5 + // + this.panel5.Controls.Add(this.groupBox5); + this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel5.Location = new System.Drawing.Point(448, 393); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(439, 385); + this.panel5.TabIndex = 0; + // + // panel6 + // + this.panel6.Controls.Add(this.groupBox6); + this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel6.Location = new System.Drawing.Point(893, 393); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(440, 385); + this.panel6.TabIndex = 0; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.txtTC1); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox1.ForeColor = System.Drawing.Color.White; + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(439, 384); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "TC1"; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.txtTC2); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox2.ForeColor = System.Drawing.Color.White; + this.groupBox2.Location = new System.Drawing.Point(0, 0); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(439, 384); + this.groupBox2.TabIndex = 0; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "TC2"; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.txtTC3); + this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox3.ForeColor = System.Drawing.Color.White; + this.groupBox3.Location = new System.Drawing.Point(0, 0); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(440, 384); + this.groupBox3.TabIndex = 0; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "TC3"; + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.txtTC4); + this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox4.ForeColor = System.Drawing.Color.White; + this.groupBox4.Location = new System.Drawing.Point(0, 0); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(439, 385); + this.groupBox4.TabIndex = 0; + this.groupBox4.TabStop = false; + this.groupBox4.Text = "TC4"; + // + // groupBox5 + // + this.groupBox5.Controls.Add(this.txtTC5); + this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox5.ForeColor = System.Drawing.Color.White; + this.groupBox5.Location = new System.Drawing.Point(0, 0); + this.groupBox5.Name = "groupBox5"; + this.groupBox5.Size = new System.Drawing.Size(439, 385); + this.groupBox5.TabIndex = 0; + this.groupBox5.TabStop = false; + this.groupBox5.Text = "TC5"; + // + // groupBox6 + // + this.groupBox6.Controls.Add(this.txtTC6); + this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox6.ForeColor = System.Drawing.Color.White; + this.groupBox6.Location = new System.Drawing.Point(0, 0); + this.groupBox6.Name = "groupBox6"; + this.groupBox6.Size = new System.Drawing.Size(440, 385); + this.groupBox6.TabIndex = 0; + this.groupBox6.TabStop = false; + this.groupBox6.Text = "TC6"; + // + // txtTC1 + // + this.txtTC1.BackColor = System.Drawing.Color.Black; + this.txtTC1.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC1.ForeColor = System.Drawing.Color.Lime; + this.txtTC1.Location = new System.Drawing.Point(3, 17); + this.txtTC1.Name = "txtTC1"; + this.txtTC1.Size = new System.Drawing.Size(433, 364); + this.txtTC1.TabIndex = 0; + this.txtTC1.Text = ""; + // + // txtTC2 + // + this.txtTC2.BackColor = System.Drawing.Color.Black; + this.txtTC2.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC2.ForeColor = System.Drawing.Color.Lime; + this.txtTC2.Location = new System.Drawing.Point(3, 17); + this.txtTC2.Name = "txtTC2"; + this.txtTC2.Size = new System.Drawing.Size(433, 364); + this.txtTC2.TabIndex = 0; + this.txtTC2.Text = ""; + // + // txtTC3 + // + this.txtTC3.BackColor = System.Drawing.Color.Black; + this.txtTC3.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC3.ForeColor = System.Drawing.Color.Lime; + this.txtTC3.Location = new System.Drawing.Point(3, 17); + this.txtTC3.Name = "txtTC3"; + this.txtTC3.Size = new System.Drawing.Size(434, 364); + this.txtTC3.TabIndex = 0; + this.txtTC3.Text = ""; + // + // txtTC4 + // + this.txtTC4.BackColor = System.Drawing.Color.Black; + this.txtTC4.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC4.ForeColor = System.Drawing.Color.Lime; + this.txtTC4.Location = new System.Drawing.Point(3, 17); + this.txtTC4.Name = "txtTC4"; + this.txtTC4.Size = new System.Drawing.Size(433, 365); + this.txtTC4.TabIndex = 0; + this.txtTC4.Text = ""; + // + // txtTC5 + // + this.txtTC5.BackColor = System.Drawing.Color.Black; + this.txtTC5.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC5.ForeColor = System.Drawing.Color.Lime; + this.txtTC5.Location = new System.Drawing.Point(3, 17); + this.txtTC5.Name = "txtTC5"; + this.txtTC5.Size = new System.Drawing.Size(433, 365); + this.txtTC5.TabIndex = 0; + this.txtTC5.Text = ""; + // + // txtTC6 + // + this.txtTC6.BackColor = System.Drawing.Color.Black; + this.txtTC6.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtTC6.ForeColor = System.Drawing.Color.Lime; + this.txtTC6.Location = new System.Drawing.Point(3, 17); + this.txtTC6.Name = "txtTC6"; + this.txtTC6.Size = new System.Drawing.Size(434, 365); + this.txtTC6.TabIndex = 0; + this.txtTC6.Text = ""; + // + // TestCommunicationFrm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1336, 781); + this.Controls.Add(this.tableLayoutPanel1); + this.Name = "TestCommunicationFrm"; + this.Text = "TestCommunicationFrm"; + this.tableLayoutPanel1.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.panel5.ResumeLayout(false); + this.panel6.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.groupBox2.ResumeLayout(false); + this.groupBox3.ResumeLayout(false); + this.groupBox4.ResumeLayout(false); + this.groupBox5.ResumeLayout(false); + this.groupBox6.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.Panel panel6; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.GroupBox groupBox4; + private System.Windows.Forms.GroupBox groupBox5; + private System.Windows.Forms.GroupBox groupBox6; + private System.Windows.Forms.RichTextBox txtTC1; + private System.Windows.Forms.RichTextBox txtTC2; + private System.Windows.Forms.RichTextBox txtTC3; + private System.Windows.Forms.RichTextBox txtTC4; + private System.Windows.Forms.RichTextBox txtTC5; + private System.Windows.Forms.RichTextBox txtTC6; + } +} \ No newline at end of file diff --git a/Rs.DeweyTester/TestCommunicationFrm.cs b/Rs.DeweyTester/TestCommunicationFrm.cs new file mode 100644 index 0000000..35ebb30 --- /dev/null +++ b/Rs.DeweyTester/TestCommunicationFrm.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Rs.MotionPlat +{ + public partial class TestCommunicationFrm : BaseForm + { + public TestCommunicationFrm() + { + InitializeComponent(); + } + } +} diff --git a/Rs.DeweyTester/TestCommunicationFrm.resx b/Rs.DeweyTester/TestCommunicationFrm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Rs.DeweyTester/TestCommunicationFrm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file