瀏覽代碼

202511251704

YJ2025020924 4 月之前
父節點
當前提交
0538cb69c9

+ 1 - 1
PlcCom/DeltaAxCommProtocol.cs

@@ -11,7 +11,7 @@ namespace PlcCom
 {
     public class DeltaAxPLCNetConfig
     {
-        private string axIP = "192.168.1.10";
+        private string axIP = "192.168.0.10";
 
         public string GetAxIP()
         {

+ 79 - 45
YangjieTester/主界面/ConsumablesSettingForm.Designer.cs

@@ -67,6 +67,7 @@
             this.txt吸嘴寿命8 = new PlcUiControl.PlcUiNumberInput();
             this.txt吸嘴寿命9 = new PlcUiControl.PlcUiNumberInput();
             this.txt吸嘴寿命10 = new PlcUiControl.PlcUiNumberInput();
+            this.plcUiButton1 = new PlcUiControl.PlcUiButton();
             this.SuspendLayout();
             // 
             // lblCaption2
@@ -94,7 +95,7 @@
             this.plcUiNumberDisplay1.Location = new System.Drawing.Point(183, 75);
             this.plcUiNumberDisplay1.Name = "plcUiNumberDisplay1";
             this.plcUiNumberDisplay1.Preffix = null;
-            this.plcUiNumberDisplay1.ReadNode = new Node("Application.GVL_A05_Auto.udi测试1测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay1.ReadNode = new Node("Application.A04_TestStation_Auto.udi测试1测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay1.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay1.Suffix = null;
             this.plcUiNumberDisplay1.TabIndex = 10;
@@ -115,7 +116,7 @@
             this.plcUiNumberDisplay2.Location = new System.Drawing.Point(183, 115);
             this.plcUiNumberDisplay2.Name = "plcUiNumberDisplay2";
             this.plcUiNumberDisplay2.Preffix = null;
-            this.plcUiNumberDisplay2.ReadNode = new Node("Application.GVL_A06_Auto.udi测试2测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay2.ReadNode = new Node("Application.A04_TestStation_Auto.udi测试1测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay2.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay2.Suffix = null;
             this.plcUiNumberDisplay2.TabIndex = 12;
@@ -136,7 +137,7 @@
             this.plcUiNumberDisplay3.Location = new System.Drawing.Point(183, 155);
             this.plcUiNumberDisplay3.Name = "plcUiNumberDisplay3";
             this.plcUiNumberDisplay3.Preffix = null;
-            this.plcUiNumberDisplay3.ReadNode = new Node("Application.GVL_A07_Auto.udi测试3测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay3.ReadNode = new Node("Application.A05_TestStation_Auto.udi测试2测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay3.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay3.Suffix = null;
             this.plcUiNumberDisplay3.TabIndex = 14;
@@ -157,7 +158,7 @@
             this.plcUiNumberDisplay4.Location = new System.Drawing.Point(183, 195);
             this.plcUiNumberDisplay4.Name = "plcUiNumberDisplay4";
             this.plcUiNumberDisplay4.Preffix = null;
-            this.plcUiNumberDisplay4.ReadNode = new Node("Application.GVL_A08_Auto.udi测试4测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay4.ReadNode = new Node("Application.A06_TestStation_Auto.udi测试3测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay4.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay4.Suffix = null;
             this.plcUiNumberDisplay4.TabIndex = 16;
@@ -178,7 +179,7 @@
             this.plcUiNumberDisplay5.Location = new System.Drawing.Point(183, 235);
             this.plcUiNumberDisplay5.Name = "plcUiNumberDisplay5";
             this.plcUiNumberDisplay5.Preffix = null;
-            this.plcUiNumberDisplay5.ReadNode = new Node("Application.GVL_A27_Auto.udi测试5测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay5.ReadNode = new Node("Application.A07_TestStation_Auto.udi测试4测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay5.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay5.Suffix = null;
             this.plcUiNumberDisplay5.TabIndex = 18;
@@ -199,7 +200,7 @@
             this.plcUiNumberDisplay6.Location = new System.Drawing.Point(183, 275);
             this.plcUiNumberDisplay6.Name = "plcUiNumberDisplay6";
             this.plcUiNumberDisplay6.Preffix = null;
-            this.plcUiNumberDisplay6.ReadNode = new Node("Application.GVL_A15_Auto.udi热测机测试片使用计数", NodeType.UDINT, null);
+            this.plcUiNumberDisplay6.ReadNode = new Node("Application.A25_TestStation_Auto.udi测试5测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay6.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay6.Suffix = null;
             this.plcUiNumberDisplay6.TabIndex = 20;
@@ -220,7 +221,7 @@
             this.plcUiNumberDisplay7.Location = new System.Drawing.Point(183, 315);
             this.plcUiNumberDisplay7.Name = "plcUiNumberDisplay7";
             this.plcUiNumberDisplay7.Preffix = null;
-            this.plcUiNumberDisplay7.ReadNode = null;
+            this.plcUiNumberDisplay7.ReadNode = new Node("Application.A14_ThermalTest_Auto.udi热测机测试片使用计数", NodeType.UDINT, null);
             this.plcUiNumberDisplay7.Size = new System.Drawing.Size(90, 40);
             this.plcUiNumberDisplay7.Suffix = null;
             this.plcUiNumberDisplay7.TabIndex = 22;
@@ -301,7 +302,7 @@
             this.btn测试站1测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn测试站1测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn测试站1测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn测试站1测试片计数清零.Location = new System.Drawing.Point(275, 75);
+            this.btn测试站1测试片计数清零.Location = new System.Drawing.Point(275, 76);
             this.btn测试站1测试片计数清零.Maximum = 0D;
             this.btn测试站1测试片计数清零.Minimum = 0D;
             this.btn测试站1测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -313,13 +314,13 @@
             this.btn测试站1测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn测试站1测试片计数清零.OnSymbol = 0;
             this.btn测试站1测试片计数清零.OnText = "清零";
-            this.btn测试站1测试片计数清零.ReadNode = new Node("Application.GVL_A05_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站1测试片计数清零.ReadNode = new Node("Application.A02_TestStation_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
             this.btn测试站1测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn测试站1测试片计数清零.Symbol = 0;
             this.btn测试站1测试片计数清零.TabIndex = 217;
             this.btn测试站1测试片计数清零.Text = "清零";
             this.btn测试站1测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn测试站1测试片计数清零.WriteNode = new Node("Application.GVL_A05_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站1测试片计数清零.WriteNode = new Node("Application.A02_TestStation_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
             // 
             // label37
             // 
@@ -355,6 +356,7 @@
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(90, 40);
             this.label7.TabIndex = 225;
+            this.label7.Text = "热测站测试片";
             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label6
@@ -364,7 +366,7 @@
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(90, 40);
             this.label6.TabIndex = 224;
-            this.label6.Text = "测站测试片";
+            this.label6.Text = "测5测试片";
             this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label5
@@ -374,7 +376,7 @@
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(90, 40);
             this.label5.TabIndex = 223;
-            this.label5.Text = "测试站5测试片";
+            this.label5.Text = "测试站4测试片";
             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label4
@@ -384,7 +386,7 @@
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(90, 40);
             this.label4.TabIndex = 222;
-            this.label4.Text = "测试站4测试片";
+            this.label4.Text = "测试站3测试片";
             this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label3
@@ -394,7 +396,7 @@
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(90, 40);
             this.label3.TabIndex = 221;
-            this.label3.Text = "测试站3测试片";
+            this.label3.Text = "测试站2测试片";
             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label2
@@ -404,7 +406,7 @@
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(90, 40);
             this.label2.TabIndex = 220;
-            this.label2.Text = "测试站2测试片";
+            this.label2.Text = "测试站1测试片";
             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // label1
@@ -414,7 +416,7 @@
             this.label1.Name = "label1";
             this.label1.Size = new System.Drawing.Size(90, 40);
             this.label1.TabIndex = 219;
-            this.label1.Text = "测试站1测试片";
+            this.label1.Text = "电极性测试站测试片";
             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // lblCaption1
@@ -439,7 +441,7 @@
             this.btn测试站2测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn测试站2测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn测试站2测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn测试站2测试片计数清零.Location = new System.Drawing.Point(275, 115);
+            this.btn测试站2测试片计数清零.Location = new System.Drawing.Point(275, 116);
             this.btn测试站2测试片计数清零.Maximum = 0D;
             this.btn测试站2测试片计数清零.Minimum = 0D;
             this.btn测试站2测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -451,13 +453,13 @@
             this.btn测试站2测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn测试站2测试片计数清零.OnSymbol = 0;
             this.btn测试站2测试片计数清零.OnText = "清零";
-            this.btn测试站2测试片计数清零.ReadNode = new Node("Application.GVL_A06_Auto.b测试2测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站2测试片计数清零.ReadNode = new Node("Application.A04_TestStation_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
             this.btn测试站2测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn测试站2测试片计数清零.Symbol = 0;
             this.btn测试站2测试片计数清零.TabIndex = 262;
             this.btn测试站2测试片计数清零.Text = "清零";
             this.btn测试站2测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn测试站2测试片计数清零.WriteNode = new Node("Application.GVL_A06_Auto.b测试2测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站2测试片计数清零.WriteNode = new Node("Application.A04_TestStation_Auto.b测试1测试片使用计数清除", NodeType.BOOL, null);
             // 
             // btn测试站3测试片计数清零
             // 
@@ -469,7 +471,7 @@
             this.btn测试站3测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn测试站3测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn测试站3测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn测试站3测试片计数清零.Location = new System.Drawing.Point(275, 155);
+            this.btn测试站3测试片计数清零.Location = new System.Drawing.Point(275, 156);
             this.btn测试站3测试片计数清零.Maximum = 0D;
             this.btn测试站3测试片计数清零.Minimum = 0D;
             this.btn测试站3测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -481,13 +483,13 @@
             this.btn测试站3测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn测试站3测试片计数清零.OnSymbol = 0;
             this.btn测试站3测试片计数清零.OnText = "清零";
-            this.btn测试站3测试片计数清零.ReadNode = new Node("Application.GVL_A07_Auto.b测试3测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站3测试片计数清零.ReadNode = new Node("Application.A05_TestStation_Auto.b测试2测试片使用计数清除", NodeType.BOOL, null);
             this.btn测试站3测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn测试站3测试片计数清零.Symbol = 0;
             this.btn测试站3测试片计数清零.TabIndex = 263;
             this.btn测试站3测试片计数清零.Text = "清零";
             this.btn测试站3测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn测试站3测试片计数清零.WriteNode = new Node("Application.GVL_A07_Auto.b测试3测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站3测试片计数清零.WriteNode = new Node("Application.A05_TestStation_Auto.b测试2测试片使用计数清除", NodeType.BOOL, null);
             // 
             // btn测试站4测试片计数清零
             // 
@@ -499,7 +501,7 @@
             this.btn测试站4测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn测试站4测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn测试站4测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn测试站4测试片计数清零.Location = new System.Drawing.Point(275, 195);
+            this.btn测试站4测试片计数清零.Location = new System.Drawing.Point(275, 196);
             this.btn测试站4测试片计数清零.Maximum = 0D;
             this.btn测试站4测试片计数清零.Minimum = 0D;
             this.btn测试站4测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -511,13 +513,13 @@
             this.btn测试站4测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn测试站4测试片计数清零.OnSymbol = 0;
             this.btn测试站4测试片计数清零.OnText = "清零";
-            this.btn测试站4测试片计数清零.ReadNode = new Node("Application.GVL_A08_Auto.b测试4测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站4测试片计数清零.ReadNode = new Node("Application.A06_TestStation_Auto.b测试3测试片使用计数清除", NodeType.BOOL, null);
             this.btn测试站4测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn测试站4测试片计数清零.Symbol = 0;
             this.btn测试站4测试片计数清零.TabIndex = 264;
             this.btn测试站4测试片计数清零.Text = "清零";
             this.btn测试站4测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn测试站4测试片计数清零.WriteNode = new Node("Application.GVL_A08_Auto.b测试4测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站4测试片计数清零.WriteNode = new Node("Application.A06_TestStation_Auto.b测试3测试片使用计数清除", NodeType.BOOL, null);
             // 
             // btn测试站5测试片计数清零
             // 
@@ -529,7 +531,7 @@
             this.btn测试站5测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn测试站5测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn测试站5测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn测试站5测试片计数清零.Location = new System.Drawing.Point(275, 235);
+            this.btn测试站5测试片计数清零.Location = new System.Drawing.Point(275, 236);
             this.btn测试站5测试片计数清零.Maximum = 0D;
             this.btn测试站5测试片计数清零.Minimum = 0D;
             this.btn测试站5测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -541,13 +543,13 @@
             this.btn测试站5测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn测试站5测试片计数清零.OnSymbol = 0;
             this.btn测试站5测试片计数清零.OnText = "清零";
-            this.btn测试站5测试片计数清零.ReadNode = new Node("Application.GVL_A27_Auto.b测试5测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站5测试片计数清零.ReadNode = new Node("Application.A07_TestStation_Auto.b测试4测试片使用计数清除", NodeType.BOOL, null);
             this.btn测试站5测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn测试站5测试片计数清零.Symbol = 0;
             this.btn测试站5测试片计数清零.TabIndex = 265;
             this.btn测试站5测试片计数清零.Text = "清零";
             this.btn测试站5测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn测试站5测试片计数清零.WriteNode = new Node("Application.GVL_A27_Auto.b测试5测试片使用计数清除", NodeType.BOOL, null);
+            this.btn测试站5测试片计数清零.WriteNode = new Node("Application.A07_TestStation_Auto.b测试4测试片使用计数清除", NodeType.BOOL, null);
             // 
             // btn热测站测试片计数清零
             // 
@@ -559,7 +561,7 @@
             this.btn热测站测试片计数清零.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
             this.btn热测站测试片计数清零.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btn热测站测试片计数清零.InvisibilityTriggerNode = null;
-            this.btn热测站测试片计数清零.Location = new System.Drawing.Point(275, 275);
+            this.btn热测站测试片计数清零.Location = new System.Drawing.Point(275, 276);
             this.btn热测站测试片计数清零.Maximum = 0D;
             this.btn热测站测试片计数清零.Minimum = 0D;
             this.btn热测站测试片计数清零.MinimumSize = new System.Drawing.Size(1, 1);
@@ -571,13 +573,13 @@
             this.btn热测站测试片计数清零.OnColor = System.Drawing.Color.Olive;
             this.btn热测站测试片计数清零.OnSymbol = 0;
             this.btn热测站测试片计数清零.OnText = "清零";
-            this.btn热测站测试片计数清零.ReadNode = new Node("Application.GVL_A15_Auto.b热测机测试片使用计数清除", NodeType.BOOL, null);
+            this.btn热测站测试片计数清零.ReadNode = new Node("Application.A25_TestStation_Auto.b测试5测试片使用计数清除", NodeType.BOOL, null);
             this.btn热测站测试片计数清零.Size = new System.Drawing.Size(50, 36);
             this.btn热测站测试片计数清零.Symbol = 0;
             this.btn热测站测试片计数清零.TabIndex = 266;
             this.btn热测站测试片计数清零.Text = "清零";
             this.btn热测站测试片计数清零.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn热测站测试片计数清零.WriteNode = new Node("Application.GVL_A15_Auto.b热测机测试片使用计数清除", NodeType.BOOL, null);
+            this.btn热测站测试片计数清零.WriteNode = new Node("Application.A25_TestStation_Auto.b测试5测试片使用计数清除", NodeType.BOOL, null);
             // 
             // label46
             // 
@@ -605,14 +607,14 @@
             this.txt测试站1测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt测试站1测试片寿命.Name = "txt测试站1测试片寿命";
             this.txt测试站1测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt测试站1测试片寿命.ReadNode = new Node("Application.GVL_A05_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站1测试片寿命.ReadNode = new Node("Application.A02_TestStation_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
             this.txt测试站1测试片寿命.ShowText = false;
             this.txt测试站1测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt测试站1测试片寿命.TabIndex = 302;
             this.txt测试站1测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt测试站1测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt测试站1测试片寿命.Watermark = "";
-            this.txt测试站1测试片寿命.WriteNode = new Node("Application.GVL_A05_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站1测试片寿命.WriteNode = new Node("Application.A02_TestStation_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt测试站2测试片寿命
             // 
@@ -628,14 +630,14 @@
             this.txt测试站2测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt测试站2测试片寿命.Name = "txt测试站2测试片寿命";
             this.txt测试站2测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt测试站2测试片寿命.ReadNode = new Node("Application.GVL_A06_Auto.udi测试2测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站2测试片寿命.ReadNode = new Node("Application.A04_TestStation_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
             this.txt测试站2测试片寿命.ShowText = false;
             this.txt测试站2测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt测试站2测试片寿命.TabIndex = 303;
             this.txt测试站2测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt测试站2测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt测试站2测试片寿命.Watermark = "";
-            this.txt测试站2测试片寿命.WriteNode = new Node("Application.GVL_A06_Auto.udi测试2测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站2测试片寿命.WriteNode = new Node("Application.A04_TestStation_Auto.udi测试1测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt测试站3测试片寿命
             // 
@@ -651,14 +653,14 @@
             this.txt测试站3测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt测试站3测试片寿命.Name = "txt测试站3测试片寿命";
             this.txt测试站3测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt测试站3测试片寿命.ReadNode = new Node("Application.GVL_A07_Auto.udi测试3测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站3测试片寿命.ReadNode = new Node("Application.A05_TestStation_Auto.udi测试2测试片寿命设定", NodeType.UDINT, null);
             this.txt测试站3测试片寿命.ShowText = false;
             this.txt测试站3测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt测试站3测试片寿命.TabIndex = 304;
             this.txt测试站3测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt测试站3测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt测试站3测试片寿命.Watermark = "";
-            this.txt测试站3测试片寿命.WriteNode = new Node("Application.GVL_A07_Auto.udi测试3测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站3测试片寿命.WriteNode = new Node("Application.A05_TestStation_Auto.udi测试2测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt测试站4测试片寿命
             // 
@@ -674,14 +676,14 @@
             this.txt测试站4测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt测试站4测试片寿命.Name = "txt测试站4测试片寿命";
             this.txt测试站4测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt测试站4测试片寿命.ReadNode = new Node("Application.GVL_A08_Auto.udi测试4测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站4测试片寿命.ReadNode = new Node("Application.A06_TestStation_Auto.udi测试3测试片寿命设定", NodeType.UDINT, null);
             this.txt测试站4测试片寿命.ShowText = false;
             this.txt测试站4测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt测试站4测试片寿命.TabIndex = 305;
             this.txt测试站4测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt测试站4测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt测试站4测试片寿命.Watermark = "";
-            this.txt测试站4测试片寿命.WriteNode = new Node("Application.GVL_A08_Auto.udi测试4测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站4测试片寿命.WriteNode = new Node("Application.A06_TestStation_Auto.udi测试3测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt测试站5测试片寿命
             // 
@@ -697,14 +699,14 @@
             this.txt测试站5测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt测试站5测试片寿命.Name = "txt测试站5测试片寿命";
             this.txt测试站5测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt测试站5测试片寿命.ReadNode = new Node("Application.GVL_A27_Auto.udi测试5测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站5测试片寿命.ReadNode = new Node("Application.A07_TestStation_Auto.udi测试4测试片寿命设定", NodeType.UDINT, null);
             this.txt测试站5测试片寿命.ShowText = false;
             this.txt测试站5测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt测试站5测试片寿命.TabIndex = 306;
             this.txt测试站5测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt测试站5测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt测试站5测试片寿命.Watermark = "";
-            this.txt测试站5测试片寿命.WriteNode = new Node("Application.GVL_A27_Auto.udi测试5测试片寿命设定", NodeType.UDINT, null);
+            this.txt测试站5测试片寿命.WriteNode = new Node("Application.A07_TestStation_Auto.udi测试4测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt热测站测试片寿命
             // 
@@ -720,14 +722,14 @@
             this.txt热测站测试片寿命.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt热测站测试片寿命.Name = "txt热测站测试片寿命";
             this.txt热测站测试片寿命.Padding = new System.Windows.Forms.Padding(5);
-            this.txt热测站测试片寿命.ReadNode = new Node("Application.GVL_A15_Auto.udi热测机测试片寿命设定", NodeType.UDINT, null);
+            this.txt热测站测试片寿命.ReadNode = new Node("Application.A25_TestStation_Auto.udi测试5测试片寿命设定", NodeType.UDINT, null);
             this.txt热测站测试片寿命.ShowText = false;
             this.txt热测站测试片寿命.Size = new System.Drawing.Size(90, 40);
             this.txt热测站测试片寿命.TabIndex = 307;
             this.txt热测站测试片寿命.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt热测站测试片寿命.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt热测站测试片寿命.Watermark = "";
-            this.txt热测站测试片寿命.WriteNode = new Node("Application.GVL_A15_Auto.udi热测机测试片寿命设定", NodeType.UDINT, null);
+            this.txt热测站测试片寿命.WriteNode = new Node("Application.A25_TestStation_Auto.udi测试5测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt吸嘴寿命7
             // 
@@ -743,14 +745,14 @@
             this.txt吸嘴寿命7.MinimumSize = new System.Drawing.Size(1, 16);
             this.txt吸嘴寿命7.Name = "txt吸嘴寿命7";
             this.txt吸嘴寿命7.Padding = new System.Windows.Forms.Padding(5);
-            this.txt吸嘴寿命7.ReadNode = null;
+            this.txt吸嘴寿命7.ReadNode = new Node("Application.A14_ThermalTest_Auto.udi热测机测试片寿命设定", NodeType.UDINT, null);
             this.txt吸嘴寿命7.ShowText = false;
             this.txt吸嘴寿命7.Size = new System.Drawing.Size(90, 40);
             this.txt吸嘴寿命7.TabIndex = 308;
             this.txt吸嘴寿命7.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.txt吸嘴寿命7.Type = Sunny.UI.UITextBox.UIEditType.Integer;
             this.txt吸嘴寿命7.Watermark = "";
-            this.txt吸嘴寿命7.WriteNode = null;
+            this.txt吸嘴寿命7.WriteNode = new Node("Application.A14_ThermalTest_Auto.udi热测机测试片寿命设定", NodeType.UDINT, null);
             // 
             // txt吸嘴寿命8
             // 
@@ -821,10 +823,41 @@
             this.txt吸嘴寿命10.Watermark = "";
             this.txt吸嘴寿命10.WriteNode = null;
             // 
+            // plcUiButton1
+            // 
+            this.plcUiButton1.ButtonType = PlcUiControl.ButtonType.保持型;
+            this.plcUiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.plcUiButton1.DisabilityTriggerNode = null;
+            this.plcUiButton1.FillColor = System.Drawing.Color.LightSeaGreen;
+            this.plcUiButton1.FillHoverColor = System.Drawing.Color.LightSeaGreen;
+            this.plcUiButton1.FillSelectedColor = System.Drawing.Color.LightSeaGreen;
+            this.plcUiButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.plcUiButton1.InvisibilityTriggerNode = null;
+            this.plcUiButton1.Location = new System.Drawing.Point(275, 317);
+            this.plcUiButton1.Maximum = 0D;
+            this.plcUiButton1.Minimum = 0D;
+            this.plcUiButton1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.plcUiButton1.Name = "plcUiButton1";
+            this.plcUiButton1.NeedUserEnsure = true;
+            this.plcUiButton1.OffColor = System.Drawing.Color.LightSeaGreen;
+            this.plcUiButton1.OffSymbol = 0;
+            this.plcUiButton1.OffText = "清零";
+            this.plcUiButton1.OnColor = System.Drawing.Color.Olive;
+            this.plcUiButton1.OnSymbol = 0;
+            this.plcUiButton1.OnText = "清零";
+            this.plcUiButton1.ReadNode = new Node("Application.A14_ThermalTest_Auto.b热测机测试片使用计数清除", NodeType.BOOL, null);
+            this.plcUiButton1.Size = new System.Drawing.Size(50, 36);
+            this.plcUiButton1.Symbol = 0;
+            this.plcUiButton1.TabIndex = 312;
+            this.plcUiButton1.Text = "清零";
+            this.plcUiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.plcUiButton1.WriteNode = new Node("Application.A14_ThermalTest_Auto.b热测机测试片使用计数清除", NodeType.BOOL, null);
+            // 
             // ConsumablesSettingForm
             // 
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
             this.ClientSize = new System.Drawing.Size(353, 486);
+            this.Controls.Add(this.plcUiButton1);
             this.Controls.Add(this.txt吸嘴寿命10);
             this.Controls.Add(this.txt吸嘴寿命9);
             this.Controls.Add(this.txt吸嘴寿命8);
@@ -914,5 +947,6 @@
         private PlcUiControl.PlcUiNumberInput txt吸嘴寿命8;
         private PlcUiControl.PlcUiNumberInput txt吸嘴寿命9;
         private PlcUiControl.PlcUiNumberInput txt吸嘴寿命10;
+        private PlcUiControl.PlcUiButton plcUiButton1;
     }
 }

File diff suppressed because it is too large
+ 112 - 547
YangjieTester/主界面/HomeForm.Designer.cs


+ 3 - 3
YangjieTester/工站操作/StationForms/Form33_封装站.Designer.cs

@@ -529,13 +529,13 @@
             this.btn工站启用.OnColor = System.Drawing.Color.Green;
             this.btn工站启用.OnSymbol = 0;
             this.btn工站启用.OnText = "工站启用";
-            this.btn工站启用.ReadNode = new Node("Application.Var_state.站位启用[37]", NodeType.BOOL, null);
+            this.btn工站启用.ReadNode = new Node("Application.Var_state.站位启用[33]", NodeType.BOOL, null);
             this.btn工站启用.Size = new System.Drawing.Size(229, 54);
             this.btn工站启用.Symbol = 0;
             this.btn工站启用.TabIndex = 163;
             this.btn工站启用.Text = "工站不启用";
             this.btn工站启用.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn工站启用.WriteNode = new Node("Application.Var_state.站位启用[37]", NodeType.BOOL, null);
+            this.btn工站启用.WriteNode = new Node("Application.Var_state.站位启用[33]", NodeType.BOOL, null);
             // 
             // uiTabControl1
             // 
@@ -3568,7 +3568,7 @@
             this.tabPage4.Controls.Add(this.uiGroupBox7);
             this.tabPage4.Location = new System.Drawing.Point(0, 40);
             this.tabPage4.Name = "tabPage4";
-            this.tabPage4.Size = new System.Drawing.Size(1276, 754);
+            this.tabPage4.Size = new System.Drawing.Size(200, 60);
             this.tabPage4.TabIndex = 3;
             this.tabPage4.Text = "马达参数设置";
             this.tabPage4.UseVisualStyleBackColor = true;

+ 2 - 2
YangjieTester/工站操作/StationForms/Form35_溢料盒.Designer.cs

@@ -99,13 +99,13 @@
             this.btn工站启用.OnColor = System.Drawing.Color.Green;
             this.btn工站启用.OnSymbol = 0;
             this.btn工站启用.OnText = "工站启用";
-            this.btn工站启用.ReadNode = null;
+            this.btn工站启用.ReadNode = new Node("Application.Var_state.站位启用[35]", NodeType.BOOL, null);
             this.btn工站启用.Size = new System.Drawing.Size(229, 54);
             this.btn工站启用.Symbol = 0;
             this.btn工站启用.TabIndex = 164;
             this.btn工站启用.Text = "工站不启用";
             this.btn工站启用.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btn工站启用.WriteNode = null;
+            this.btn工站启用.WriteNode = new Node("Application.Var_state.站位启用[35]", NodeType.BOOL, null);
             // 
             // uiTabControl1
             // 

Some files were not shown because too many files changed in this diff