增加修改删除页面,增加COM口的配置等
This commit is contained in:
1 parent
f3110791a7
commit
e96e2d3651
89 files changed
+10692
-727
No files matched your search
+53
-66
@@ -1,6 +1,6 @@
|
||||
namespace WindowsFormsApp1.form
|
||||
{
|
||||
partial class LINE_Manage
|
||||
partial class Line_Manage
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
@@ -32,18 +32,16 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
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();
|
||||
this.linetype = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linemode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.plcid1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.plcid2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.flowid = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.flowname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.新增 = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -61,19 +59,6 @@
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
this.关闭.Click += new System.EventHandler(this.关闭_Click);
|
||||
//
|
||||
// 保存
|
||||
//
|
||||
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(1604, 542);
|
||||
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.保存.Name = "保存";
|
||||
this.保存.Size = new System.Drawing.Size(162, 72);
|
||||
this.保存.TabIndex = 9;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
this.保存.Click += new System.EventHandler(this.保存_Click);
|
||||
//
|
||||
// 查询
|
||||
//
|
||||
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
@@ -111,9 +96,7 @@
|
||||
this.linecode,
|
||||
this.linetype,
|
||||
this.linemode,
|
||||
this.plcid1,
|
||||
this.plcid2,
|
||||
this.flowid});
|
||||
this.flowname});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@@ -125,33 +108,13 @@
|
||||
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.ReadOnly = true;
|
||||
this.dataGridView1.RowHeadersWidth = 72;
|
||||
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1584, 819);
|
||||
this.dataGridView1.TabIndex = 7;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
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, 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;
|
||||
@@ -168,6 +131,7 @@
|
||||
this.linename.HeaderText = "名称";
|
||||
this.linename.MinimumWidth = 9;
|
||||
this.linename.Name = "linename";
|
||||
this.linename.ReadOnly = true;
|
||||
//
|
||||
// linecode
|
||||
//
|
||||
@@ -176,6 +140,7 @@
|
||||
this.linecode.HeaderText = "产线编码";
|
||||
this.linecode.MinimumWidth = 9;
|
||||
this.linecode.Name = "linecode";
|
||||
this.linecode.ReadOnly = true;
|
||||
//
|
||||
// linetype
|
||||
//
|
||||
@@ -184,6 +149,7 @@
|
||||
this.linetype.HeaderText = "产线类型";
|
||||
this.linetype.MinimumWidth = 9;
|
||||
this.linetype.Name = "linetype";
|
||||
this.linetype.ReadOnly = true;
|
||||
//
|
||||
// linemode
|
||||
//
|
||||
@@ -192,31 +158,53 @@
|
||||
this.linemode.HeaderText = "模组";
|
||||
this.linemode.MinimumWidth = 9;
|
||||
this.linemode.Name = "linemode";
|
||||
this.linemode.ReadOnly = true;
|
||||
//
|
||||
// plcid1
|
||||
// flowname
|
||||
//
|
||||
this.plcid1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcid1.DataPropertyName = "plcid1";
|
||||
this.plcid1.HeaderText = "关联PLC1";
|
||||
this.plcid1.MinimumWidth = 9;
|
||||
this.plcid1.Name = "plcid1";
|
||||
this.flowname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.flowname.DataPropertyName = "flowname";
|
||||
this.flowname.HeaderText = "关联流程";
|
||||
this.flowname.MinimumWidth = 9;
|
||||
this.flowname.Name = "flowname";
|
||||
this.flowname.ReadOnly = true;
|
||||
this.flowname.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.flowname.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.flowname.ToolTipText = "flowname";
|
||||
//
|
||||
// plcid2
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.plcid2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcid2.DataPropertyName = "plcid2";
|
||||
this.plcid2.HeaderText = "关联PLC2";
|
||||
this.plcid2.MinimumWidth = 9;
|
||||
this.plcid2.Name = "plcid2";
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.新增, 1, 2);
|
||||
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, 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;
|
||||
//
|
||||
// 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;
|
||||
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(1604, 542);
|
||||
this.新增.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.新增.Name = "新增";
|
||||
this.新增.Size = new System.Drawing.Size(162, 72);
|
||||
this.新增.TabIndex = 11;
|
||||
this.新增.Text = "新增";
|
||||
this.新增.UseVisualStyleBackColor = true;
|
||||
this.新增.Click += new System.EventHandler(this.新增_Click);
|
||||
//
|
||||
// LINE_Manage
|
||||
//
|
||||
@@ -229,6 +217,7 @@
|
||||
this.Name = "LINE_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "LINE_Mange";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.LINE_Manage_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
@@ -239,17 +228,15 @@
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
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.Button 新增;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linename;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linecode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linetype;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linemode;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn plcid1;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn plcid2;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn flowid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn flowname;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user