|
@ -29,8 +29,8 @@ |
|
|
private void InitializeComponent() |
|
|
private void InitializeComponent() |
|
|
{ |
|
|
{ |
|
|
this.components = new System.ComponentModel.Container(); |
|
|
this.components = new System.ComponentModel.Container(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
this.txtLastScanL = new System.Windows.Forms.TextBox(); |
|
|
this.txtLastScanL = new System.Windows.Forms.TextBox(); |
|
@ -46,9 +46,6 @@ |
|
|
this.btnSearch = new System.Windows.Forms.Button(); |
|
|
this.btnSearch = new System.Windows.Forms.Button(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.txtRightScan = new System.Windows.Forms.TextBox(); |
|
|
|
|
|
this.label9 = new System.Windows.Forms.Label(); |
|
|
|
|
|
this.label10 = new System.Windows.Forms.Label(); |
|
|
|
|
|
this.txtLeftScan = new System.Windows.Forms.TextBox(); |
|
|
this.txtLeftScan = new System.Windows.Forms.TextBox(); |
|
|
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.txtLowQty = new System.Windows.Forms.Label(); |
|
|
this.txtLowQty = new System.Windows.Forms.Label(); |
|
@ -68,19 +65,18 @@ |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.dgridScanRecords = new System.Windows.Forms.DataGridView(); |
|
|
this.dgridScanRecords = new System.Windows.Forms.DataGridView(); |
|
|
this.塑件唯一码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.零件号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.位置 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.配置 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.生产时间 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.txtAllQty = new System.Windows.Forms.Label(); |
|
|
this.txtAllQty = new System.Windows.Forms.Label(); |
|
|
this.panel3 = new System.Windows.Forms.Panel(); |
|
|
this.panel3 = new System.Windows.Forms.Panel(); |
|
|
this.panel4 = new System.Windows.Forms.Panel(); |
|
|
this.panel4 = new System.Windows.Forms.Panel(); |
|
|
this.lbTime = new System.Windows.Forms.Label(); |
|
|
this.lbTime = new System.Windows.Forms.Label(); |
|
|
this.label11 = new System.Windows.Forms.Label(); |
|
|
this.label11 = new System.Windows.Forms.Label(); |
|
|
this.focusTimer = new System.Windows.Forms.Timer(this.components); |
|
|
this.focusTimer = new System.Windows.Forms.Timer(this.components); |
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
|
this.dateTimer = new System.Windows.Forms.Timer(this.components); |
|
|
this.dateTimer = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
|
this.塑件唯一码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.零件号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.位置 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.配置 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.生产时间 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
this.panel1.SuspendLayout(); |
|
|
this.panel1.SuspendLayout(); |
|
|
this.tableLayoutPanel2.SuspendLayout(); |
|
|
this.tableLayoutPanel2.SuspendLayout(); |
|
@ -110,9 +106,9 @@ |
|
|
this.tableLayoutPanel1.RowCount = 8; |
|
|
this.tableLayoutPanel1.RowCount = 8; |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 4F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 4F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 170F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 160F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 120F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70F)); |
|
@ -136,7 +132,7 @@ |
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.panel1.Location = new System.Drawing.Point(3, 107); |
|
|
this.panel1.Location = new System.Drawing.Point(3, 107); |
|
|
this.panel1.Name = "panel1"; |
|
|
this.panel1.Name = "panel1"; |
|
|
this.panel1.Size = new System.Drawing.Size(1701, 164); |
|
|
this.panel1.Size = new System.Drawing.Size(1701, 154); |
|
|
this.panel1.TabIndex = 0; |
|
|
this.panel1.TabIndex = 0; |
|
|
//
|
|
|
//
|
|
|
// txtLastScanL
|
|
|
// txtLastScanL
|
|
@ -288,67 +284,22 @@ |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
this.tableLayoutPanel2.Controls.Add(this.txtRightScan, 3, 0); |
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.label9, 0, 0); |
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.label10, 2, 0); |
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.txtLeftScan, 1, 0); |
|
|
this.tableLayoutPanel2.Controls.Add(this.txtLeftScan, 1, 0); |
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 277); |
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 267); |
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; |
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; |
|
|
this.tableLayoutPanel2.RowCount = 1; |
|
|
this.tableLayoutPanel2.RowCount = 1; |
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(1701, 114); |
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(1701, 94); |
|
|
this.tableLayoutPanel2.TabIndex = 1; |
|
|
this.tableLayoutPanel2.TabIndex = 1; |
|
|
//
|
|
|
//
|
|
|
// txtRightScan
|
|
|
|
|
|
//
|
|
|
|
|
|
this.txtRightScan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
|
|
this.txtRightScan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
|
|
|
this.txtRightScan.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.txtRightScan.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.txtRightScan.Location = new System.Drawing.Point(913, 30); |
|
|
|
|
|
this.txtRightScan.Name = "txtRightScan"; |
|
|
|
|
|
this.txtRightScan.Size = new System.Drawing.Size(785, 53); |
|
|
|
|
|
this.txtRightScan.TabIndex = 3; |
|
|
|
|
|
this.txtRightScan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtRightScan_KeyDown); |
|
|
|
|
|
//
|
|
|
|
|
|
// label9
|
|
|
|
|
|
//
|
|
|
|
|
|
this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
|
|
this.label9.AutoSize = true; |
|
|
|
|
|
this.label9.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.label9.Font = new System.Drawing.Font("宋体", 25.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.label9.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.label9.Location = new System.Drawing.Point(3, 0); |
|
|
|
|
|
this.label9.Name = "label9"; |
|
|
|
|
|
this.label9.Size = new System.Drawing.Size(54, 114); |
|
|
|
|
|
this.label9.TabIndex = 0; |
|
|
|
|
|
this.label9.Text = "左"; |
|
|
|
|
|
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
|
|
//
|
|
|
|
|
|
// label10
|
|
|
|
|
|
//
|
|
|
|
|
|
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
|
|
this.label10.AutoSize = true; |
|
|
|
|
|
this.label10.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.label10.Font = new System.Drawing.Font("宋体", 25.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.label10.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.label10.Location = new System.Drawing.Point(853, 0); |
|
|
|
|
|
this.label10.Name = "label10"; |
|
|
|
|
|
this.label10.Size = new System.Drawing.Size(54, 114); |
|
|
|
|
|
this.label10.TabIndex = 1; |
|
|
|
|
|
this.label10.Text = "右"; |
|
|
|
|
|
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
|
|
//
|
|
|
|
|
|
// txtLeftScan
|
|
|
// txtLeftScan
|
|
|
//
|
|
|
//
|
|
|
this.txtLeftScan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.txtLeftScan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.txtLeftScan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
this.txtLeftScan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
this.txtLeftScan.Font = new System.Drawing.Font("宋体", 25.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
this.txtLeftScan.Font = new System.Drawing.Font("宋体", 25.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
this.txtLeftScan.ForeColor = System.Drawing.Color.White; |
|
|
this.txtLeftScan.ForeColor = System.Drawing.Color.White; |
|
|
this.txtLeftScan.Location = new System.Drawing.Point(63, 28); |
|
|
this.txtLeftScan.Location = new System.Drawing.Point(63, 18); |
|
|
this.txtLeftScan.Name = "txtLeftScan"; |
|
|
this.txtLeftScan.Name = "txtLeftScan"; |
|
|
this.txtLeftScan.Size = new System.Drawing.Size(784, 57); |
|
|
this.txtLeftScan.Size = new System.Drawing.Size(784, 57); |
|
|
this.txtLeftScan.TabIndex = 2; |
|
|
this.txtLeftScan.TabIndex = 2; |
|
@ -376,7 +327,7 @@ |
|
|
this.tableLayoutPanel3.Controls.Add(this.label4, 4, 0); |
|
|
this.tableLayoutPanel3.Controls.Add(this.label4, 4, 0); |
|
|
this.tableLayoutPanel3.Controls.Add(this.label8, 6, 0); |
|
|
this.tableLayoutPanel3.Controls.Add(this.label8, 6, 0); |
|
|
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 477); |
|
|
this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 427); |
|
|
this.tableLayoutPanel3.Name = "tableLayoutPanel3"; |
|
|
this.tableLayoutPanel3.Name = "tableLayoutPanel3"; |
|
|
this.tableLayoutPanel3.RowCount = 1; |
|
|
this.tableLayoutPanel3.RowCount = 1; |
|
|
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
@ -539,9 +490,9 @@ |
|
|
this.panel2.Controls.Add(this.lbBegin); |
|
|
this.panel2.Controls.Add(this.lbBegin); |
|
|
this.panel2.Controls.Add(this.label2); |
|
|
this.panel2.Controls.Add(this.label2); |
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.panel2.Location = new System.Drawing.Point(3, 397); |
|
|
this.panel2.Location = new System.Drawing.Point(3, 367); |
|
|
this.panel2.Name = "panel2"; |
|
|
this.panel2.Name = "panel2"; |
|
|
this.panel2.Size = new System.Drawing.Size(1701, 74); |
|
|
this.panel2.Size = new System.Drawing.Size(1701, 54); |
|
|
this.panel2.TabIndex = 6; |
|
|
this.panel2.TabIndex = 6; |
|
|
//
|
|
|
//
|
|
|
// lbEnd
|
|
|
// lbEnd
|
|
@ -596,26 +547,26 @@ |
|
|
this.tableLayoutPanel4.Controls.Add(this.dgridScanRecords, 1, 0); |
|
|
this.tableLayoutPanel4.Controls.Add(this.dgridScanRecords, 1, 0); |
|
|
this.tableLayoutPanel4.Controls.Add(this.txtAllQty, 0, 0); |
|
|
this.tableLayoutPanel4.Controls.Add(this.txtAllQty, 0, 0); |
|
|
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 577); |
|
|
this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 527); |
|
|
this.tableLayoutPanel4.Name = "tableLayoutPanel4"; |
|
|
this.tableLayoutPanel4.Name = "tableLayoutPanel4"; |
|
|
this.tableLayoutPanel4.RowCount = 1; |
|
|
this.tableLayoutPanel4.RowCount = 1; |
|
|
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 452F)); |
|
|
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 452F)); |
|
|
this.tableLayoutPanel4.Size = new System.Drawing.Size(1701, 452); |
|
|
this.tableLayoutPanel4.Size = new System.Drawing.Size(1701, 502); |
|
|
this.tableLayoutPanel4.TabIndex = 7; |
|
|
this.tableLayoutPanel4.TabIndex = 7; |
|
|
//
|
|
|
//
|
|
|
// dgridScanRecords
|
|
|
// dgridScanRecords
|
|
|
//
|
|
|
//
|
|
|
this.dgridScanRecords.AllowUserToAddRows = false; |
|
|
this.dgridScanRecords.AllowUserToAddRows = false; |
|
|
this.dgridScanRecords.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
this.dgridScanRecords.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White; |
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; |
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
this.dgridScanRecords.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
this.dgridScanRecords.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
|
|
this.dgridScanRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.dgridScanRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.dgridScanRecords.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.dgridScanRecords.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.塑件唯一码, |
|
|
this.塑件唯一码, |
|
@ -628,65 +579,19 @@ |
|
|
this.dgridScanRecords.Location = new System.Drawing.Point(853, 3); |
|
|
this.dgridScanRecords.Location = new System.Drawing.Point(853, 3); |
|
|
this.dgridScanRecords.Name = "dgridScanRecords"; |
|
|
this.dgridScanRecords.Name = "dgridScanRecords"; |
|
|
this.dgridScanRecords.ReadOnly = true; |
|
|
this.dgridScanRecords.ReadOnly = true; |
|
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(64))))); |
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White; |
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
this.dgridScanRecords.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; |
|
|
this.dgridScanRecords.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
this.dgridScanRecords.RowHeadersWidth = 51; |
|
|
this.dgridScanRecords.RowHeadersWidth = 51; |
|
|
this.dgridScanRecords.RowTemplate.Height = 27; |
|
|
this.dgridScanRecords.RowTemplate.Height = 27; |
|
|
this.dgridScanRecords.Size = new System.Drawing.Size(845, 446); |
|
|
this.dgridScanRecords.Size = new System.Drawing.Size(845, 496); |
|
|
this.dgridScanRecords.TabIndex = 4; |
|
|
this.dgridScanRecords.TabIndex = 4; |
|
|
//
|
|
|
//
|
|
|
// 塑件唯一码
|
|
|
|
|
|
//
|
|
|
|
|
|
this.塑件唯一码.DataPropertyName = "BarCode"; |
|
|
|
|
|
this.塑件唯一码.HeaderText = "塑件唯一码"; |
|
|
|
|
|
this.塑件唯一码.MinimumWidth = 6; |
|
|
|
|
|
this.塑件唯一码.Name = "塑件唯一码"; |
|
|
|
|
|
this.塑件唯一码.ReadOnly = true; |
|
|
|
|
|
this.塑件唯一码.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 零件号
|
|
|
|
|
|
//
|
|
|
|
|
|
this.零件号.DataPropertyName = "MCode"; |
|
|
|
|
|
this.零件号.HeaderText = "零件号"; |
|
|
|
|
|
this.零件号.MinimumWidth = 6; |
|
|
|
|
|
this.零件号.Name = "零件号"; |
|
|
|
|
|
this.零件号.ReadOnly = true; |
|
|
|
|
|
this.零件号.Visible = false; |
|
|
|
|
|
this.零件号.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 位置
|
|
|
|
|
|
//
|
|
|
|
|
|
this.位置.DataPropertyName = "LeftOrRight"; |
|
|
|
|
|
this.位置.HeaderText = "位置"; |
|
|
|
|
|
this.位置.MinimumWidth = 6; |
|
|
|
|
|
this.位置.Name = "位置"; |
|
|
|
|
|
this.位置.ReadOnly = true; |
|
|
|
|
|
this.位置.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 配置
|
|
|
|
|
|
//
|
|
|
|
|
|
this.配置.DataPropertyName = "Cfg"; |
|
|
|
|
|
this.配置.HeaderText = "配置"; |
|
|
|
|
|
this.配置.MinimumWidth = 6; |
|
|
|
|
|
this.配置.Name = "配置"; |
|
|
|
|
|
this.配置.ReadOnly = true; |
|
|
|
|
|
this.配置.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 生产时间
|
|
|
|
|
|
//
|
|
|
|
|
|
this.生产时间.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.生产时间.DataPropertyName = "ScanTime"; |
|
|
|
|
|
this.生产时间.HeaderText = "生产时间"; |
|
|
|
|
|
this.生产时间.MinimumWidth = 6; |
|
|
|
|
|
this.生产时间.Name = "生产时间"; |
|
|
|
|
|
this.生产时间.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// txtAllQty
|
|
|
// txtAllQty
|
|
|
//
|
|
|
//
|
|
|
this.txtAllQty.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
this.txtAllQty.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
@ -698,7 +603,7 @@ |
|
|
this.txtAllQty.ForeColor = System.Drawing.Color.Yellow; |
|
|
this.txtAllQty.ForeColor = System.Drawing.Color.Yellow; |
|
|
this.txtAllQty.Location = new System.Drawing.Point(3, 0); |
|
|
this.txtAllQty.Location = new System.Drawing.Point(3, 0); |
|
|
this.txtAllQty.Name = "txtAllQty"; |
|
|
this.txtAllQty.Name = "txtAllQty"; |
|
|
this.txtAllQty.Size = new System.Drawing.Size(844, 452); |
|
|
this.txtAllQty.Size = new System.Drawing.Size(844, 502); |
|
|
this.txtAllQty.TabIndex = 5; |
|
|
this.txtAllQty.TabIndex = 5; |
|
|
this.txtAllQty.Text = "0"; |
|
|
this.txtAllQty.Text = "0"; |
|
|
this.txtAllQty.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.txtAllQty.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
@ -750,17 +655,60 @@ |
|
|
this.focusTimer.Interval = 1500; |
|
|
this.focusTimer.Interval = 1500; |
|
|
this.focusTimer.Tick += new System.EventHandler(this.focusTimer_Tick); |
|
|
this.focusTimer.Tick += new System.EventHandler(this.focusTimer_Tick); |
|
|
//
|
|
|
//
|
|
|
// timer1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.timer1.Interval = 1000; |
|
|
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
|
|
|
|
//
|
|
|
|
|
|
// dateTimer
|
|
|
// dateTimer
|
|
|
//
|
|
|
//
|
|
|
this.dateTimer.Enabled = true; |
|
|
this.dateTimer.Enabled = true; |
|
|
this.dateTimer.Interval = 500; |
|
|
this.dateTimer.Interval = 500; |
|
|
this.dateTimer.Tick += new System.EventHandler(this.dateTimer_Tick); |
|
|
this.dateTimer.Tick += new System.EventHandler(this.dateTimer_Tick); |
|
|
//
|
|
|
//
|
|
|
|
|
|
// 塑件唯一码
|
|
|
|
|
|
//
|
|
|
|
|
|
this.塑件唯一码.DataPropertyName = "BarCode"; |
|
|
|
|
|
this.塑件唯一码.HeaderText = "塑件唯一码"; |
|
|
|
|
|
this.塑件唯一码.MinimumWidth = 6; |
|
|
|
|
|
this.塑件唯一码.Name = "塑件唯一码"; |
|
|
|
|
|
this.塑件唯一码.ReadOnly = true; |
|
|
|
|
|
this.塑件唯一码.Width = 300; |
|
|
|
|
|
//
|
|
|
|
|
|
// 零件号
|
|
|
|
|
|
//
|
|
|
|
|
|
this.零件号.DataPropertyName = "MCode"; |
|
|
|
|
|
this.零件号.HeaderText = "零件号"; |
|
|
|
|
|
this.零件号.MinimumWidth = 6; |
|
|
|
|
|
this.零件号.Name = "零件号"; |
|
|
|
|
|
this.零件号.ReadOnly = true; |
|
|
|
|
|
this.零件号.Visible = false; |
|
|
|
|
|
this.零件号.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 位置
|
|
|
|
|
|
//
|
|
|
|
|
|
this.位置.DataPropertyName = "LeftOrRight"; |
|
|
|
|
|
this.位置.HeaderText = "位置"; |
|
|
|
|
|
this.位置.MinimumWidth = 6; |
|
|
|
|
|
this.位置.Name = "位置"; |
|
|
|
|
|
this.位置.ReadOnly = true; |
|
|
|
|
|
this.位置.Visible = false; |
|
|
|
|
|
this.位置.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 配置
|
|
|
|
|
|
//
|
|
|
|
|
|
this.配置.DataPropertyName = "Cfg"; |
|
|
|
|
|
this.配置.HeaderText = "配置"; |
|
|
|
|
|
this.配置.MinimumWidth = 6; |
|
|
|
|
|
this.配置.Name = "配置"; |
|
|
|
|
|
this.配置.ReadOnly = true; |
|
|
|
|
|
this.配置.Visible = false; |
|
|
|
|
|
this.配置.Width = 200; |
|
|
|
|
|
//
|
|
|
|
|
|
// 生产时间
|
|
|
|
|
|
//
|
|
|
|
|
|
this.生产时间.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.生产时间.DataPropertyName = "ScanTime"; |
|
|
|
|
|
this.生产时间.HeaderText = "扫描时间"; |
|
|
|
|
|
this.生产时间.MinimumWidth = 6; |
|
|
|
|
|
this.生产时间.Name = "生产时间"; |
|
|
|
|
|
this.生产时间.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
// FrmDoorSill_214_3
|
|
|
// FrmDoorSill_214_3
|
|
|
//
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
|
@ -807,9 +755,6 @@ |
|
|
private System.Windows.Forms.Label lbLinkState; |
|
|
private System.Windows.Forms.Label lbLinkState; |
|
|
private System.Windows.Forms.TextBox txtLastScanR; |
|
|
private System.Windows.Forms.TextBox txtLastScanR; |
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; |
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; |
|
|
private System.Windows.Forms.Label label9; |
|
|
|
|
|
private System.Windows.Forms.Label label10; |
|
|
|
|
|
private System.Windows.Forms.TextBox txtRightScan; |
|
|
|
|
|
private System.Windows.Forms.TextBox txtLeftScan; |
|
|
private System.Windows.Forms.TextBox txtLeftScan; |
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; |
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; |
|
|
private System.Windows.Forms.Label label13; |
|
|
private System.Windows.Forms.Label label13; |
|
@ -828,13 +773,7 @@ |
|
|
private System.Windows.Forms.Label lbEnd; |
|
|
private System.Windows.Forms.Label lbEnd; |
|
|
private System.Windows.Forms.Label label6; |
|
|
private System.Windows.Forms.Label label6; |
|
|
private System.Windows.Forms.Label lbBegin; |
|
|
private System.Windows.Forms.Label lbBegin; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 塑件唯一码; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 零件号; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 位置; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 配置; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 生产时间; |
|
|
|
|
|
private System.Windows.Forms.TextBox txtLastScanL; |
|
|
private System.Windows.Forms.TextBox txtLastScanL; |
|
|
private System.Windows.Forms.Timer timer1; |
|
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; |
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; |
|
|
private System.Windows.Forms.Label label4; |
|
|
private System.Windows.Forms.Label label4; |
|
|
private System.Windows.Forms.Label label8; |
|
|
private System.Windows.Forms.Label label8; |
|
@ -843,5 +782,10 @@ |
|
|
private System.Windows.Forms.Label label11; |
|
|
private System.Windows.Forms.Label label11; |
|
|
private System.Windows.Forms.Label lbTime; |
|
|
private System.Windows.Forms.Label lbTime; |
|
|
private System.Windows.Forms.Timer dateTimer; |
|
|
private System.Windows.Forms.Timer dateTimer; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 塑件唯一码; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 零件号; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 位置; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 配置; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 生产时间; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |