Hcsy преди 7 години
родител
ревизия
c4ca0effbf
променени са 2 файла, в които са добавени 176 реда и са изтрити 176 реда
  1. 175 175
      UAS-出货标签管理(吉利通)/ParamSetting.Designer.cs
  2. 1 1
      UAS-出货标签管理(吉利通)/ParamSetting.cs

+ 175 - 175
UAS-出货标签管理(吉利通)/ParamSetting.Designer.cs

@@ -71,18 +71,34 @@
             this.label1 = new System.Windows.Forms.Label();
             this.Save = new UAS_LabelMachine.CustomControl.NormalButton();
             this.GPD1 = new UAS_LabelMachine.CustomControl.GroupBoxWithBorder.GroupBoxWithBorder();
+            this.label38 = new System.Windows.Forms.Label();
+            this.label34 = new System.Windows.Forms.Label();
+            this.MaterialTray = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.CheckMaterial = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.StackMaterial = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.DevError = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.DeviceStop = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.DataRecive = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.Devstop = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.DeviceStart = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.Devstart = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.label23 = new System.Windows.Forms.Label();
             this.label22 = new System.Windows.Forms.Label();
+            this.BackDataPass = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.label21 = new System.Windows.Forms.Label();
+            this.label24 = new System.Windows.Forms.Label();
+            this.label25 = new System.Windows.Forms.Label();
             this.label20 = new System.Windows.Forms.Label();
+            this.BackDataDelete = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.label19 = new System.Windows.Forms.Label();
+            this.label26 = new System.Windows.Forms.Label();
             this.label18 = new System.Windows.Forms.Label();
+            this.label27 = new System.Windows.Forms.Label();
+            this.label30 = new System.Windows.Forms.Label();
+            this.FrontDataPass = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.FrontDataDelete = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.label28 = new System.Windows.Forms.Label();
+            this.label29 = new System.Windows.Forms.Label();
             this.GPD2 = new UAS_LabelMachine.CustomControl.GroupBoxWithBorder.GroupBoxWithBorder();
             this.SplitBack = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.GuestLabelPre = new UAS_LabelMachine.CustomControl.EnterTextBox();
@@ -102,22 +118,6 @@
             this.label32 = new System.Windows.Forms.Label();
             this.label31 = new System.Windows.Forms.Label();
             this.normalButton1 = new UAS_LabelMachine.CustomControl.NormalButton();
-            this.label24 = new System.Windows.Forms.Label();
-            this.label25 = new System.Windows.Forms.Label();
-            this.label26 = new System.Windows.Forms.Label();
-            this.label27 = new System.Windows.Forms.Label();
-            this.label28 = new System.Windows.Forms.Label();
-            this.label29 = new System.Windows.Forms.Label();
-            this.label30 = new System.Windows.Forms.Label();
-            this.FrontDataDelete = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.FrontDataPass = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.BackDataDelete = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.BackDataPass = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.DeviceStart = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.DeviceStop = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.MaterialTray = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.label34 = new System.Windows.Forms.Label();
-            this.label38 = new System.Windows.Forms.Label();
             this.GP.SuspendLayout();
             this.GP5.SuspendLayout();
             this.GP4.SuspendLayout();
@@ -608,6 +608,35 @@
             this.GPD1.TabIndex = 2;
             this.GPD1.TabStop = false;
             // 
