From b0a4c47dd74bc41c5df3bab6ddd8de7bcc6a52b0 Mon Sep 17 00:00:00 2001
From: patrick <patrick.xu@broconcentric.com>
Date: 星期五, 06 十二月 2019 18:35:42 +0800
Subject: [PATCH] 1. 重新整理项目,按照A034模式,将设备异步操作修改为类同步操作。使用任务队列来存储和分配任务。

---
 src/A032.Config/ConfigFrm.designer.cs |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 53 insertions(+), 4 deletions(-)

diff --git a/src/A032.Config/ConfigFrm.designer.cs b/src/A032.Config/ConfigFrm.designer.cs
index 5c1f834..5b9fb52 100644
--- a/src/A032.Config/ConfigFrm.designer.cs
+++ b/src/A032.Config/ConfigFrm.designer.cs
@@ -75,6 +75,10 @@
             this.cboProductionCode = new System.Windows.Forms.ComboBox();
             this.statusStrip1 = new System.Windows.Forms.StatusStrip();
             this.tsslLoginStatus = new System.Windows.Forms.ToolStripStatusLabel();
+            this.cboDevices = new System.Windows.Forms.ComboBox();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label6 = new System.Windows.Forms.Label();
+            this.cboCalibDevices = new System.Windows.Forms.ComboBox();
             this.tabControl1.SuspendLayout();
             this.tbConfig.SuspendLayout();
             this.tbCalibration.SuspendLayout();
@@ -162,6 +166,8 @@
             // 
             // tbCalibration
             // 
+            this.tbCalibration.Controls.Add(this.label6);
+            this.tbCalibration.Controls.Add(this.cboCalibDevices);
             this.tbCalibration.Controls.Add(this.label1);
             this.tbCalibration.Controls.Add(this.propCalibrationConfig);
             this.tbCalibration.Controls.Add(this.btnStartCalibration);
@@ -177,7 +183,7 @@
             // label1
             // 
             this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(22, 20);
+            this.label1.Location = new System.Drawing.Point(262, 12);
             this.label1.Name = "label1";
             this.label1.Size = new System.Drawing.Size(53, 12);
             this.label1.TabIndex = 7;
@@ -211,7 +217,7 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.cboCalibrationMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cboCalibrationMethod.FormattingEnabled = true;
-            this.cboCalibrationMethod.Location = new System.Drawing.Point(12, 41);
+            this.cboCalibrationMethod.Location = new System.Drawing.Point(252, 33);
             this.cboCalibrationMethod.Name = "cboCalibrationMethod";
             this.cboCalibrationMethod.Size = new System.Drawing.Size(185, 20);
             this.cboCalibrationMethod.TabIndex = 4;
@@ -220,8 +226,10 @@
             // 
             this.tbTest.Controls.Add(this.label3);
             this.tbTest.Controls.Add(this.txtInvokeTimes);
+            this.tbTest.Controls.Add(this.label5);
             this.tbTest.Controls.Add(this.label2);
             this.tbTest.Controls.Add(this.propGridTestMethod);
+            this.tbTest.Controls.Add(this.cboDevices);
             this.tbTest.Controls.Add(this.btnTrigger);
             this.tbTest.Controls.Add(this.cboTestMethod);
             this.tbTest.Location = new System.Drawing.Point(4, 22);
@@ -254,7 +262,7 @@
             // label2
             // 
             this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(21, 13);
+            this.label2.Location = new System.Drawing.Point(262, 12);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(53, 12);
             this.label2.TabIndex = 11;
@@ -288,7 +296,7 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.cboTestMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cboTestMethod.FormattingEnabled = true;
-            this.cboTestMethod.Location = new System.Drawing.Point(11, 34);
+            this.cboTestMethod.Location = new System.Drawing.Point(252, 33);
             this.cboTestMethod.Name = "cboTestMethod";
             this.cboTestMethod.Size = new System.Drawing.Size(185, 20);
             this.cboTestMethod.TabIndex = 9;
@@ -606,6 +614,43 @@
             this.tsslLoginStatus.Text = "鏈櫥褰�";
             this.tsslLoginStatus.Click += new System.EventHandler(this.tsslLoginStatus_Click);
             // 
+            // cboDevices
+            // 
+            this.cboDevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cboDevices.FormattingEnabled = true;
+            this.cboDevices.Location = new System.Drawing.Point(21, 33);
+            this.cboDevices.Name = "cboDevices";
+            this.cboDevices.Size = new System.Drawing.Size(185, 20);
+            this.cboDevices.TabIndex = 9;
+            this.cboDevices.SelectedIndexChanged += new System.EventHandler(this.cboTestMethod_SelectedIndexChanged);
+            // 
+            // label5
+            // 
+            this.label5.AutoSize = true;
+            this.label5.Location = new System.Drawing.Point(31, 12);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(53, 12);
+            this.label5.TabIndex = 11;
+            this.label5.Text = "閫夋嫨璁惧";
+            // 
+            // label6
+            // 
+            this.label6.AutoSize = true;
+            this.label6.Location = new System.Drawing.Point(31, 12);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(53, 12);
+            this.label6.TabIndex = 13;
+            this.label6.Text = "閫夋嫨璁惧";
+            // 
+            // cboCalibDevices
+            // 
+            this.cboCalibDevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cboCalibDevices.FormattingEnabled = true;
+            this.cboCalibDevices.Location = new System.Drawing.Point(21, 33);
+            this.cboCalibDevices.Name = "cboCalibDevices";
+            this.cboCalibDevices.Size = new System.Drawing.Size(185, 20);
+            this.cboCalibDevices.TabIndex = 12;
+            // 
             // ConfigFrm
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -688,6 +733,10 @@
         private System.Windows.Forms.StatusStrip statusStrip1;
         private System.Windows.Forms.ToolStripStatusLabel tsslLoginStatus;
         private System.Windows.Forms.CheckBox chkHardwareTrigger;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.ComboBox cboDevices;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.ComboBox cboCalibDevices;
     }
 }
 

--
Gitblit v1.8.0