增加COM设置及界面
This commit is contained in:
1 parent
16586d67aa
commit
f1e0412c01
16 files changed
+1513
-831
No files matched your search
+78
-72
@@ -32,16 +32,16 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.保存 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.flowid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.setp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hopestatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hopeinterfaceid = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.errstatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.errinterfaceid = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.保存 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -79,72 +79,23 @@
|
||||
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(1686, 1011);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1557, 818);
|
||||
this.dataGridView1.TabIndex = 1;
|
||||
//
|
||||
// flowid
|
||||
//
|
||||
this.flowid.DataPropertyName = "flowid";
|
||||
this.flowid.HeaderText = "流程序号";
|
||||
this.flowid.MinimumWidth = 9;
|
||||
this.flowid.Name = "flowid";
|
||||
this.flowid.ReadOnly = true;
|
||||
this.flowid.Width = 175;
|
||||
//
|
||||
// setp
|
||||
//
|
||||
this.setp.DataPropertyName = "setp";
|
||||
this.setp.HeaderText = "步骤";
|
||||
this.setp.MinimumWidth = 9;
|
||||
this.setp.Name = "setp";
|
||||
this.setp.ReadOnly = true;
|
||||
this.setp.Width = 175;
|
||||
//
|
||||
// hopestatus
|
||||
//
|
||||
this.hopestatus.DataPropertyName = "hopestatus";
|
||||
this.hopestatus.HeaderText = "期望PLC值";
|
||||
this.hopestatus.MinimumWidth = 9;
|
||||
this.hopestatus.Name = "hopestatus";
|
||||
this.hopestatus.Width = 150;
|
||||
//
|
||||
// hopeinterfaceid
|
||||
//
|
||||
this.hopeinterfaceid.DataPropertyName = "hopeinterfaceid";
|
||||
this.hopeinterfaceid.HeaderText = "成功调用接口";
|
||||
this.hopeinterfaceid.MinimumWidth = 9;
|
||||
this.hopeinterfaceid.Name = "hopeinterfaceid";
|
||||
this.hopeinterfaceid.Width = 200;
|
||||
//
|
||||
// errstatus
|
||||
//
|
||||
this.errstatus.DataPropertyName = "errstatus";
|
||||
this.errstatus.HeaderText = "错误PLC值";
|
||||
this.errstatus.MinimumWidth = 9;
|
||||
this.errstatus.Name = "errstatus";
|
||||
this.errstatus.Width = 150;
|
||||
//
|
||||
// errinterfaceid
|
||||
//
|
||||
this.errinterfaceid.DataPropertyName = "errinterfaceid";
|
||||
this.errinterfaceid.HeaderText = "错误调用接口";
|
||||
this.errinterfaceid.MinimumWidth = 9;
|
||||
this.errinterfaceid.Name = "errinterfaceid";
|
||||
this.errinterfaceid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.errinterfaceid.Width = 200;
|
||||
//
|
||||
// 关闭
|
||||
//
|
||||
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(1740, 950);
|
||||
this.关闭.Location = new System.Drawing.Point(1575, 708);
|
||||
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(163, 72);
|
||||
this.关闭.TabIndex = 6;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -154,9 +105,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(1740, 857);
|
||||
this.保存.Location = new System.Drawing.Point(1575, 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(163, 72);
|
||||
this.保存.TabIndex = 5;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -166,9 +118,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(1740, 22);
|
||||
this.查询.Location = new System.Drawing.Point(1575, 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(163, 72);
|
||||
this.查询.TabIndex = 4;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -183,23 +136,76 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(12, 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.22067F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.77933F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 94F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 91F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1880, 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(1744, 828);
|
||||
this.tableLayoutPanel1.TabIndex = 7;
|
||||
//
|
||||
// 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.ReadOnly = true;
|
||||
//
|
||||
// setp
|
||||
//
|
||||
this.setp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.setp.DataPropertyName = "setp";
|
||||
this.setp.HeaderText = "步骤";
|
||||
this.setp.MinimumWidth = 9;
|
||||
this.setp.Name = "setp";
|
||||
//
|
||||
// hopestatus
|
||||
//
|
||||
this.hopestatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.hopestatus.DataPropertyName = "hopestatus";
|
||||
this.hopestatus.HeaderText = "期望PLC值";
|
||||
this.hopestatus.MinimumWidth = 9;
|
||||
this.hopestatus.Name = "hopestatus";
|
||||
//
|
||||
// hopeinterfaceid
|
||||
//
|
||||
this.hopeinterfaceid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.hopeinterfaceid.DataPropertyName = "hopeinterfaceid";
|
||||
this.hopeinterfaceid.HeaderText = "成功调用接口";
|
||||
this.hopeinterfaceid.MinimumWidth = 9;
|
||||
this.hopeinterfaceid.Name = "hopeinterfaceid";
|
||||
//
|
||||
// errstatus
|
||||
//
|
||||
this.errstatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.errstatus.DataPropertyName = "errstatus";
|
||||
this.errstatus.HeaderText = "错误PLC值";
|
||||
this.errstatus.MinimumWidth = 9;
|
||||
this.errstatus.Name = "errstatus";
|
||||
//
|
||||
// errinterfaceid
|
||||
//
|
||||
this.errinterfaceid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.errinterfaceid.DataPropertyName = "errinterfaceid";
|
||||
this.errinterfaceid.HeaderText = "错误调用接口";
|
||||
this.errinterfaceid.MinimumWidth = 9;
|
||||
this.errinterfaceid.Name = "errinterfaceid";
|
||||
this.errinterfaceid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// FLOW_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(1744, 828);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.Name = "FLOW_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "FLOW_Mange";
|
||||
@@ -216,12 +222,12 @@
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
private System.Windows.Forms.Button 保存;
|
||||
private System.Windows.Forms.Button 查询;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn flowid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn setp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hopestatus;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn hopeinterfaceid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn errstatus;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn errinterfaceid;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
+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;
|
||||
}
|
||||
}
|
||||
+63
-58
@@ -34,12 +34,12 @@
|
||||
this.保存 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.url = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -48,9 +48,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(1739, 877);
|
||||
this.保存.Location = new System.Drawing.Point(1488, 528);
|
||||
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.保存.Name = "保存";
|
||||
this.保存.Size = new System.Drawing.Size(91, 32);
|
||||
this.保存.Size = new System.Drawing.Size(153, 56);
|
||||
this.保存.TabIndex = 1;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -60,9 +61,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(1739, 30);
|
||||
this.查询.Location = new System.Drawing.Point(1488, 51);
|
||||
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.查询.Name = "查询";
|
||||
this.查询.Size = new System.Drawing.Size(91, 32);
|
||||
this.查询.Size = new System.Drawing.Size(153, 56);
|
||||
this.查询.TabIndex = 3;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -74,9 +76,6 @@
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@@ -99,56 +98,24 @@
|
||||
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.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(1685, 1010);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1470, 785);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "序号";
|
||||
this.id.MinimumWidth = 9;
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Width = 175;
|
||||
//
|
||||
// name
|
||||
//
|
||||
this.name.DataPropertyName = "name";
|
||||
this.name.HeaderText = "名称";
|
||||
this.name.MinimumWidth = 9;
|
||||
this.name.Name = "name";
|
||||
this.name.ReadOnly = true;
|
||||
this.name.Width = 175;
|
||||
//
|
||||
// code
|
||||
//
|
||||
this.code.DataPropertyName = "code";
|
||||
this.code.HeaderText = "接口";
|
||||
this.code.MinimumWidth = 9;
|
||||
this.code.Name = "code";
|
||||
this.code.ReadOnly = true;
|
||||
this.code.Width = 175;
|
||||
//
|
||||
// url
|
||||
//
|
||||
this.url.DataPropertyName = "url";
|
||||
this.url.HeaderText = "网址";
|
||||
this.url.MinimumWidth = 9;
|
||||
this.url.Name = "url";
|
||||
this.url.Width = 500;
|
||||
//
|
||||
// 关闭
|
||||
//
|
||||
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(1739, 959);
|
||||
this.关闭.Location = new System.Drawing.Point(1488, 687);
|
||||
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.关闭.Name = "关闭";
|
||||
this.关闭.Size = new System.Drawing.Size(91, 32);
|
||||
this.关闭.Size = new System.Drawing.Size(153, 56);
|
||||
this.关闭.TabIndex = 2;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -163,23 +130,61 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 13);
|
||||
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.91549F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.08451F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 82F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 81F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1879, 1016);
|
||||
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(1647, 795);
|
||||
this.tableLayoutPanel1.TabIndex = 4;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// name
|
||||
//
|
||||
this.name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.name.DataPropertyName = "name";
|
||||
this.name.HeaderText = "名称";
|
||||
this.name.MinimumWidth = 9;
|
||||
this.name.Name = "name";
|
||||
this.name.ReadOnly = true;
|
||||
//
|
||||
// code
|
||||
//
|
||||
this.code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.code.DataPropertyName = "code";
|
||||
this.code.HeaderText = "接口";
|
||||
this.code.MinimumWidth = 9;
|
||||
this.code.Name = "code";
|
||||
this.code.ReadOnly = true;
|
||||
//
|
||||
// url
|
||||
//
|
||||
this.url.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.url.DataPropertyName = "url";
|
||||
this.url.HeaderText = "网址";
|
||||
this.url.MinimumWidth = 9;
|
||||
this.url.Name = "url";
|
||||
//
|
||||
// MES_URL
|
||||
//
|
||||
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(1647, 795);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.Name = "MES_URL";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "MES_URL";
|
||||
@@ -194,11 +199,11 @@
|
||||
private System.Windows.Forms.Button 保存;
|
||||
private System.Windows.Forms.Button 查询;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn url;
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
+106
-100
@@ -35,6 +35,9 @@
|
||||
this.保存 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.plcid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.type = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
@@ -43,9 +46,6 @@
|
||||
this.addresstype = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.addresstypelegth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -54,9 +54,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, 964);
|
||||
this.关闭.Location = new System.Drawing.Point(1642, 695);
|
||||
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(169, 72);
|
||||
this.关闭.TabIndex = 11;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -66,9 +67,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(1642, 532);
|
||||
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(169, 72);
|
||||
this.保存.TabIndex = 10;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -78,9 +80,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, 5);
|
||||
this.查询.Location = new System.Drawing.Point(1642, 45);
|
||||
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(169, 72);
|
||||
this.查询.TabIndex = 9;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -122,93 +125,24 @@
|
||||
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, 54);
|
||||
this.dataGridView1.Location = new System.Drawing.Point(6, 167);
|
||||
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, 3);
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1689, 960);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1624, 642);
|
||||
this.dataGridView1.TabIndex = 8;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "序号";
|
||||
this.id.MinimumWidth = 9;
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Width = 175;
|
||||
//
|
||||
// plcid
|
||||
//
|
||||
this.plcid.DataPropertyName = "plcid";
|
||||
this.plcid.HeaderText = "所属PLC";
|
||||
this.plcid.MinimumWidth = 9;
|
||||
this.plcid.Name = "plcid";
|
||||
this.plcid.Width = 175;
|
||||
//
|
||||
// type
|
||||
//
|
||||
this.type.DataPropertyName = "type";
|
||||
this.type.HeaderText = "读写类型";
|
||||
this.type.MinimumWidth = 9;
|
||||
this.type.Name = "type";
|
||||
this.type.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.type.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.type.Width = 175;
|
||||
//
|
||||
// dbaddress
|
||||
//
|
||||
this.dbaddress.DataPropertyName = "dbaddress";
|
||||
this.dbaddress.HeaderText = "DB块地址";
|
||||
this.dbaddress.MinimumWidth = 9;
|
||||
this.dbaddress.Name = "dbaddress";
|
||||
this.dbaddress.Width = 175;
|
||||
//
|
||||
// addressoffset
|
||||
//
|
||||
this.addressoffset.DataPropertyName = "addressoffset";
|
||||
this.addressoffset.HeaderText = "DB地址";
|
||||
this.addressoffset.MinimumWidth = 9;
|
||||
this.addressoffset.Name = "addressoffset";
|
||||
this.addressoffset.Width = 175;
|
||||
//
|
||||
// addresstype
|
||||
//
|
||||
this.addresstype.DataPropertyName = "addresstype";
|
||||
this.addresstype.HeaderText = "数据类型";
|
||||
this.addresstype.MinimumWidth = 9;
|
||||
this.addresstype.Name = "addresstype";
|
||||
this.addresstype.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.addresstype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.addresstype.Width = 175;
|
||||
//
|
||||
// addresstypelegth
|
||||
//
|
||||
this.addresstypelegth.DataPropertyName = "addresstypelegth";
|
||||
this.addresstypelegth.HeaderText = "字节长度";
|
||||
this.addresstypelegth.MinimumWidth = 9;
|
||||
this.addresstypelegth.Name = "addresstypelegth";
|
||||
this.addresstypelegth.Width = 175;
|
||||
//
|
||||
// remark
|
||||
//
|
||||
this.remark.DataPropertyName = "remark";
|
||||
this.remark.HeaderText = "注释";
|
||||
this.remark.MinimumWidth = 9;
|
||||
this.remark.Name = "remark";
|
||||
this.remark.ReadOnly = true;
|
||||
this.remark.Width = 175;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 14.14286F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(2, 16);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label1.Location = new System.Drawing.Point(4, 47);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(229, 19);
|
||||
this.label1.Size = new System.Drawing.Size(253, 68);
|
||||
this.label1.TabIndex = 12;
|
||||
this.label1.Text = "选择需要编辑的PLC编号:";
|
||||
//
|
||||
@@ -217,42 +151,114 @@
|
||||
this.comboBox1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.comboBox1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(286, 12);
|
||||
this.comboBox1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.comboBox1.Location = new System.Drawing.Point(278, 60);
|
||||
this.comboBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(225, 27);
|
||||
this.comboBox1.Size = new System.Drawing.Size(409, 41);
|
||||
this.comboBox1.TabIndex = 13;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 3;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15.07431F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74.89384F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15.07911F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74.9177F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.00319F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.comboBox1, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 2, 0);
|
||||
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, 5.930233F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 94.06977F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 93F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 63F));
|
||||
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(1818, 814);
|
||||
this.tableLayoutPanel1.TabIndex = 14;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// plcid
|
||||
//
|
||||
this.plcid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcid.DataPropertyName = "plcid";
|
||||
this.plcid.HeaderText = "所属PLC";
|
||||
this.plcid.MinimumWidth = 9;
|
||||
this.plcid.Name = "plcid";
|
||||
//
|
||||
// type
|
||||
//
|
||||
this.type.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.type.DataPropertyName = "type";
|
||||
this.type.HeaderText = "读写类型";
|
||||
this.type.MinimumWidth = 9;
|
||||
this.type.Name = "type";
|
||||
this.type.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.type.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// dbaddress
|
||||
//
|
||||
this.dbaddress.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dbaddress.DataPropertyName = "dbaddress";
|
||||
this.dbaddress.HeaderText = "DB块地址";
|
||||
this.dbaddress.MinimumWidth = 9;
|
||||
this.dbaddress.Name = "dbaddress";
|
||||
//
|
||||
// addressoffset
|
||||
//
|
||||
this.addressoffset.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.addressoffset.DataPropertyName = "addressoffset";
|
||||
this.addressoffset.HeaderText = "DB地址";
|
||||
this.addressoffset.MinimumWidth = 9;
|
||||
this.addressoffset.Name = "addressoffset";
|
||||
//
|
||||
// addresstype
|
||||
//
|
||||
this.addresstype.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.addresstype.DataPropertyName = "addresstype";
|
||||
this.addresstype.HeaderText = "数据类型";
|
||||
this.addresstype.MinimumWidth = 9;
|
||||
this.addresstype.Name = "addresstype";
|
||||
this.addresstype.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.addresstype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// addresstypelegth
|
||||
//
|
||||
this.addresstypelegth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.addresstypelegth.DataPropertyName = "addresstypelegth";
|
||||
this.addresstypelegth.HeaderText = "字节长度";
|
||||
this.addresstypelegth.MinimumWidth = 9;
|
||||
this.addresstypelegth.Name = "addresstypelegth";
|
||||
//
|
||||
// remark
|
||||
//
|
||||
this.remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.remark.DataPropertyName = "remark";
|
||||
this.remark.HeaderText = "注释";
|
||||
this.remark.MinimumWidth = 9;
|
||||
this.remark.Name = "remark";
|
||||
this.remark.ReadOnly = true;
|
||||
//
|
||||
// PLCADDRESS_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(1818, 814);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Name = "PLCADDRESS_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "PLCADDRESS_Manage";
|
||||
@@ -272,6 +278,7 @@
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn plcid;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn type;
|
||||
@@ -280,6 +287,5 @@
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn addresstype;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn addresstypelegth;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn remark;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
+26
-20
@@ -47,9 +47,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, 955);
|
||||
this.关闭.Location = new System.Drawing.Point(1380, 675);
|
||||
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(141, 72);
|
||||
this.关闭.TabIndex = 7;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -59,9 +60,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, 866);
|
||||
this.保存.Location = new System.Drawing.Point(1380, 517);
|
||||
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(141, 72);
|
||||
this.保存.TabIndex = 6;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -71,9 +73,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, 22);
|
||||
this.查询.Location = new System.Drawing.Point(1380, 43);
|
||||
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(141, 72);
|
||||
this.查询.TabIndex = 5;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -109,12 +112,13 @@
|
||||
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, 1015);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1362, 780);
|
||||
this.dataGridView1.TabIndex = 4;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
@@ -126,52 +130,54 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(8, 8);
|
||||
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.20179F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.7982F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 87F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 90F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1884, 1021);
|
||||
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(1527, 790);
|
||||
this.tableLayoutPanel1.TabIndex = 8;
|
||||
//
|
||||
// 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;
|
||||
this.id.Width = 175;
|
||||
//
|
||||
// plcip
|
||||
//
|
||||
this.plcip.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcip.DataPropertyName = "plcip";
|
||||
this.plcip.HeaderText = "IP地址";
|
||||
this.plcip.MinimumWidth = 9;
|
||||
this.plcip.Name = "plcip";
|
||||
this.plcip.ReadOnly = true;
|
||||
this.plcip.Width = 175;
|
||||
//
|
||||
// timeout
|
||||
//
|
||||
this.timeout.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.timeout.DataPropertyName = "timeout";
|
||||
this.timeout.HeaderText = "超时时间";
|
||||
this.timeout.MinimumWidth = 9;
|
||||
this.timeout.Name = "timeout";
|
||||
this.timeout.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.timeout.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.timeout.Width = 175;
|
||||
//
|
||||
// PLC_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(1527, 790);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "PLC_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "PLC_Manage";
|
||||
|
||||
+254
@@ -0,0 +1,254 @@
|
||||
namespace WindowsFormsApp1
|
||||
{
|
||||
partial class SerialPort_Manage
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
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.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.portName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.baudRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.parity = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataBits = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enable = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.reamrk = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// 保存
|
||||
//
|
||||
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(1488, 528);
|
||||
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.保存.Name = "保存";
|
||||
this.保存.Size = new System.Drawing.Size(153, 56);
|
||||
this.保存.TabIndex = 1;
|
||||
this.保存.Text = "保存";
|
||||
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(1488, 51);
|
||||
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.查询.Name = "查询";
|
||||
this.查询.Size = new System.Drawing.Size(153, 56);
|
||||
this.查询.TabIndex = 3;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
this.查询.Click += new System.EventHandler(this.查询_Click);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.id,
|
||||
this.name,
|
||||
this.portName,
|
||||
this.baudRate,
|
||||
this.parity,
|
||||
this.dataBits,
|
||||
this.enable,
|
||||
this.reamrk});
|
||||
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)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(1470, 785);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
//
|
||||
// 关闭
|
||||
//
|
||||
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(1488, 687);
|
||||
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.关闭.Name = "关闭";
|
||||
this.关闭.Size = new System.Drawing.Size(153, 56);
|
||||
this.关闭.TabIndex = 2;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
this.关闭.Click += new System.EventHandler(this.关闭_Click);
|
||||
//
|
||||
// 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.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
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(1647, 795);
|
||||
this.tableLayoutPanel1.TabIndex = 4;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// name
|
||||
//
|
||||
this.name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.name.DataPropertyName = "name";
|
||||
this.name.HeaderText = "名称";
|
||||
this.name.MinimumWidth = 9;
|
||||
this.name.Name = "name";
|
||||
this.name.ReadOnly = true;
|
||||
//
|
||||
// portName
|
||||
//
|
||||
this.portName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.portName.DataPropertyName = "portName";
|
||||
this.portName.HeaderText = "COM口";
|
||||
this.portName.MinimumWidth = 9;
|
||||
this.portName.Name = "portName";
|
||||
this.portName.ReadOnly = true;
|
||||
//
|
||||
// baudRate
|
||||
//
|
||||
this.baudRate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.baudRate.DataPropertyName = "baudRate";
|
||||
this.baudRate.HeaderText = "波特率";
|
||||
this.baudRate.MinimumWidth = 9;
|
||||
this.baudRate.Name = "baudRate";
|
||||
//
|
||||
// parity
|
||||
//
|
||||
this.parity.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.parity.DataPropertyName = "parity";
|
||||
this.parity.HeaderText = "奇偶校验位";
|
||||
this.parity.MinimumWidth = 9;
|
||||
this.parity.Name = "parity";
|
||||
//
|
||||
// dataBits
|
||||
//
|
||||
this.dataBits.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataBits.DataPropertyName = "dataBits";
|
||||
this.dataBits.HeaderText = "数据位";
|
||||
this.dataBits.MinimumWidth = 9;
|
||||
this.dataBits.Name = "dataBits";
|
||||
//
|
||||
// enable
|
||||
//
|
||||
this.enable.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.enable.DataPropertyName = "enable";
|
||||
this.enable.HeaderText = "是否启用";
|
||||
this.enable.MinimumWidth = 9;
|
||||
this.enable.Name = "enable";
|
||||
this.enable.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// reamrk
|
||||
//
|
||||
this.reamrk.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.reamrk.DataPropertyName = "reamrk";
|
||||
this.reamrk.HeaderText = "备注";
|
||||
this.reamrk.MinimumWidth = 9;
|
||||
this.reamrk.Name = "reamrk";
|
||||
//
|
||||
// SerialPort_Manage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1647, 795);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.Name = "SerialPort_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SerialPort_Manage";
|
||||
this.Load += new System.EventHandler(this.MES_URL_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Button 保存;
|
||||
private System.Windows.Forms.Button 查询;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn portName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn baudRate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn parity;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataBits;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn enable;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn reamrk;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WindowsFormsApp1.db;
|
||||
using WindowsFormsApp1.mod;
|
||||
using WindowsFormsApp1.mod.database;
|
||||
|
||||
namespace WindowsFormsApp1
|
||||
{
|
||||
public partial class SerialPort_Manage : Form
|
||||
{
|
||||
public SerialPort_Manage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void MES_URL_Load(object sender, EventArgs e)
|
||||
{
|
||||
dataGridView1.AutoGenerateColumns = false;
|
||||
GetInfo();
|
||||
}
|
||||
|
||||
private void 保存_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
SQLiteHelper<t_serialport> sQLiteHelper = new db.SQLiteHelper<t_serialport>();
|
||||
var result = sQLiteHelper.UpdateAll((List<t_serialport>)dataGridView1.DataSource);
|
||||
if (result.Success)
|
||||
{
|
||||
MessageBox.Show("更新成功");
|
||||
GetInfo();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("更新失败");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"更新失败,错误原因{ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
private void 关闭_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void 查询_Click(object sender, EventArgs e)
|
||||
{
|
||||
GetInfo();
|
||||
}
|
||||
|
||||
public void GetInfo()
|
||||
{
|
||||
try
|
||||
{
|
||||
SQLiteHelper<t_serialport> sQLiteHelper = new db.SQLiteHelper<t_serialport>();
|
||||
var result = sQLiteHelper.QueryAll();
|
||||
if (result.Success)
|
||||
{
|
||||
dataGridView1.DataSource = null;
|
||||
dataGridView1.DataSource = result.Data;
|
||||
dataGridView1.Refresh();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="portName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="baudRate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="parity.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataBits.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="enable.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="reamrk.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+27
-20
@@ -68,21 +68,24 @@
|
||||
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.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(1685, 1011);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1475, 711);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
//
|
||||
// 查询
|
||||
//
|
||||
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(1739, 34);
|
||||
this.查询.Location = new System.Drawing.Point(1493, 36);
|
||||
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(154, 72);
|
||||
this.查询.TabIndex = 1;
|
||||
this.查询.Text = "查询";
|
||||
this.查询.UseVisualStyleBackColor = true;
|
||||
@@ -92,9 +95,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(1739, 861);
|
||||
this.保存.Location = new System.Drawing.Point(1493, 468);
|
||||
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(154, 72);
|
||||
this.保存.TabIndex = 2;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
@@ -104,9 +108,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(1739, 952);
|
||||
this.关闭.Location = new System.Drawing.Point(1493, 612);
|
||||
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(154, 72);
|
||||
this.关闭.TabIndex = 3;
|
||||
this.关闭.Text = "关闭";
|
||||
this.关闭.UseVisualStyleBackColor = true;
|
||||
@@ -117,53 +122,55 @@
|
||||
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.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 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, 13.08411F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 86.91589F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 94F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 87F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1879, 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(1653, 721);
|
||||
this.tableLayoutPanel1.TabIndex = 4;
|
||||
//
|
||||
// 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;
|
||||
this.id.Width = 175;
|
||||
//
|
||||
// username
|
||||
//
|
||||
this.username.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.username.DataPropertyName = "username";
|
||||
this.username.HeaderText = "用户名";
|
||||
this.username.MinimumWidth = 9;
|
||||
this.username.Name = "username";
|
||||
this.username.Width = 175;
|
||||
//
|
||||
// password
|
||||
//
|
||||
this.password.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.password.DataPropertyName = "password";
|
||||
this.password.HeaderText = "密码";
|
||||
this.password.MinimumWidth = 9;
|
||||
this.password.Name = "password";
|
||||
this.password.Width = 175;
|
||||
//
|
||||
// USER_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(1653, 721);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.Name = "USER_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "USER_Manage";
|
||||
|
||||
Reference in new issue
Block a user