+            // label38
+            // 
+            this.label38.AutoSize = true;
+            this.label38.Location = new System.Drawing.Point(272, 17);
+            this.label38.Name = "label38";
+            this.label38.Size = new System.Drawing.Size(131, 12);
+            this.label38.TabIndex = 17;
+            this.label38.Text = "PC->PLC指令集(16进制)";
+            // 
+            // label34
+            // 
+            this.label34.AutoSize = true;
+            this.label34.Location = new System.Drawing.Point(13, 17);
+            this.label34.Name = "label34";
+            this.label34.Size = new System.Drawing.Size(131, 12);
+            this.label34.TabIndex = 16;
+            this.label34.Text = "PLC->PC指令集(16进制)";
+            // 
+            // MaterialTray
+            // 
+            this.MaterialTray.ID = null;
+            this.MaterialTray.Location = new System.Drawing.Point(676, 109);
+            this.MaterialTray.Name = "MaterialTray";
+            this.MaterialTray.Size = new System.Drawing.Size(95, 21);
+            this.MaterialTray.Str = null;
+            this.MaterialTray.Str1 = null;
+            this.MaterialTray.Str2 = null;
+            this.MaterialTray.TabIndex = 19;
+            // 
             // CheckMaterial
             // 
             this.CheckMaterial.ID = null;
@@ -617,7 +646,7 @@
             this.CheckMaterial.Str = null;
             this.CheckMaterial.Str1 = null;
             this.CheckMaterial.Str2 = null;
-            this.CheckMaterial.TabIndex = 8;
+            this.CheckMaterial.TabIndex = 12;
             // 
             // StackMaterial
             // 
@@ -641,6 +670,17 @@
             this.DevError.Str2 = null;
             this.DevError.TabIndex = 10;
             // 
+            // DeviceStop
+            // 
+            this.DeviceStop.ID = null;
+            this.DeviceStop.Location = new System.Drawing.Point(676, 76);
+            this.DeviceStop.Name = "DeviceStop";
+            this.DeviceStop.Size = new System.Drawing.Size(95, 21);
+            this.DeviceStop.Str = null;
+            this.DeviceStop.Str1 = null;
+            this.DeviceStop.Str2 = null;
+            this.DeviceStop.TabIndex = 18;
+            // 
             // DataRecive
             // 
             this.DataRecive.ID = null;
@@ -663,6 +703,17 @@
             this.Devstop.Str2 = null;
             this.Devstop.TabIndex = 8;
             // 
+            // DeviceStart
+            // 
+            this.DeviceStart.ID = null;
+            this.DeviceStart.Location = new System.Drawing.Point(676, 41);
+            this.DeviceStart.Name = "DeviceStart";
+            this.DeviceStart.Size = new System.Drawing.Size(95, 21);
+            this.DeviceStart.Str = null;
+            this.DeviceStart.Str1 = null;
+            this.DeviceStart.Str2 = null;
+            this.DeviceStart.TabIndex = 17;
+            // 
             // Devstart
             // 
             this.Devstart.ID = null;
@@ -692,6 +743,17 @@
             this.label22.TabIndex = 5;
             this.label22.Text = "堆叠物料到达:";
             // 
+            // BackDataPass
+            // 
+            this.BackDataPass.ID = null;
+            this.BackDataPass.Location = new System.Drawing.Point(421, 139);
+            this.BackDataPass.Name = "BackDataPass";
+            this.BackDataPass.Size = new System.Drawing.Size(95, 21);
+            this.BackDataPass.Str = null;
+            this.BackDataPass.Str1 = null;
+            this.BackDataPass.Str2 = null;
+            this.BackDataPass.TabIndex = 16;
+            // 
             // label21
             // 
             this.label21.AutoSize = true;
@@ -701,6 +763,24 @@
             this.label21.TabIndex = 4;
             this.label21.Text = "设备故障:";
             // 
+            // label24
+            // 
+            this.label24.AutoSize = true;
+            this.label24.Location = new System.Drawing.Point(272, 45);
+            this.label24.Name = "label24";
+            this.label24.Size = new System.Drawing.Size(143, 12);
+            this.label24.TabIndex = 2;
+            this.label24.Text = "前端扫描数据异常(剔除):";
+            // 
+            // label25
+            // 
+            this.label25.AutoSize = true;
+            this.label25.Location = new System.Drawing.Point(272, 82);
+            this.label25.Name = "label25";
+            this.label25.Size = new System.Drawing.Size(143, 12);
+            this.label25.TabIndex = 3;
+            this.label25.Text = "前端扫描数据异常(放行):";
+            // 
             // label20
             // 
             this.label20.AutoSize = true;
