增加COM设置及界面
This commit is contained in:
1 parent
16586d67aa
commit
f1e0412c01
16 files changed
+1513
-831
No files matched your search
+92
-86
@@ -35,6 +35,7 @@
|
||||
this.保存 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linename = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linecode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -43,7 +44,6 @@
|
||||
this.plcid1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.plcid2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.flowid = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -52,9 +52,10 @@
|
||||
//
|
||||
this.关闭.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.关闭.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.关闭.Location = new System.Drawing.Point(1743, 958);
|
||||
this.关闭.Location = new System.Drawing.Point(1604, 709);
|
||||
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.关闭.Name = "关闭";
|
||||
this.关闭.Size = new System.Drawing.Size(92, 41);
|
||||
this.关闭.Size = new System.Drawing.Size(162, 72);
|
||||
this.关闭.TabIndex = 10;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -64,9 +65,10 @@
|
||||
//
|
||||
this.保存.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.保存.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.保存.Location = new System.Drawing.Point(1743, 886);
|
||||
this.保存.Location = new System.Drawing.Point(1604, 542);
|
||||
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.保存.Name = "保存";
|
||||
this.保存.Size = new System.Drawing.Size(92, 41);
|
||||
this.保存.Size = new System.Drawing.Size(162, 72);
|
||||
this.保存.TabIndex = 9;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -76,9 +78,10 @@
|
||||
//
|
||||
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.查询.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.查询.Location = new System.Drawing.Point(1743, 24);
|
||||
this.查询.Location = new System.Drawing.Point(1604, 46);
|
||||
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.查询.Name = "查询";
|
||||
this.查询.Size = new System.Drawing.Size(92, 41);
|
||||
this.查询.Size = new System.Drawing.Size(162, 72);
|
||||
this.查询.TabIndex = 8;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -119,81 +122,15 @@
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
|
||||
this.dataGridView1.Location = new System.Drawing.Point(6, 5);
|
||||
this.dataGridView1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 72;
|
||||
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1689, 1011);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1584, 819);
|
||||
this.dataGridView1.TabIndex = 7;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "序号";
|
||||
this.id.MinimumWidth = 9;
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Width = 175;
|
||||
//
|
||||
// linename
|
||||
//
|
||||
this.linename.DataPropertyName = "linename";
|
||||
this.linename.HeaderText = "名称";
|
||||
this.linename.MinimumWidth = 9;
|
||||
this.linename.Name = "linename";
|
||||
this.linename.ReadOnly = true;
|
||||
this.linename.Width = 175;
|
||||
//
|
||||
// linecode
|
||||
//
|
||||
this.linecode.DataPropertyName = "linecode";
|
||||
this.linecode.HeaderText = "产线编码";
|
||||
this.linecode.MinimumWidth = 9;
|
||||
this.linecode.Name = "linecode";
|
||||
this.linecode.Width = 150;
|
||||
//
|
||||
// linetype
|
||||
//
|
||||
this.linetype.DataPropertyName = "linetype";
|
||||
this.linetype.HeaderText = "产线类型";
|
||||
this.linetype.MinimumWidth = 9;
|
||||
this.linetype.Name = "linetype";
|
||||
this.linetype.Width = 150;
|
||||
//
|
||||
// linemode
|
||||
//
|
||||
this.linemode.DataPropertyName = "linemode";
|
||||
this.linemode.HeaderText = "模组";
|
||||
this.linemode.MinimumWidth = 9;
|
||||
this.linemode.Name = "linemode";
|
||||
this.linemode.Width = 175;
|
||||
//
|
||||
// plcid1
|
||||
//
|
||||
this.plcid1.DataPropertyName = "plcid1";
|
||||
this.plcid1.HeaderText = "关联PLC1";
|
||||
this.plcid1.MinimumWidth = 9;
|
||||
this.plcid1.Name = "plcid1";
|
||||
this.plcid1.Width = 200;
|
||||
//
|
||||
// plcid2
|
||||
//
|
||||
this.plcid2.DataPropertyName = "plcid2";
|
||||
this.plcid2.HeaderText = "关联PLC2";
|
||||
this.plcid2.MinimumWidth = 9;
|
||||
this.plcid2.Name = "plcid2";
|
||||
this.plcid2.Width = 175;
|
||||
//
|
||||
// flowid
|
||||
//
|
||||
this.flowid.DataPropertyName = "flowid";
|
||||
this.flowid.HeaderText = "关联流程";
|
||||
this.flowid.MinimumWidth = 9;
|
||||
this.flowid.Name = "flowid";
|
||||
this.flowid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.flowid.Width = 200;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
@@ -203,24 +140,93 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(8, 12);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 4;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.20642F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.79358F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 69F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 75F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1884, 1017);
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1774, 829);
|
||||
this.tableLayoutPanel1.TabIndex = 11;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "序号";
|
||||
this.id.MinimumWidth = 9;
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
//
|
||||
// linename
|
||||
//
|
||||
this.linename.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.linename.DataPropertyName = "linename";
|
||||
this.linename.HeaderText = "名称";
|
||||
this.linename.MinimumWidth = 9;
|
||||
this.linename.Name = "linename";
|
||||
this.linename.ReadOnly = true;
|
||||
//
|
||||
// linecode
|
||||
//
|
||||
this.linecode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.linecode.DataPropertyName = "linecode";
|
||||
this.linecode.HeaderText = "产线编码";
|
||||
this.linecode.MinimumWidth = 9;
|
||||
this.linecode.Name = "linecode";
|
||||
//
|
||||
// linetype
|
||||
//
|
||||
this.linetype.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.linetype.DataPropertyName = "linetype";
|
||||
this.linetype.HeaderText = "产线类型";
|
||||
this.linetype.MinimumWidth = 9;
|
||||
this.linetype.Name = "linetype";
|
||||
//
|
||||
// linemode
|
||||
//
|
||||
this.linemode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.linemode.DataPropertyName = "linemode";
|
||||
this.linemode.HeaderText = "模组";
|
||||
this.linemode.MinimumWidth = 9;
|
||||
this.linemode.Name = "linemode";
|
||||
//
|
||||
// plcid1
|
||||
//
|
||||
this.plcid1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcid1.DataPropertyName = "plcid1";
|
||||
this.plcid1.HeaderText = "关联PLC1";
|
||||
this.plcid1.MinimumWidth = 9;
|
||||
this.plcid1.Name = "plcid1";
|
||||
//
|
||||
// plcid2
|
||||
//
|
||||
this.plcid2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcid2.DataPropertyName = "plcid2";
|
||||
this.plcid2.HeaderText = "关联PLC2";
|
||||
this.plcid2.MinimumWidth = 9;
|
||||
this.plcid2.Name = "plcid2";
|
||||
//
|
||||
// flowid
|
||||
//
|
||||
this.flowid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.flowid.DataPropertyName = "flowid";
|
||||
this.flowid.HeaderText = "关联流程";
|
||||
this.flowid.MinimumWidth = 9;
|
||||
this.flowid.Name = "flowid";
|
||||
this.flowid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// LINE_Manage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1904, 1041);
|
||||
this.ClientSize = new System.Drawing.Size(1774, 829);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Name = "LINE_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "LINE_Mange";
|
||||
@@ -237,6 +243,7 @@
|
||||
private System.Windows.Forms.Button 保存;
|
||||
private System.Windows.Forms.Button 查询;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linename;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linecode;
|
||||
@@ -245,6 +252,5 @@
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn plcid1;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn plcid2;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn flowid;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user