增加COM设置及界面

This commit is contained in:
bnala committed 2025-02-19 16:13:49 +08:00
1 parent 16586d67aa
commit f1e0412c01
16 files changed
+1513 -831

No files matched your search

+78 -72
View File
@@ -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;
}
}