From 1959675d77c3d9dc5595ec8d2ce74a2a4b1d95b2 Mon Sep 17 00:00:00 2001 From: lhiven <236881222@qq.com> Date: Sat, 22 Jun 2024 06:16:25 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E4=B8=BB=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE=202?= =?UTF-8?q?=E3=80=81=E4=B8=BB=E7=95=8C=E9=9D=A2=E5=A2=9E=E5=8A=A0=E6=B8=85?= =?UTF-8?q?=E6=A5=9A=E6=95=B0=E6=8D=AE=E6=8C=89=E9=92=AE=203=E3=80=81?= =?UTF-8?q?=E4=B8=BB=E7=95=8C=E9=9D=A2=E5=A2=9E=E5=8A=A0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=85=A7=E6=98=8E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/Entitys/TestFixtureManager.cs | 2 + Rs.DeweyTester/FormMain.cs | 96 ++- Rs.DeweyTester/FormMain.designer.cs | 257 ++++---- Rs.DeweyTester/FormMain.resx | 6 - Rs.DeweyTester/Home.cs | 2 +- .../SysConfig/CommonConfig.Designer.cs | 170 ++++-- Rs.DeweyTester/SysConfig/CommonConfig.cs | 24 +- Rs.DeweyTester/SysConfig/CommonConfig.resx | 573 +++++++++++------- 8 files changed, 682 insertions(+), 448 deletions(-) diff --git a/Rs.DeweyTester/Entitys/TestFixtureManager.cs b/Rs.DeweyTester/Entitys/TestFixtureManager.cs index 8c43fbc..7d0b867 100644 --- a/Rs.DeweyTester/Entitys/TestFixtureManager.cs +++ b/Rs.DeweyTester/Entitys/TestFixtureManager.cs @@ -91,6 +91,8 @@ namespace Rs.MotionPlat.Entitys public void Clear() { this.Product = null; + this.PassCount= 0; + this.TotalCount = 0; } private int _Index; diff --git a/Rs.DeweyTester/FormMain.cs b/Rs.DeweyTester/FormMain.cs index 1d59318..ad05f42 100644 --- a/Rs.DeweyTester/FormMain.cs +++ b/Rs.DeweyTester/FormMain.cs @@ -35,6 +35,33 @@ namespace Rs.MotionPlat private void timer1_Tick(object sender, EventArgs e) { + if(!string.IsNullOrEmpty(GlobalUser.UserName)) + { + if(cboxTestMode.Enabled==false) + cboxTestMode.Enabled = true; + if(cboxTestMethod.Enabled==false) + cboxTestMethod.Enabled = true; + if(txtLotName.Enabled==false) + txtLotName.Enabled = true; + if(cboxMtcp.Enabled==false) + cboxMtcp.Enabled = true; + if (cboxNoise.Enabled == false) + cboxNoise.Enabled = true; + + } + else + { + if (cboxTestMode.Enabled == true) + cboxTestMode.Enabled = false; + if (cboxTestMethod.Enabled == true) + cboxTestMethod.Enabled = false; + if (txtLotName.Enabled == true) + txtLotName.Enabled = false; + if (cboxMtcp.Enabled) + cboxMtcp.Enabled = false; + if(cboxNoise.Enabled) + cboxNoise.Enabled = false; + } //获取运行信息 while (MessageQueue.Instance.HaveMessage()) { @@ -194,17 +221,20 @@ namespace Rs.MotionPlat timertc5.Enabled = true; timertc6.Enabled = true; BindParameter(); - if (GlobalUser.UserName!="") - { - txtLotName.Enabled = true; - txtConfig.Enabled = true; - cboxConfigName.Enabled = true; - txtSubLotName.Enabled = true; - txtSiteID.Enabled = true; - txtProjectID.Enabled = true; - cboxMtcp.Enabled = true; - cboxNoise.Enabled = true; - } + //if (!string.IsNullOrEmpty(GlobalUser.UserName)) + //{ + // txtLotName.Enabled = true; + // //txtConfig.Enabled = true; + // //cboxConfigName.Enabled = true; + // //txtSubLotName.Enabled = true; + // //txtSiteID.Enabled = true; + // //txtProjectID.Enabled = true; + // cboxMtcp.Enabled = true; + // cboxNoise.Enabled = true; + // cboxTestMethod.Enabled = true; + // cboxTestMode.Enabled = true; + + //} uTestCell1.SetIndex(1); uTestCell2.SetIndex(2); uTestCell3.SetIndex(3); @@ -217,13 +247,15 @@ namespace Rs.MotionPlat void BindParameter() { txtLotName.Text = GlobalVar.LotName; - txtConfig.Text = GlobalVar.Config; - cboxConfigName.SelectedItem = GlobalVar.ConfigName; - txtSubLotName.Text=GlobalVar.SubLotName; - txtSiteID.Text= GlobalVar.SiteID; - txtProjectID.Text=GlobalVar.ProjectID; + //txtConfig.Text = GlobalVar.Config; + //cboxConfigName.SelectedItem = GlobalVar.ConfigName; + //txtSubLotName.Text=GlobalVar.SubLotName; + //txtSiteID.Text= GlobalVar.SiteID; + //txtProjectID.Text=GlobalVar.ProjectID; cboxMtcp.Checked = GlobalVar.Mtcp; cboxNoise.Checked = GlobalVar.Noise; + cboxTestMode.SelectedItem = GlobalVar.TestMode; + cboxTestMethod.SelectedItem = GlobalVar.TestMethod; } private void btnWholeHome_Load(object sender, EventArgs e) @@ -546,5 +578,37 @@ namespace Rs.MotionPlat SysConfigParam.Update("Noise", "false"); } } + + private void cboxTestMethod_SelectedIndexChanged(object sender, EventArgs e) + { + SysConfigParam.Update("TestMethod", cboxTestMethod.SelectedItem.ToString()); + } + + private void cboxTestMode_SelectedIndexChanged(object sender, EventArgs e) + { + SysConfigParam.Update("TestMode", cboxTestMode.SelectedItem.ToString()); + } + + private void btnClearData_Click(object sender, EventArgs e) + { + TestFixtureManager.Instance.GetTestFixture(1).Clear(); + TestFixtureManager.Instance.GetTestFixture(2).Clear(); + TestFixtureManager.Instance.GetTestFixture(3).Clear(); + TestFixtureManager.Instance.GetTestFixture(4).Clear(); + TestFixtureManager.Instance.GetTestFixture(5).Clear(); + TestFixtureManager.Instance.GetTestFixture(6).Clear(); + } + + private void btnLight_Click(object sender, EventArgs e) + { + if(Ops.IsOutOn("照明")) + { + Ops.Off("照明"); + } + else + { + Ops.On("照明"); + } + } } } diff --git a/Rs.DeweyTester/FormMain.designer.cs b/Rs.DeweyTester/FormMain.designer.cs index 4d0d961..0042b82 100644 --- a/Rs.DeweyTester/FormMain.designer.cs +++ b/Rs.DeweyTester/FormMain.designer.cs @@ -32,8 +32,8 @@ namespace Rs.MotionPlat private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); @@ -65,11 +65,6 @@ namespace Rs.MotionPlat this.groupBox36 = new System.Windows.Forms.GroupBox(); this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); this.label3 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); this.panel8 = new System.Windows.Forms.Panel(); this.cboxMtcp = new System.Windows.Forms.CheckBox(); this.panel9 = new System.Windows.Forms.Panel(); @@ -77,15 +72,15 @@ namespace Rs.MotionPlat this.panel10 = new System.Windows.Forms.Panel(); this.txtLotName = new System.Windows.Forms.TextBox(); this.panel11 = new System.Windows.Forms.Panel(); - this.txtConfig = new System.Windows.Forms.TextBox(); + this.cboxTestMethod = new System.Windows.Forms.ComboBox(); this.panel12 = new System.Windows.Forms.Panel(); - this.txtSubLotName = new System.Windows.Forms.TextBox(); + this.btnClearData = new System.Windows.Forms.Button(); this.panel13 = new System.Windows.Forms.Panel(); - this.txtSiteID = new System.Windows.Forms.TextBox(); this.panel14 = new System.Windows.Forms.Panel(); - this.txtProjectID = new System.Windows.Forms.TextBox(); this.panel15 = new System.Windows.Forms.Panel(); - this.cboxConfigName = new System.Windows.Forms.ComboBox(); + this.cboxTestMode = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); this.trayNozzle = new Rs.Controls.RsTray(); this.panel6 = new System.Windows.Forms.Panel(); this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); @@ -154,6 +149,7 @@ namespace Rs.MotionPlat this.timertc4 = new System.Windows.Forms.Timer(this.components); this.timertc5 = new System.Windows.Forms.Timer(this.components); this.timertc6 = new System.Windows.Forms.Timer(this.components); + this.btnLight = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.panel3.SuspendLayout(); @@ -179,7 +175,6 @@ namespace Rs.MotionPlat this.panel11.SuspendLayout(); this.panel12.SuspendLayout(); this.panel13.SuspendLayout(); - this.panel14.SuspendLayout(); this.panel15.SuspendLayout(); this.panel6.SuspendLayout(); this.tableLayoutPanel6.SuspendLayout(); @@ -243,14 +238,14 @@ namespace Rs.MotionPlat this.dgv_errinfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dgv_errinfo.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.dgv_errinfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.Red; - dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgv_errinfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.Red; + dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgv_errinfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgv_errinfo.ColumnHeadersHeight = 30; this.dgv_errinfo.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, @@ -328,8 +323,8 @@ namespace Rs.MotionPlat // Time // this.Time.DataPropertyName = "Time"; - dataGridViewCellStyle4.BackColor = System.Drawing.Color.Red; - this.Time.DefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle2.BackColor = System.Drawing.Color.Red; + this.Time.DefaultCellStyle = dataGridViewCellStyle2; this.Time.FillWeight = 25F; this.Time.HeaderText = "Time"; this.Time.MinimumWidth = 6; @@ -617,11 +612,6 @@ namespace Rs.MotionPlat this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F)); this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F)); this.tableLayoutPanel7.Controls.Add(this.label3, 0, 0); - this.tableLayoutPanel7.Controls.Add(this.label4, 0, 1); - this.tableLayoutPanel7.Controls.Add(this.label5, 0, 2); - this.tableLayoutPanel7.Controls.Add(this.label6, 0, 3); - this.tableLayoutPanel7.Controls.Add(this.label7, 0, 4); - this.tableLayoutPanel7.Controls.Add(this.label8, 0, 5); this.tableLayoutPanel7.Controls.Add(this.panel8, 0, 6); this.tableLayoutPanel7.Controls.Add(this.panel9, 1, 6); this.tableLayoutPanel7.Controls.Add(this.panel10, 1, 0); @@ -630,6 +620,8 @@ namespace Rs.MotionPlat this.tableLayoutPanel7.Controls.Add(this.panel13, 1, 4); this.tableLayoutPanel7.Controls.Add(this.panel14, 1, 5); this.tableLayoutPanel7.Controls.Add(this.panel15, 1, 2); + this.tableLayoutPanel7.Controls.Add(this.label4, 0, 1); + this.tableLayoutPanel7.Controls.Add(this.label5, 0, 2); this.tableLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel7.Location = new System.Drawing.Point(3, 17); this.tableLayoutPanel7.Name = "tableLayoutPanel7"; @@ -641,6 +633,7 @@ namespace Rs.MotionPlat this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); + this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel7.Size = new System.Drawing.Size(211, 304); this.tableLayoutPanel7.TabIndex = 0; // @@ -654,56 +647,6 @@ namespace Rs.MotionPlat this.label3.Text = "Lot Name"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // - // label4 - // - this.label4.Dock = System.Windows.Forms.DockStyle.Fill; - this.label4.Location = new System.Drawing.Point(4, 44); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(77, 42); - this.label4.TabIndex = 0; - this.label4.Text = "Config"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label5 - // - this.label5.Dock = System.Windows.Forms.DockStyle.Fill; - this.label5.Location = new System.Drawing.Point(4, 87); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(77, 42); - this.label5.TabIndex = 0; - this.label5.Text = "ConfigName"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label6 - // - this.label6.Dock = System.Windows.Forms.DockStyle.Fill; - this.label6.Location = new System.Drawing.Point(4, 130); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(77, 42); - this.label6.TabIndex = 0; - this.label6.Text = "Sublotname"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label7 - // - this.label7.Dock = System.Windows.Forms.DockStyle.Fill; - this.label7.Location = new System.Drawing.Point(4, 173); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(77, 42); - this.label7.TabIndex = 0; - this.label7.Text = "SiteID"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label8 - // - this.label8.Dock = System.Windows.Forms.DockStyle.Fill; - this.label8.Location = new System.Drawing.Point(4, 216); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(77, 42); - this.label8.TabIndex = 0; - this.label8.Text = "ProjectID"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // // panel8 // this.panel8.Controls.Add(this.cboxMtcp); @@ -772,108 +715,112 @@ namespace Rs.MotionPlat // // panel11 // - this.panel11.Controls.Add(this.txtConfig); + this.panel11.Controls.Add(this.cboxTestMethod); this.panel11.Dock = System.Windows.Forms.DockStyle.Fill; this.panel11.Location = new System.Drawing.Point(88, 47); this.panel11.Name = "panel11"; this.panel11.Size = new System.Drawing.Size(119, 36); this.panel11.TabIndex = 2; // - // txtConfig - // - this.txtConfig.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtConfig.Enabled = false; - this.txtConfig.Location = new System.Drawing.Point(3, 9); - this.txtConfig.Name = "txtConfig"; - this.txtConfig.Size = new System.Drawing.Size(113, 21); - this.txtConfig.TabIndex = 0; - this.txtConfig.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // cboxTestMethod + // + this.cboxTestMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxTestMethod.Enabled = false; + this.cboxTestMethod.FormattingEnabled = true; + this.cboxTestMethod.Items.AddRange(new object[] { + "A", + "AAB", + "ABC"}); + this.cboxTestMethod.Location = new System.Drawing.Point(-1, 8); + this.cboxTestMethod.Name = "cboxTestMethod"; + this.cboxTestMethod.Size = new System.Drawing.Size(121, 20); + this.cboxTestMethod.TabIndex = 10; + this.cboxTestMethod.SelectedIndexChanged += new System.EventHandler(this.cboxTestMethod_SelectedIndexChanged); // // panel12 // - this.panel12.Controls.Add(this.txtSubLotName); + this.panel12.Controls.Add(this.btnClearData); this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; this.panel12.Location = new System.Drawing.Point(88, 133); this.panel12.Name = "panel12"; this.panel12.Size = new System.Drawing.Size(119, 36); this.panel12.TabIndex = 3; // - // txtSubLotName + // btnClearData // - this.txtSubLotName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtSubLotName.Enabled = false; - this.txtSubLotName.Location = new System.Drawing.Point(3, 9); - this.txtSubLotName.Name = "txtSubLotName"; - this.txtSubLotName.Size = new System.Drawing.Size(113, 21); - this.txtSubLotName.TabIndex = 0; - this.txtSubLotName.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + this.btnClearData.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); + this.btnClearData.FlatAppearance.BorderSize = 0; + this.btnClearData.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnClearData.Location = new System.Drawing.Point(16, 4); + this.btnClearData.Name = "btnClearData"; + this.btnClearData.Size = new System.Drawing.Size(88, 32); + this.btnClearData.TabIndex = 0; + this.btnClearData.Text = "ClearData"; + this.btnClearData.UseVisualStyleBackColor = false; + this.btnClearData.Click += new System.EventHandler(this.btnClearData_Click); // // panel13 // - this.panel13.Controls.Add(this.txtSiteID); + this.panel13.Controls.Add(this.btnLight); this.panel13.Dock = System.Windows.Forms.DockStyle.Fill; this.panel13.Location = new System.Drawing.Point(88, 176); this.panel13.Name = "panel13"; this.panel13.Size = new System.Drawing.Size(119, 36); this.panel13.TabIndex = 3; // - // txtSiteID - // - this.txtSiteID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtSiteID.Enabled = false; - this.txtSiteID.Location = new System.Drawing.Point(3, 12); - this.txtSiteID.Name = "txtSiteID"; - this.txtSiteID.Size = new System.Drawing.Size(113, 21); - this.txtSiteID.TabIndex = 0; - this.txtSiteID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); - // // panel14 // - this.panel14.Controls.Add(this.txtProjectID); this.panel14.Dock = System.Windows.Forms.DockStyle.Fill; this.panel14.Location = new System.Drawing.Point(88, 219); this.panel14.Name = "panel14"; this.panel14.Size = new System.Drawing.Size(119, 36); this.panel14.TabIndex = 3; // - // txtProjectID - // - this.txtProjectID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtProjectID.Enabled = false; - this.txtProjectID.Location = new System.Drawing.Point(3, 10); - this.txtProjectID.Name = "txtProjectID"; - this.txtProjectID.Size = new System.Drawing.Size(113, 21); - this.txtProjectID.TabIndex = 0; - this.txtProjectID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); - // // panel15 // - this.panel15.Controls.Add(this.cboxConfigName); + this.panel15.Controls.Add(this.cboxTestMode); this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; this.panel15.Location = new System.Drawing.Point(88, 90); this.panel15.Name = "panel15"; this.panel15.Size = new System.Drawing.Size(119, 36); this.panel15.TabIndex = 4; // - // cboxConfigName + // cboxTestMode + // + this.cboxTestMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxTestMode.Enabled = false; + this.cboxTestMode.FormattingEnabled = true; + this.cboxTestMode.Items.AddRange(new object[] { + "Production", + "GRR", + "AUDIT", + "REL", + "DOE"}); + this.cboxTestMode.Location = new System.Drawing.Point(-1, 8); + this.cboxTestMode.Name = "cboxTestMode"; + this.cboxTestMode.Size = new System.Drawing.Size(121, 20); + this.cboxTestMode.TabIndex = 10; + this.cboxTestMode.SelectedIndexChanged += new System.EventHandler(this.cboxTestMode_SelectedIndexChanged); // - this.cboxConfigName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.cboxConfigName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboxConfigName.Enabled = false; - this.cboxConfigName.FormattingEnabled = true; - this.cboxConfigName.Items.AddRange(new object[] { - "SnCoating", - "Paint", - "Others"}); - this.cboxConfigName.Location = new System.Drawing.Point(3, 7); - this.cboxConfigName.Name = "cboxConfigName"; - this.cboxConfigName.Size = new System.Drawing.Size(113, 20); - this.cboxConfigName.TabIndex = 0; + // label4 + // + this.label4.Dock = System.Windows.Forms.DockStyle.Fill; + this.label4.Location = new System.Drawing.Point(4, 44); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(77, 42); + this.label4.TabIndex = 5; + this.label4.Text = "测试方式"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label5 + // + this.label5.Dock = System.Windows.Forms.DockStyle.Fill; + this.label5.Location = new System.Drawing.Point(4, 87); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(77, 42); + this.label5.TabIndex = 6; + this.label5.Text = "测试模式"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // trayNozzle // @@ -1756,6 +1703,19 @@ namespace Rs.MotionPlat this.timertc6.Interval = 500; this.timertc6.Tick += new System.EventHandler(this.timertc6_Tick); // + // btnLight + // + this.btnLight.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); + this.btnLight.FlatAppearance.BorderSize = 0; + this.btnLight.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnLight.Location = new System.Drawing.Point(16, 1); + this.btnLight.Name = "btnLight"; + this.btnLight.Size = new System.Drawing.Size(88, 32); + this.btnLight.TabIndex = 0; + this.btnLight.Text = "Light"; + this.btnLight.UseVisualStyleBackColor = false; + this.btnLight.Click += new System.EventHandler(this.btnLight_Click); + // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -1793,13 +1753,8 @@ namespace Rs.MotionPlat this.panel10.ResumeLayout(false); this.panel10.PerformLayout(); this.panel11.ResumeLayout(false); - this.panel11.PerformLayout(); this.panel12.ResumeLayout(false); - this.panel12.PerformLayout(); this.panel13.ResumeLayout(false); - this.panel13.PerformLayout(); - this.panel14.ResumeLayout(false); - this.panel14.PerformLayout(); this.panel15.ResumeLayout(false); this.panel6.ResumeLayout(false); this.tableLayoutPanel6.ResumeLayout(false); @@ -1901,11 +1856,6 @@ namespace Rs.MotionPlat private System.Windows.Forms.GroupBox groupBox37; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel7; private System.Windows.Forms.Label label3; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Label label8; private System.Windows.Forms.Panel panel8; private System.Windows.Forms.CheckBox cboxMtcp; private System.Windows.Forms.Panel panel9; @@ -1914,14 +1864,9 @@ namespace Rs.MotionPlat private System.Windows.Forms.TextBox txtLotName; private System.Windows.Forms.Panel panel11; private System.Windows.Forms.Panel panel12; - private System.Windows.Forms.TextBox txtSubLotName; private System.Windows.Forms.Panel panel13; - private System.Windows.Forms.TextBox txtSiteID; private System.Windows.Forms.Panel panel14; - private System.Windows.Forms.TextBox txtProjectID; private System.Windows.Forms.Panel panel15; - private System.Windows.Forms.ComboBox cboxConfigName; - private System.Windows.Forms.TextBox txtConfig; private System.Windows.Forms.Panel panel16; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel8; private System.Windows.Forms.Panel panel17; @@ -1940,5 +1885,11 @@ namespace Rs.MotionPlat private System.Windows.Forms.Timer timertc4; private System.Windows.Forms.Timer timertc5; private System.Windows.Forms.Timer timertc6; + private System.Windows.Forms.ComboBox cboxTestMethod; + private System.Windows.Forms.ComboBox cboxTestMode; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Button btnClearData; + private System.Windows.Forms.Button btnLight; } } \ No newline at end of file diff --git a/Rs.DeweyTester/FormMain.resx b/Rs.DeweyTester/FormMain.resx index fc06a1b..915fbba 100644 --- a/Rs.DeweyTester/FormMain.resx +++ b/Rs.DeweyTester/FormMain.resx @@ -132,12 +132,6 @@ True - - True - - - True - 107, 17 diff --git a/Rs.DeweyTester/Home.cs b/Rs.DeweyTester/Home.cs index b026755..5d72f00 100644 --- a/Rs.DeweyTester/Home.cs +++ b/Rs.DeweyTester/Home.cs @@ -210,7 +210,7 @@ namespace Rs.MotionPlat form = new UserForm(); form.OnloginSuccessEvent += (uname) => { btnPermission.ShowText += $"-({uname})"; - btnMain.PerformClick(); + //btnMain.PerformClick(); }; form.StartPosition = FormStartPosition.CenterScreen; form.Opacity = 1; diff --git a/Rs.DeweyTester/SysConfig/CommonConfig.Designer.cs b/Rs.DeweyTester/SysConfig/CommonConfig.Designer.cs index 6c9fcc9..2e8793f 100644 --- a/Rs.DeweyTester/SysConfig/CommonConfig.Designer.cs +++ b/Rs.DeweyTester/SysConfig/CommonConfig.Designer.cs @@ -41,6 +41,18 @@ this.cboxEnableIndexTimeStatistics = new System.Windows.Forms.CheckBox(); this.cboxRunSpace = new System.Windows.Forms.CheckBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.txtSiteID = new System.Windows.Forms.TextBox(); + this.cboxConfigName = new System.Windows.Forms.ComboBox(); + this.label18 = new System.Windows.Forms.Label(); + this.txtSubLotName = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.txtProjectID = new System.Windows.Forms.TextBox(); + this.txtConfig = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.txtMachineID = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cboxMsgShowEn = new System.Windows.Forms.CheckBox(); this.cboxMsgShowCn = new System.Windows.Forms.CheckBox(); @@ -50,15 +62,11 @@ this.label8 = new System.Windows.Forms.Label(); this.txtSimulateTestYield = new System.Windows.Forms.TextBox(); this.txtSimulateTestTime = new System.Windows.Forms.TextBox(); - this.txtMachineID = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.cboxTestMethod = new System.Windows.Forms.ComboBox(); this.panelEx1 = new Rs.Controls.PanelEx(); this.btnSaveSpeedParam = new System.Windows.Forms.Button(); this.cboxCurRecipe = new System.Windows.Forms.ComboBox(); @@ -104,10 +112,9 @@ this.txtControlCenterPort = new System.Windows.Forms.TextBox(); this.cboxEnableExceptionHandlingNozzle = new System.Windows.Forms.CheckBox(); this.cboxEnableScanBarCodeByDownCamera = new System.Windows.Forms.CheckBox(); - this.cboxTestMode = new System.Windows.Forms.ComboBox(); - this.label14 = new System.Windows.Forms.Label(); this.tableLayoutPanel1.SuspendLayout(); this.groupBox8.SuspendLayout(); + this.groupBox3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbarFlyCameraSpeed)).BeginInit(); @@ -212,11 +219,95 @@ // // groupBox3 // + this.groupBox3.Controls.Add(this.txtSiteID); + this.groupBox3.Controls.Add(this.cboxConfigName); + this.groupBox3.Controls.Add(this.label18); + this.groupBox3.Controls.Add(this.txtSubLotName); + this.groupBox3.Controls.Add(this.label19); + this.groupBox3.Controls.Add(this.label20); + this.groupBox3.Controls.Add(this.label21); + this.groupBox3.Controls.Add(this.txtProjectID); + this.groupBox3.Controls.Add(this.txtConfig); + this.groupBox3.Controls.Add(this.label17); + this.groupBox3.Controls.Add(this.txtMachineID); + this.groupBox3.Controls.Add(this.label5); resources.ApplyResources(this.groupBox3, "groupBox3"); this.groupBox3.ForeColor = System.Drawing.Color.White; this.groupBox3.Name = "groupBox3"; this.groupBox3.TabStop = false; // + // txtSiteID + // + resources.ApplyResources(this.txtSiteID, "txtSiteID"); + this.txtSiteID.Name = "txtSiteID"; + this.txtSiteID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // + // cboxConfigName + // + resources.ApplyResources(this.cboxConfigName, "cboxConfigName"); + this.cboxConfigName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxConfigName.FormattingEnabled = true; + this.cboxConfigName.Items.AddRange(new object[] { + resources.GetString("cboxConfigName.Items"), + resources.GetString("cboxConfigName.Items1"), + resources.GetString("cboxConfigName.Items2")}); + this.cboxConfigName.Name = "cboxConfigName"; + this.cboxConfigName.SelectedIndexChanged += new System.EventHandler(this.cboxConfigName_SelectedIndexChanged); + // + // label18 + // + resources.ApplyResources(this.label18, "label18"); + this.label18.Name = "label18"; + // + // txtSubLotName + // + resources.ApplyResources(this.txtSubLotName, "txtSubLotName"); + this.txtSubLotName.Name = "txtSubLotName"; + this.txtSubLotName.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // + // label19 + // + resources.ApplyResources(this.label19, "label19"); + this.label19.Name = "label19"; + // + // label20 + // + resources.ApplyResources(this.label20, "label20"); + this.label20.Name = "label20"; + // + // label21 + // + resources.ApplyResources(this.label21, "label21"); + this.label21.Name = "label21"; + // + // txtProjectID + // + resources.ApplyResources(this.txtProjectID, "txtProjectID"); + this.txtProjectID.Name = "txtProjectID"; + this.txtProjectID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // + // txtConfig + // + resources.ApplyResources(this.txtConfig, "txtConfig"); + this.txtConfig.Name = "txtConfig"; + this.txtConfig.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // + // label17 + // + resources.ApplyResources(this.label17, "label17"); + this.label17.Name = "label17"; + // + // txtMachineID + // + resources.ApplyResources(this.txtMachineID, "txtMachineID"); + this.txtMachineID.Name = "txtMachineID"; + this.txtMachineID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); + // + // label5 + // + resources.ApplyResources(this.label5, "label5"); + this.label5.Name = "label5"; + // // groupBox1 // this.groupBox1.Controls.Add(this.cboxMsgShowEn); @@ -227,17 +318,11 @@ this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.txtSimulateTestYield); this.groupBox1.Controls.Add(this.txtSimulateTestTime); - this.groupBox1.Controls.Add(this.txtMachineID); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Controls.Add(this.label13); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label12); this.groupBox1.Controls.Add(this.label7); - this.groupBox1.Controls.Add(this.label5); - this.groupBox1.Controls.Add(this.label14); - this.groupBox1.Controls.Add(this.label3); - this.groupBox1.Controls.Add(this.cboxTestMode); - this.groupBox1.Controls.Add(this.cboxTestMethod); this.groupBox1.Controls.Add(this.panelEx1); this.groupBox1.Controls.Add(this.tbarFlyCameraSpeed); this.groupBox1.Controls.Add(this.tbarTakeTrayFromNg2InputSpeed); @@ -314,12 +399,6 @@ this.txtSimulateTestTime.Name = "txtSimulateTestTime"; this.txtSimulateTestTime.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); // - // txtMachineID - // - resources.ApplyResources(this.txtMachineID, "txtMachineID"); - this.txtMachineID.Name = "txtMachineID"; - this.txtMachineID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp); - // // label11 // resources.ApplyResources(this.label11, "label11"); @@ -345,27 +424,6 @@ resources.ApplyResources(this.label7, "label7"); this.label7.Name = "label7"; // - // label5 - // - resources.ApplyResources(this.label5, "label5"); - this.label5.Name = "label5"; - // - // label3 - // - resources.ApplyResources(this.label3, "label3"); - this.label3.Name = "label3"; - // - // cboxTestMethod - // - this.cboxTestMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboxTestMethod.FormattingEnabled = true; - this.cboxTestMethod.Items.AddRange(new object[] { - resources.GetString("cboxTestMethod.Items"), - resources.GetString("cboxTestMethod.Items1"), - resources.GetString("cboxTestMethod.Items2")}); - resources.ApplyResources(this.cboxTestMethod, "cboxTestMethod"); - this.cboxTestMethod.Name = "cboxTestMethod"; - // // panelEx1 // this.panelEx1.Controls.Add(this.btnSaveSpeedParam); @@ -698,24 +756,6 @@ this.cboxEnableScanBarCodeByDownCamera.Name = "cboxEnableScanBarCodeByDownCamera"; this.cboxEnableScanBarCodeByDownCamera.UseVisualStyleBackColor = true; // - // cboxTestMode - // - this.cboxTestMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboxTestMode.FormattingEnabled = true; - this.cboxTestMode.Items.AddRange(new object[] { - resources.GetString("cboxTestMode.Items"), - resources.GetString("cboxTestMode.Items1"), - resources.GetString("cboxTestMode.Items2"), - resources.GetString("cboxTestMode.Items3"), - resources.GetString("cboxTestMode.Items4")}); - resources.ApplyResources(this.cboxTestMode, "cboxTestMode"); - this.cboxTestMode.Name = "cboxTestMode"; - // - // label14 - // - resources.ApplyResources(this.label14, "label14"); - this.label14.Name = "label14"; - // // CommonConfig // resources.ApplyResources(this, "$this"); @@ -726,6 +766,8 @@ this.tableLayoutPanel1.ResumeLayout(false); this.groupBox8.ResumeLayout(false); this.groupBox8.PerformLayout(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panelEx1.ResumeLayout(false); @@ -787,7 +829,6 @@ private System.Windows.Forms.DataGridViewCheckBoxColumn 是否显示; private System.Windows.Forms.DataGridViewCheckBoxColumn 是否需要登录; private System.Windows.Forms.CheckBox cboxEnableIndexTimeStatistics; - private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox txtMachineID; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label7; @@ -808,7 +849,6 @@ private System.Windows.Forms.CheckBox cboxPrintTC2Communicate; private System.Windows.Forms.CheckBox cboxPrintTC4Communicate; private System.Windows.Forms.CheckBox cboxPrintTC1Communicate; - private System.Windows.Forms.ComboBox cboxTestMethod; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label10; private System.Windows.Forms.CheckBox cboxCheckVisionSwOpened; @@ -819,7 +859,15 @@ private System.Windows.Forms.TrackBar tbarFlyCameraSpeed; private System.Windows.Forms.Label label16; private System.Windows.Forms.Label lblFlyCameraSpeed; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.ComboBox cboxTestMode; + private System.Windows.Forms.TextBox txtConfig; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.TextBox txtSiteID; + private System.Windows.Forms.ComboBox cboxConfigName; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TextBox txtSubLotName; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.TextBox txtProjectID; } } \ No newline at end of file diff --git a/Rs.DeweyTester/SysConfig/CommonConfig.cs b/Rs.DeweyTester/SysConfig/CommonConfig.cs index c815a83..4146ed7 100644 --- a/Rs.DeweyTester/SysConfig/CommonConfig.cs +++ b/Rs.DeweyTester/SysConfig/CommonConfig.cs @@ -75,16 +75,21 @@ namespace Rs.MotionPlat.SysConfig ComboBox cbox = (ComboBox)con; cbox.SelectedItem = SysConfigParam.GetValue(cbox.Name.Replace("cbox", "")); } - } - - foreach (var con in groupBox3.Controls) - { - if (con is ComboBox) + if (con is TextBox) { - ComboBox cbox = (ComboBox)con; - cbox.SelectedItem = SysConfigParam.GetValue(cbox.Name.Replace("cbox", "")); + TextBox txt = (TextBox)con; + txt.Text = SysConfigParam.GetValue(txt.Name.Replace("txt", "")); } } + + //foreach (var con in groupBox3.Controls) + //{ + // if (con is ComboBox) + // { + // ComboBox cbox = (ComboBox)con; + // cbox.SelectedItem = SysConfigParam.GetValue(cbox.Name.Replace("cbox", "")); + // } + //} PositionHelper.BindPosition(groupBox8); if(GlobalUser.IsVender() || GlobalUser.IsSuper()) { @@ -282,5 +287,10 @@ namespace Rs.MotionPlat.SysConfig { lblFlyCameraSpeed.Text = $"{tbarFlyCameraSpeed.Value}%"; } + + private void cboxConfigName_SelectedIndexChanged(object sender, EventArgs e) + { + SysConfigParam.Update("ConfigName", cboxConfigName.SelectedItem.ToString()); + } } } diff --git a/Rs.DeweyTester/SysConfig/CommonConfig.resx b/Rs.DeweyTester/SysConfig/CommonConfig.resx index 8295ef4..1605f2e 100644 --- a/Rs.DeweyTester/SysConfig/CommonConfig.resx +++ b/Rs.DeweyTester/SysConfig/CommonConfig.resx @@ -441,6 +441,336 @@ 0 + + Top, Left, Right + + + 112, 167 + + + 113, 21 + + + 14 + + + txtSiteID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 0 + + + Top, Left, Right + + + SnCoating + + + Paint + + + Others + + + 112, 117 + + + 113, 20 + + + 15 + + + cboxConfigName + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 1 + + + True + + + 31, 217 + + + 71, 12 + + + 16 + + + Sublotname: + + + MiddleLeft + + + label18 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 2 + + + Top, Left, Right + + + 112, 214 + + + 113, 21 + + + 17 + + + txtSubLotName + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 3 + + + True + + + 31, 120 + + + 71, 12 + + + 18 + + + ConfigName: + + + MiddleLeft + + + label19 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 4 + + + True + + + 55, 167 + + + 47, 12 + + + 19 + + + SiteID: + + + MiddleLeft + + + label20 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 5 + + + True + + + 37, 264 + + + 65, 12 + + + 20 + + + ProjectID: + + + MiddleLeft + + + label21 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 6 + + + Top, Left, Right + + + 112, 261 + + + 113, 21 + + + 21 + + + txtProjectID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 7 + + + Top, Left, Right + + + 112, 77 + + + 113, 21 + + + 12 + + + txtConfig + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 8 + + + True + + + 43, 80 + + + 59, 12 + + + 13 + + + ConfigID: + + + MiddleLeft + + + label17 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 9 + + + 112, 38 + + + 113, 21 + + + 11 + + + txtMachineID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 10 + + + True + + + NoControl + + + 37, 41 + + + 65, 12 + + + 10 + + + MachineID: + + + label5 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox3 + + + 11 + Fill @@ -483,6 +813,9 @@ 英文 + + False + cboxMsgShowEn @@ -513,6 +846,9 @@ 中文 + + False + cboxMsgShowCn @@ -669,27 +1005,6 @@ 7 - - 155, 148 - - - 121, 21 - - - 11 - - - txtMachineID - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 8 - True @@ -718,7 +1033,7 @@ groupBox1 - 9 + 8 True @@ -748,7 +1063,7 @@ groupBox1 - 10 + 9 True @@ -768,6 +1083,9 @@ 弹框语言: + + False + label10 @@ -778,7 +1096,7 @@ groupBox1 - 11 + 10 True @@ -808,7 +1126,7 @@ groupBox1 - 12 + 11 True @@ -838,160 +1156,7 @@ groupBox1 - 13 - - - True - - - NoControl - - - 74, 151 - - - 65, 12 - - - 10 - - - MachineID: - - - label5 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 14 - - - True - - - NoControl - - - 510, 113 - - - 59, 12 - - - 10 - - - TestMode: - - - label14 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 15 - - - True - - - 80, 116 - - - 59, 12 - - - 10 - - - 测试方式: - - - label3 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 16 - - - Production - - - GRR - - - AUDIT - - - REL - - - DOE - - - 585, 110 - - - 121, 20 - - - 9 - - - cboxTestMode - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 17 - - - A - - - AAB - - - ABC - - - 155, 113 - - - 121, 20 - - - 9 - - - cboxTestMethod - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 18 + 12 Bottom, Right @@ -1108,7 +1273,7 @@ groupBox1 - 19 + 13 False @@ -1135,7 +1300,7 @@ groupBox1 - 20 + 14 False @@ -1162,7 +1327,7 @@ groupBox1 - 21 + 15 True @@ -1192,7 +1357,7 @@ groupBox1 - 22 + 16 True @@ -1222,7 +1387,7 @@ groupBox1 - 23 + 17 True @@ -1252,7 +1417,7 @@ groupBox1 - 24 + 18 True @@ -1282,7 +1447,7 @@ groupBox1 - 25 + 19 True @@ -1312,7 +1477,7 @@ groupBox1 - 26 + 20 True @@ -1342,7 +1507,7 @@ groupBox1 - 27 + 21 True @@ -1372,7 +1537,7 @@ groupBox1 - 28 + 22 True @@ -1402,7 +1567,7 @@ groupBox1 - 29 + 23 True @@ -1432,7 +1597,7 @@ groupBox1 - 30 + 24 True @@ -1462,7 +1627,7 @@ groupBox1 - 31 + 25 True @@ -1492,7 +1657,7 @@ groupBox1 - 32 + 26 True @@ -1522,7 +1687,7 @@ groupBox1 - 33 + 27 True @@ -1552,7 +1717,7 @@ groupBox1 - 34 + 28 True @@ -1582,7 +1747,7 @@ groupBox1 - 35 + 29 True @@ -1612,7 +1777,7 @@ groupBox1 - 36 + 30 False @@ -1639,7 +1804,7 @@ groupBox1 - 37 + 31 True @@ -1669,7 +1834,7 @@ groupBox1 - 38 + 32 True @@ -1699,7 +1864,7 @@ groupBox1 - 39 + 33 True @@ -1729,7 +1894,7 @@ groupBox1 - 40 + 34 True @@ -1759,7 +1924,7 @@ groupBox1 - 41 + 35 True @@ -1789,7 +1954,7 @@ groupBox1 - 42 + 36 True @@ -1819,7 +1984,7 @@ groupBox1 - 43 + 37 Fill