@@ -710,6 +790,17 @@
             this.label20.TabIndex = 3;
             this.label20.Text = "数据接收成功:";
             // 
+            // BackDataDelete
+            // 
+            this.BackDataDelete.ID = null;
+            this.BackDataDelete.Location = new System.Drawing.Point(421, 112);
+            this.BackDataDelete.Name = "BackDataDelete";
+            this.BackDataDelete.Size = new System.Drawing.Size(95, 21);
+            this.BackDataDelete.Str = null;
+            this.BackDataDelete.Str1 = null;
+            this.BackDataDelete.Str2 = null;
+            this.BackDataDelete.TabIndex = 15;
+            // 
             // label19
             // 
             this.label19.AutoSize = true;
@@ -719,6 +810,15 @@
             this.label19.TabIndex = 2;
             this.label19.Text = "设备停止:";
             // 
+            // label26
+            // 
+            this.label26.AutoSize = true;
+            this.label26.Location = new System.Drawing.Point(272, 113);
+            this.label26.Name = "label26";
+            this.label26.Size = new System.Drawing.Size(143, 12);
+            this.label26.TabIndex = 4;
+            this.label26.Text = "后端复核数据异常(剔除):";
+            // 
             // label18
             // 
             this.label18.AutoSize = true;
@@ -728,6 +828,64 @@
             this.label18.TabIndex = 1;
             this.label18.Text = "设备启动:";
             // 
+            // label27
+            // 
+            this.label27.AutoSize = true;
+            this.label27.Location = new System.Drawing.Point(272, 146);
+            this.label27.Name = "label27";
+            this.label27.Size = new System.Drawing.Size(143, 12);
+            this.label27.TabIndex = 5;
+            this.label27.Text = "后端复核数据异常(放行):";
+            // 
+            // label30
+            // 
+            this.label30.AutoSize = true;
+            this.label30.Location = new System.Drawing.Point(542, 113);
+            this.label30.Name = "label30";
+            this.label30.Size = new System.Drawing.Size(59, 12);
+            this.label30.TabIndex = 8;
+            this.label30.Text = "料盘叠料:";
+            // 
+            // FrontDataPass
+            // 
+            this.FrontDataPass.ID = null;
+            this.FrontDataPass.Location = new System.Drawing.Point(421, 77);
+            this.FrontDataPass.Name = "FrontDataPass";
+            this.FrontDataPass.Size = new System.Drawing.Size(95, 21);
+            this.FrontDataPass.Str = null;
+            this.FrontDataPass.Str1 = null;
+            this.FrontDataPass.Str2 = null;
+            this.FrontDataPass.TabIndex = 14;
+            // 
+            // FrontDataDelete
+            // 
+            this.FrontDataDelete.ID = null;
+            this.FrontDataDelete.Location = new System.Drawing.Point(421, 42);
+            this.FrontDataDelete.Name = "FrontDataDelete";
+            this.FrontDataDelete.Size = new System.Drawing.Size(95, 21);
+            this.FrontDataDelete.Str = null;
+            this.FrontDataDelete.Str1 = null;
+            this.FrontDataDelete.Str2 = null;
+            this.FrontDataDelete.TabIndex = 13;
+            // 
+            // label28
+            // 
+            this.label28.AutoSize = true;
+            this.label28.Location = new System.Drawing.Point(542, 45);
+            this.label28.Name = "label28";
+            this.label28.Size = new System.Drawing.Size(83, 12);
+            this.label28.TabIndex = 6;
+            this.label28.Text = "设备开始动作:";
+            // 
+            // label29
+            // 
+            this.label29.AutoSize = true;
+            this.label29.Location = new System.Drawing.Point(542, 82);
+            this.label29.Name = "label29";
+            this.label29.Size = new System.Drawing.Size(59, 12);
+            this.label29.TabIndex = 7;
+            this.label29.Text = "设备停止:";
+            // 
             // GPD2
             // 
             this.GPD2.Controls.Add(this.SplitBack);
