csv 页面等

This commit is contained in:
zhougf committed 2025-03-29 11:46:48 +08:00
1 parent 57299c0b55
commit 2b56f8e7d3
17 files changed
+923 -794

No files matched your search

+66 -66
View File
@@ -116,7 +116,7 @@
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1087, 854);
this.tableLayoutPanel1.Size = new System.Drawing.Size(1186, 976);
this.tableLayoutPanel1.TabIndex = 0;
//
// label1
@@ -124,9 +124,9 @@
this.label1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(154, 113);
this.label1.Location = new System.Drawing.Point(165, 129);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(124, 28);
this.label1.Size = new System.Drawing.Size(143, 33);
this.label1.TabIndex = 0;
this.label1.Text = "流程名称";
//
@@ -135,9 +135,9 @@
this.label8.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(616, 113);
this.label8.Location = new System.Drawing.Point(671, 129);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(68, 28);
this.label8.Size = new System.Drawing.Size(79, 33);
this.label8.TabIndex = 7;
this.label8.Text = "扫码";
//
@@ -146,20 +146,20 @@
this.label9.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.Location = new System.Drawing.Point(588, 198);
this.label9.Location = new System.Drawing.Point(639, 226);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(124, 28);
this.label9.Size = new System.Drawing.Size(143, 33);
this.label9.TabIndex = 8;
this.label9.Text = "文件上传";
this.label9.Text = "端子扫码";
//
// label10
//
this.label10.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label10.Location = new System.Drawing.Point(588, 283);
this.label10.Location = new System.Drawing.Point(639, 323);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(124, 28);
this.label10.Size = new System.Drawing.Size(143, 33);
this.label10.TabIndex = 9;
this.label10.Text = "螺丝扭力";
//
@@ -168,9 +168,9 @@
this.button1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.tableLayoutPanel1.SetColumnSpan(this.button1, 2);
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(228, 683);
this.button1.Location = new System.Drawing.Point(249, 779);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(194, 79);
this.button1.Size = new System.Drawing.Size(212, 90);
this.button1.TabIndex = 14;
this.button1.Text = "保存";
this.button1.UseVisualStyleBackColor = true;
@@ -181,9 +181,9 @@
this.button2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.tableLayoutPanel1.SetColumnSpan(this.button2, 2);
this.button2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button2.Location = new System.Drawing.Point(664, 683);
this.button2.Location = new System.Drawing.Point(725, 779);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(190, 79);
this.button2.Size = new System.Drawing.Size(207, 90);
this.button2.TabIndex = 15;
this.button2.Text = "取消";
this.button2.UseVisualStyleBackColor = true;
@@ -194,9 +194,9 @@
this.压力曲线.Anchor = System.Windows.Forms.AnchorStyles.None;
this.压力曲线.AutoSize = true;
this.压力曲线.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.压力曲线.Location = new System.Drawing.Point(856, 542);
this.压力曲线.Location = new System.Drawing.Point(933, 617);
this.压力曲线.Name = "压力曲线";
this.压力曲线.Size = new System.Drawing.Size(22, 21);
this.压力曲线.Size = new System.Drawing.Size(28, 27);
this.压力曲线.TabIndex = 23;
this.压力曲线.UseVisualStyleBackColor = true;
//
@@ -205,9 +205,9 @@
this.螺丝扭力.Anchor = System.Windows.Forms.AnchorStyles.None;
this.螺丝扭力.AutoSize = true;
this.螺丝扭力.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.螺丝扭力.Location = new System.Drawing.Point(856, 287);
this.螺丝扭力.Location = new System.Drawing.Point(933, 326);
this.螺丝扭力.Name = "螺丝扭力";
this.螺丝扭力.Size = new System.Drawing.Size(22, 21);
this.螺丝扭力.Size = new System.Drawing.Size(28, 27);
this.螺丝扭力.TabIndex = 26;
this.螺丝扭力.UseVisualStyleBackColor = true;
//
@@ -216,9 +216,9 @@
this.文件上传.Anchor = System.Windows.Forms.AnchorStyles.None;
this.文件上传.AutoSize = true;
this.文件上传.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.文件上传.Location = new System.Drawing.Point(856, 202);
this.文件上传.Location = new System.Drawing.Point(933, 229);
this.文件上传.Name = "文件上传";
this.文件上传.Size = new System.Drawing.Size(22, 21);
this.文件上传.Size = new System.Drawing.Size(28, 27);
this.文件上传.TabIndex = 27;
this.文件上传.UseVisualStyleBackColor = true;
//
@@ -226,9 +226,9 @@
//
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(328, 108);
this.流程名称.Location = new System.Drawing.Point(358, 123);
this.流程名称.Name = "流程名称";
this.流程名称.Size = new System.Drawing.Size(211, 39);
this.流程名称.Size = new System.Drawing.Size(230, 44);
this.流程名称.TabIndex = 16;
//
// 气密参数
@@ -236,9 +236,9 @@
this.气密参数.Anchor = System.Windows.Forms.AnchorStyles.None;
this.气密参数.AutoSize = true;
this.气密参数.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.气密参数.Location = new System.Drawing.Point(856, 627);
this.气密参数.Location = new System.Drawing.Point(933, 714);
this.气密参数.Name = "气密参数";
this.气密参数.Size = new System.Drawing.Size(22, 21);
this.气密参数.Size = new System.Drawing.Size(28, 27);
this.气密参数.TabIndex = 22;
this.气密参数.UseVisualStyleBackColor = true;
//
@@ -247,9 +247,9 @@
this.label6.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(126, 623);
this.label6.Location = new System.Drawing.Point(133, 711);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(180, 28);
this.label6.Size = new System.Drawing.Size(207, 33);
this.label6.TabIndex = 5;
this.label6.Text = "错误调用接口";
//
@@ -258,9 +258,9 @@
this.label5.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.Location = new System.Drawing.Point(147, 538);
this.label5.Location = new System.Drawing.Point(157, 614);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(138, 28);
this.label5.Size = new System.Drawing.Size(159, 33);
this.label5.TabIndex = 4;
this.label5.Text = "错误PLC值";
//
@@ -269,9 +269,9 @@
this.label4.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(126, 453);
this.label4.Location = new System.Drawing.Point(133, 517);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(180, 28);
this.label4.Size = new System.Drawing.Size(207, 33);
this.label4.TabIndex = 3;
this.label4.Text = "成功调用接口";
//
@@ -280,9 +280,9 @@
this.label3.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(147, 368);
this.label3.Location = new System.Drawing.Point(157, 420);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(138, 28);
this.label3.Size = new System.Drawing.Size(159, 33);
this.label3.TabIndex = 2;
this.label3.Text = "期望PLC值";
//
@@ -291,9 +291,9 @@
this.label2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(182, 283);
this.label2.Location = new System.Drawing.Point(197, 323);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(68, 28);
this.label2.Size = new System.Drawing.Size(79, 33);
this.label2.TabIndex = 1;
this.label2.Text = "步骤";
//
@@ -301,18 +301,18 @@
//
this.期望PLC值.Anchor = System.Windows.Forms.AnchorStyles.None;
this.期望PLC值.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.期望PLC值.Location = new System.Drawing.Point(328, 363);
this.期望PLC值.Location = new System.Drawing.Point(358, 414);
this.期望PLC值.Name = "期望PLC值";
this.期望PLC值.Size = new System.Drawing.Size(211, 39);
this.期望PLC值.Size = new System.Drawing.Size(230, 44);
this.期望PLC值.TabIndex = 20;
//
// 步骤
//
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(328, 278);
this.步骤.Location = new System.Drawing.Point(358, 317);
this.步骤.Name = "步骤";
this.步骤.Size = new System.Drawing.Size(211, 39);
this.步骤.Size = new System.Drawing.Size(230, 44);
this.步骤.TabIndex = 17;
//
// label7
@@ -320,9 +320,9 @@
this.label7.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.Location = new System.Drawing.Point(154, 198);
this.label7.Location = new System.Drawing.Point(165, 226);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(124, 28);
this.label7.Size = new System.Drawing.Size(143, 33);
this.label7.TabIndex = 29;
this.label7.Text = "流程编号";
//
@@ -330,9 +330,9 @@
//
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(328, 193);
this.流程编号.Location = new System.Drawing.Point(358, 220);
this.流程编号.Name = "流程编号";
this.流程编号.Size = new System.Drawing.Size(211, 39);
this.流程编号.Size = new System.Drawing.Size(230, 44);
this.流程编号.TabIndex = 30;
//
// label11
@@ -340,9 +340,9 @@
this.label11.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label11.Location = new System.Drawing.Point(588, 368);
this.label11.Location = new System.Drawing.Point(639, 420);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(124, 28);
this.label11.Size = new System.Drawing.Size(143, 33);
this.label11.TabIndex = 10;
this.label11.Text = "螺丝角度";
//
@@ -351,9 +351,9 @@
this.螺丝角度.Anchor = System.Windows.Forms.AnchorStyles.None;
this.螺丝角度.AutoSize = true;
this.螺丝角度.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.螺丝角度.Location = new System.Drawing.Point(856, 372);
this.螺丝角度.Location = new System.Drawing.Point(933, 423);
this.螺丝角度.Name = "螺丝角度";
this.螺丝角度.Size = new System.Drawing.Size(22, 21);
this.螺丝角度.Size = new System.Drawing.Size(28, 27);
this.螺丝角度.TabIndex = 24;
this.螺丝角度.UseVisualStyleBackColor = true;
//
@@ -362,9 +362,9 @@
this.label12.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label12.Location = new System.Drawing.Point(588, 453);
this.label12.Location = new System.Drawing.Point(639, 517);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(124, 28);
this.label12.Size = new System.Drawing.Size(143, 33);
this.label12.TabIndex = 11;
this.label12.Text = "扭力曲线";
//
@@ -373,9 +373,9 @@
this.扭力曲线.Anchor = System.Windows.Forms.AnchorStyles.None;
this.扭力曲线.AutoSize = true;
this.扭力曲线.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.扭力曲线.Location = new System.Drawing.Point(856, 457);
this.扭力曲线.Location = new System.Drawing.Point(933, 520);
this.扭力曲线.Name = "扭力曲线";
this.扭力曲线.Size = new System.Drawing.Size(22, 21);
this.扭力曲线.Size = new System.Drawing.Size(28, 27);
this.扭力曲线.TabIndex = 25;
this.扭力曲线.UseVisualStyleBackColor = true;
//
@@ -384,9 +384,9 @@
this.label13.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label13.Location = new System.Drawing.Point(588, 538);
this.label13.Location = new System.Drawing.Point(639, 614);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(124, 28);
this.label13.Size = new System.Drawing.Size(143, 33);
this.label13.TabIndex = 12;
this.label13.Text = "压力曲线";
//
@@ -395,9 +395,9 @@
this.label14.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label14.Location = new System.Drawing.Point(588, 623);
this.label14.Location = new System.Drawing.Point(639, 711);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(124, 28);
this.label14.Size = new System.Drawing.Size(143, 33);
this.label14.TabIndex = 13;
this.label14.Text = "气密参数";
//
@@ -406,9 +406,9 @@
this.扫码.Anchor = System.Windows.Forms.AnchorStyles.None;
this.扫码.AutoSize = true;
this.扫码.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.扫码.Location = new System.Drawing.Point(856, 117);
this.扫码.Location = new System.Drawing.Point(933, 132);
this.扫码.Name = "扫码";
this.扫码.Size = new System.Drawing.Size(22, 21);
this.扫码.Size = new System.Drawing.Size(28, 27);
this.扫码.TabIndex = 28;
this.扫码.UseVisualStyleBackColor = true;
//
@@ -416,9 +416,9 @@
//
this.错误PLC值.Anchor = System.Windows.Forms.AnchorStyles.None;
this.错误PLC值.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.错误PLC值.Location = new System.Drawing.Point(328, 533);
this.错误PLC值.Location = new System.Drawing.Point(358, 608);
this.错误PLC值.Name = "错误PLC值";
this.错误PLC值.Size = new System.Drawing.Size(211, 39);
this.错误PLC值.Size = new System.Drawing.Size(230, 44);
this.错误PLC值.TabIndex = 18;
//
// 成功接口
@@ -426,9 +426,9 @@
this.成功接口.Anchor = System.Windows.Forms.AnchorStyles.None;
this.成功接口.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.成功接口.FormattingEnabled = true;
this.成功接口.Location = new System.Drawing.Point(328, 453);
this.成功接口.Location = new System.Drawing.Point(358, 513);
this.成功接口.Name = "成功接口";
this.成功接口.Size = new System.Drawing.Size(211, 36);
this.成功接口.Size = new System.Drawing.Size(230, 41);
this.成功接口.TabIndex = 31;
//
// 错误接口
@@ -436,19 +436,19 @@
this.错误接口.Anchor = System.Windows.Forms.AnchorStyles.None;
this.错误接口.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.错误接口.FormattingEnabled = true;
this.错误接口.Location = new System.Drawing.Point(328, 623);
this.错误接口.Location = new System.Drawing.Point(358, 707);
this.错误接口.Name = "错误接口";
this.错误接口.Size = new System.Drawing.Size(211, 36);
this.错误接口.Size = new System.Drawing.Size(230, 41);
this.错误接口.TabIndex = 32;
//
// FLOW_Insert
// FLow_Insert
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1087, 854);
this.ClientSize = new System.Drawing.Size(1186, 976);
this.Controls.Add(this.tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "FLOW_Insert";
this.Name = "FLow_Insert";
this.Text = "Form_Insert";
this.Load += new System.EventHandler(this.FLOW_Insert_Load);
this.tableLayoutPanel1.ResumeLayout(false);
@@ -63,12 +63,13 @@ namespace WindowsFormsApp1.form
t_Flow.errstatus = _错误PLC值;
t_Flow.errinterfaceid = (int)错误接口.SelectedValue;
t_Flow.scan = 扫码.Checked;
t_Flow.fileupload = 文件上传.Checked;
//t_Flow.fileupload = 文件上传.Checked;
t_Flow.finaltorquevalue = 螺丝扭力.Checked;
t_Flow.finalanglevaluue = 螺丝角度.Checked;
t_Flow.finaltorquecurve = 扭力曲线.Checked;
t_Flow.finalpressurecurve = 压力曲线.Checked;
t_Flow.airtight = 气密参数.Checked;
t_Flow.dzscan = 文件上传.Checked;
SQLiteHelper<t_flow> sQLiteHelper1 = new db.SQLiteHelper<t_flow>();
if (Operation == OperationType.Edit)
@@ -145,7 +146,7 @@ namespace WindowsFormsApp1.form
错误PLC值.Text = DataToEdit.errstatus.ToString();
SelectItemByValue(错误接口, DataToEdit.errinterfaceid.ToString());
扫码.Checked = DataToEdit.scan;
文件上传.Checked = DataToEdit.fileupload;
文件上传.Checked = DataToEdit.dzscan;
螺丝扭力.Checked = DataToEdit.finaltorquevalue;
螺丝角度.Checked = DataToEdit.finalanglevaluue;
扭力曲线.Checked = DataToEdit.finaltorquecurve;