增加修改删除页面,增加COM口的配置等

This commit is contained in:
bnala committed 2025-02-23 20:06:16 +08:00
1 parent f3110791a7
commit e96e2d3651
89 files changed
+10692 -727

No files matched your search

+141 -22
View File
@@ -1,6 +1,6 @@
namespace WindowsFormsApp1.form
{
partial class FLOW_Manage
partial class Flow_Manage
{
/// <summary>
/// Required designer variable.
@@ -33,15 +33,24 @@
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.button1 = new System.Windows.Forms.Button();
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.flowid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.flowname = 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.hopeinterfaceid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.errstatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.errinterfaceid = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.errinterfaceid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.scan = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.fileupload = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.finaltorquevalue = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.finalanglevaluue = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.finaltorquecurve = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.finalpressurecurve = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.airtight = new System.Windows.Forms.DataGridViewCheckBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
@@ -65,12 +74,21 @@
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.id,
this.flowid,
this.flowname,
this.setp,
this.hopestatus,
this.hopeinterfaceid,
this.errstatus,
this.errinterfaceid});
this.errinterfaceid,
this.scan,
this.fileupload,
this.finaltorquevalue,
this.finalanglevaluue,
this.finaltorquecurve,
this.finalpressurecurve,
this.airtight});
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)));
@@ -82,6 +100,7 @@
this.dataGridView1.Location = new System.Drawing.Point(6, 5);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowHeadersWidth = 72;
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
this.dataGridView1.RowTemplate.Height = 23;
@@ -101,19 +120,6 @@
this.关闭.UseVisualStyleBackColor = true;
this.关闭.Click += new System.EventHandler(this.关闭_Click);
//
// 保存
//
this.保存.Anchor = System.Windows.Forms.AnchorStyles.None;
this.保存.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.保存.Location = new System.Drawing.Point(1575, 542);
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.保存.Name = "保存";
this.保存.Size = new System.Drawing.Size(163, 72);
this.保存.TabIndex = 5;
this.保存.Text = "保存";
this.保存.UseVisualStyleBackColor = true;
this.保存.Click += new System.EventHandler(this.保存_Click);
//
// 查询
//
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
@@ -135,7 +141,7 @@
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
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.button1, 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);
@@ -148,6 +154,29 @@
this.tableLayoutPanel1.Size = new System.Drawing.Size(1744, 828);
this.tableLayoutPanel1.TabIndex = 7;
//
// button1
//
this.button1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.button1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(1575, 542);
this.button1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(163, 72);
this.button1.TabIndex = 7;
this.button1.Text = "新增";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// id
//
this.id.DataPropertyName = "id";
this.id.HeaderText = "id";
this.id.MinimumWidth = 9;
this.id.Name = "id";
this.id.ReadOnly = true;
this.id.Visible = false;
this.id.Width = 175;
//
// flowid
//
this.flowid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
@@ -157,6 +186,15 @@
this.flowid.Name = "flowid";
this.flowid.ReadOnly = true;
//
// flowname
//
this.flowname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.flowname.DataPropertyName = "flowname";
this.flowname.HeaderText = "流程名称";
this.flowname.MinimumWidth = 9;
this.flowname.Name = "flowname";
this.flowname.ReadOnly = true;
//
// setp
//
this.setp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
@@ -164,6 +202,7 @@
this.setp.HeaderText = "步骤";
this.setp.MinimumWidth = 9;
this.setp.Name = "setp";
this.setp.ReadOnly = true;
//
// hopestatus
//
@@ -172,6 +211,7 @@
this.hopestatus.HeaderText = "期望PLC值";
this.hopestatus.MinimumWidth = 9;
this.hopestatus.Name = "hopestatus";
this.hopestatus.ReadOnly = true;
//
// hopeinterfaceid
//
@@ -180,6 +220,9 @@
this.hopeinterfaceid.HeaderText = "成功调用接口";
this.hopeinterfaceid.MinimumWidth = 9;
this.hopeinterfaceid.Name = "hopeinterfaceid";
this.hopeinterfaceid.ReadOnly = true;
this.hopeinterfaceid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.hopeinterfaceid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// errstatus
//
@@ -188,6 +231,7 @@
this.errstatus.HeaderText = "错误PLC值";
this.errstatus.MinimumWidth = 9;
this.errstatus.Name = "errstatus";
this.errstatus.ReadOnly = true;
//
// errinterfaceid
//
@@ -196,7 +240,72 @@
this.errinterfaceid.HeaderText = "错误调用接口";
this.errinterfaceid.MinimumWidth = 9;
this.errinterfaceid.Name = "errinterfaceid";
this.errinterfaceid.ReadOnly = true;
this.errinterfaceid.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.errinterfaceid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// scan
//
this.scan.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.scan.DataPropertyName = "scan";
this.scan.HeaderText = "扫码";
this.scan.MinimumWidth = 9;
this.scan.Name = "scan";
this.scan.ReadOnly = true;
//
// fileupload
//
this.fileupload.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.fileupload.DataPropertyName = "fileupload";
this.fileupload.HeaderText = "文件上传";
this.fileupload.MinimumWidth = 9;
this.fileupload.Name = "fileupload";
this.fileupload.ReadOnly = true;
//
// finaltorquevalue
//
this.finaltorquevalue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.finaltorquevalue.DataPropertyName = "finaltorquevalue";
this.finaltorquevalue.HeaderText = "螺丝扭力";
this.finaltorquevalue.MinimumWidth = 9;
this.finaltorquevalue.Name = "finaltorquevalue";
this.finaltorquevalue.ReadOnly = true;
//
// finalanglevaluue
//
this.finalanglevaluue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.finalanglevaluue.DataPropertyName = "finalanglevaluue";
this.finalanglevaluue.HeaderText = "螺丝角度";
this.finalanglevaluue.MinimumWidth = 9;
this.finalanglevaluue.Name = "finalanglevaluue";
this.finalanglevaluue.ReadOnly = true;
//
// finaltorquecurve
//
this.finaltorquecurve.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.finaltorquecurve.DataPropertyName = "finaltorquecurve";
this.finaltorquecurve.HeaderText = "扭力曲线";
this.finaltorquecurve.MinimumWidth = 9;
this.finaltorquecurve.Name = "finaltorquecurve";
this.finaltorquecurve.ReadOnly = true;
//
// finalpressurecurve
//
this.finalpressurecurve.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.finalpressurecurve.DataPropertyName = "finalpressurecurve";
this.finalpressurecurve.HeaderText = "压力曲线";
this.finalpressurecurve.MinimumWidth = 9;
this.finalpressurecurve.Name = "finalpressurecurve";
this.finalpressurecurve.ReadOnly = true;
//
// airtight
//
this.airtight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.airtight.DataPropertyName = "airtight";
this.airtight.HeaderText = "气密参数";
this.airtight.MinimumWidth = 9;
this.airtight.Name = "airtight";
this.airtight.ReadOnly = true;
//
// FLOW_Manage
//
@@ -209,6 +318,7 @@
this.Name = "FLOW_Manage";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FLOW_Mange";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.FLOW_Mange_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
@@ -220,14 +330,23 @@
private System.Windows.Forms.DataGridView dataGridView1;
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.Button button1;
private System.Windows.Forms.DataGridViewTextBoxColumn id;
private System.Windows.Forms.DataGridViewTextBoxColumn flowid;
private System.Windows.Forms.DataGridViewTextBoxColumn flowname;
private System.Windows.Forms.DataGridViewTextBoxColumn setp;
private System.Windows.Forms.DataGridViewTextBoxColumn hopestatus;
private System.Windows.Forms.DataGridViewComboBoxColumn hopeinterfaceid;
private System.Windows.Forms.DataGridViewTextBoxColumn hopeinterfaceid;
private System.Windows.Forms.DataGridViewTextBoxColumn errstatus;
private System.Windows.Forms.DataGridViewComboBoxColumn errinterfaceid;
private System.Windows.Forms.DataGridViewTextBoxColumn errinterfaceid;
private System.Windows.Forms.DataGridViewCheckBoxColumn scan;
private System.Windows.Forms.DataGridViewCheckBoxColumn fileupload;
private System.Windows.Forms.DataGridViewCheckBoxColumn finaltorquevalue;
private System.Windows.Forms.DataGridViewCheckBoxColumn finalanglevaluue;
private System.Windows.Forms.DataGridViewCheckBoxColumn finaltorquecurve;
private System.Windows.Forms.DataGridViewCheckBoxColumn finalpressurecurve;
private System.Windows.Forms.DataGridViewCheckBoxColumn airtight;
}
}