@@ -932,164 +1090,6 @@
             this.normalButton1.Text = "刷新条码规则";
             this.normalButton1.UseVisualStyleBackColor = true;
             // 
-            // label24
-            // 
-            this.label24.AutoSize = true;
-            this.label24.Location = new System.Drawing.Point(272, 45);
-            this.label24.Name = "label24";
-            this.label24.Size = new System.Drawing.Size(143, 12);
-            this.label24.TabIndex = 2;
-            this.label24.Text = "前端扫描数据异常(剔除):";
-            // 
-            // label25
-            // 
-            this.label25.AutoSize = true;
-            this.label25.Location = new System.Drawing.Point(272, 82);
-            this.label25.Name = "label25";
-            this.label25.Size = new System.Drawing.Size(143, 12);
-            this.label25.TabIndex = 3;
-            this.label25.Text = "前端扫描数据异常(放行):";
-            // 
-            // label26
-            // 
-            this.label26.AutoSize = true;
-            this.label26.Location = new System.Drawing.Point(272, 113);
-            this.label26.Name = "label26";
-            this.label26.Size = new System.Drawing.Size(143, 12);
-            this.label26.TabIndex = 4;
-            this.label26.Text = "后端复核数据异常(剔除):";
-            // 
-            // label27
-            // 
-            this.label27.AutoSize = true;
-            this.label27.Location = new System.Drawing.Point(272, 146);
-            this.label27.Name = "label27";
-            this.label27.Size = new System.Drawing.Size(143, 12);
-            this.label27.TabIndex = 5;
-            this.label27.Text = "后端复核数据异常(放行):";
-            // 
-            // label28
-            // 
-            this.label28.AutoSize = true;
-            this.label28.Location = new System.Drawing.Point(542, 45);
-            this.label28.Name = "label28";
-            this.label28.Size = new System.Drawing.Size(83, 12);
-            this.label28.TabIndex = 6;
-            this.label28.Text = "设备开始动作:";
-            // 
-            // label29
-            // 
-            this.label29.AutoSize = true;
-            this.label29.Location = new System.Drawing.Point(542, 82);
-            this.label29.Name = "label29";
-            this.label29.Size = new System.Drawing.Size(59, 12);
-            this.label29.TabIndex = 7;
-            this.label29.Text = "设备停止:";
-            // 
-            // label30
-            // 
-            this.label30.AutoSize = true;
-            this.label30.Location = new System.Drawing.Point(542, 113);
-            this.label30.Name = "label30";
-            this.label30.Size = new System.Drawing.Size(59, 12);
-            this.label30.TabIndex = 8;
-            this.label30.Text = "料盘叠料:";
-            // 
-            // FrontDataDelete
-            // 
-            this.FrontDataDelete.ID = null;
-            this.FrontDataDelete.Location = new System.Drawing.Point(421, 42);
-            this.FrontDataDelete.Name = "FrontDataDelete";
-            this.FrontDataDelete.Size = new System.Drawing.Size(95, 21);
-            this.FrontDataDelete.Str = null;
-            this.FrontDataDelete.Str1 = null;
-            this.FrontDataDelete.Str2 = null;
-            this.FrontDataDelete.TabIndex = 9;
-            // 
-            // FrontDataPass
-            // 
-            this.FrontDataPass.ID = null;
-            this.FrontDataPass.Location = new System.Drawing.Point(421, 77);
-            this.FrontDataPass.Name = "FrontDataPass";
-            this.FrontDataPass.Size = new System.Drawing.Size(95, 21);
-            this.FrontDataPass.Str = null;
-            this.FrontDataPass.Str1 = null;
-            this.FrontDataPass.Str2 = null;
-            this.FrontDataPass.TabIndex = 10;
-            // 
-            // BackDataDelete
-            // 
-            this.BackDataDelete.ID = null;
-            this.BackDataDelete.Location = new System.Drawing.Point(421, 112);
-            this.BackDataDelete.Name = "BackDataDelete";
-            this.BackDataDelete.Size = new System.Drawing.Size(95, 21);
-            this.BackDataDelete.Str = null;
-            this.BackDataDelete.Str1 = null;
-            this.BackDataDelete.Str2 = null;
-            this.BackDataDelete.TabIndex = 11;
-            // 
-            // BackDataPass
-            // 
-            this.BackDataPass.ID = null;
-            this.BackDataPass.Location = new System.Drawing.Point(421, 139);
-            this.BackDataPass.Name = "BackDataPass";
-            this.BackDataPass.Size = new System.Drawing.Size(95, 21);
-            this.BackDataPass.Str = null;
-            this.BackDataPass.Str1 = null;
-            this.BackDataPass.Str2 = null;
-            this.BackDataPass.TabIndex = 12;
-            // 
-            // DeviceStart
-            // 
-            this.DeviceStart.ID = null;
-            this.DeviceStart.Location = new System.Drawing.Point(676, 41);
-            this.DeviceStart.Name = "DeviceStart";
-            this.DeviceStart.Size = new System.Drawing.Size(95, 21);
-            this.DeviceStart.Str = null;
-            this.DeviceStart.Str1 = null;
-            this.DeviceStart.Str2 = null;
-            this.DeviceStart.TabIndex = 13;
-            // 
-            // DeviceStop
-            // 
-            this.DeviceStop.ID = null;
-            this.DeviceStop.Location = new System.Drawing.Point(676, 76);
-            this.DeviceStop.Name = "DeviceStop";
-            this.DeviceStop.Size = new System.Drawing.Size(95, 21);
-            this.DeviceStop.Str = null;
-            this.DeviceStop.Str1 = null;
-            this.DeviceStop.Str2 = null;
-            this.DeviceStop.TabIndex = 14;
-            // 
-            // MaterialTray
-            // 
-            this.MaterialTray.ID = null;
-            this.MaterialTray.Location = new System.Drawing.Point(676, 109);
-            this.MaterialTray.Name = "MaterialTray";
-            this.MaterialTray.Size = new System.Drawing.Size(95, 21);
-            this.MaterialTray.Str = null;
-            this.MaterialTray.Str1 = null;
-            this.MaterialTray.Str2 = null;
-            this.MaterialTray.TabIndex = 15;
-            // 
-            // label34
-            // 
-            this.label34.AutoSize = true;
-            this.label34.Location = new System.Drawing.Point(13, 17);
-            this.label34.Name = "label34";
-            this.label34.Size = new System.Drawing.Size(131, 12);
-            this.label34.TabIndex = 16;
-            this.label34.Text = "PLC->PC指令集(16进制)";
-            // 
-            // label38
-            // 
-            this.label38.AutoSize = true;
-            this.label38.Location = new System.Drawing.Point(272, 17);
-            this.label38.Name = "label38";
-            this.label38.Size = new System.Drawing.Size(131, 12);
-            this.label38.TabIndex = 17;
-            this.label38.Text = "PC->PLC指令集(16进制)";
-            // 
             // ParamSetting
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);

+ 1 - 1
UAS-出货标签管理(吉利通)/ParamSetting.cs

@@ -31,7 +31,7 @@ namespace UAS_LabelMachine
 
         private void ParamSetting_Load(object sender, EventArgs e)
         {
-            dbhelper = new AccessDBHelper(@"C:\Users\Hcsy\Desktop\LabelPrint.accdb");
+            dbhelper = new AccessDBHelper("LabelPrint.accdb");
             loaddata();
         }