按照客户要求将excel导出文件保存为一个条码一条记录,名称为SN_结果_时间.xslx

This commit is contained in:
LL
2025-11-14 17:27:29 +08:00
commit 883060d140
79 changed files with 166110 additions and 0 deletions

340
SLZ_4/ConfigDevice.Designer.cs generated Normal file
View File

@@ -0,0 +1,340 @@

namespace SLZ_4
{
partial class ConfigDevice
{
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigDevice));
this.label1 = new System.Windows.Forms.Label();
this.localIP = new System.Windows.Forms.Label();
this.buttonSearch = new System.Windows.Forms.Button();
this.labelPort1 = new System.Windows.Forms.Label();
this.ch1IP = new System.Windows.Forms.Label();
this.commStatus1 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.labelPort2 = new System.Windows.Forms.Label();
this.ch2IP = new System.Windows.Forms.Label();
this.commStatus2 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
this.labelVersion1 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.uiGroupBox2 = new Sunny.UI.UIGroupBox();
this.labelVersion2 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.uiGroupBox1.SuspendLayout();
this.uiGroupBox2.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(19, 32);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 16);
this.label1.TabIndex = 0;
this.label1.Text = "本机IP地址";
//
// localIP
//
this.localIP.AutoSize = true;
this.localIP.Location = new System.Drawing.Point(155, 32);
this.localIP.Name = "localIP";
this.localIP.Size = new System.Drawing.Size(104, 16);
this.localIP.TabIndex = 1;
this.localIP.Text = "192.168.1.59";
//
// buttonSearch
//
this.buttonSearch.Location = new System.Drawing.Point(309, 24);
this.buttonSearch.Name = "buttonSearch";
this.buttonSearch.Size = new System.Drawing.Size(92, 34);
this.buttonSearch.TabIndex = 2;
this.buttonSearch.Text = "搜索IP";
this.buttonSearch.UseVisualStyleBackColor = true;
this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click);
//
// labelPort1
//
this.labelPort1.AutoSize = true;
this.labelPort1.BackColor = System.Drawing.Color.Transparent;
this.labelPort1.Location = new System.Drawing.Point(174, 145);
this.labelPort1.Name = "labelPort1";
this.labelPort1.Size = new System.Drawing.Size(40, 16);
this.labelPort1.TabIndex = 5;
this.labelPort1.Text = "9999";
//
// ch1IP
//
this.ch1IP.AutoSize = true;
this.ch1IP.BackColor = System.Drawing.Color.Transparent;
this.ch1IP.Location = new System.Drawing.Point(174, 94);
this.ch1IP.Name = "ch1IP";
this.ch1IP.Size = new System.Drawing.Size(104, 16);
this.ch1IP.TabIndex = 4;
this.ch1IP.Text = "192.168.1.59";
//
// commStatus1
//
this.commStatus1.AutoSize = true;
this.commStatus1.BackColor = System.Drawing.Color.Transparent;
this.commStatus1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.commStatus1.Location = new System.Drawing.Point(174, 49);
this.commStatus1.Name = "commStatus1";
this.commStatus1.Size = new System.Drawing.Size(29, 20);
this.commStatus1.TabIndex = 3;
this.commStatus1.Text = "OK";
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Location = new System.Drawing.Point(59, 145);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 16);
this.label5.TabIndex = 2;
this.label5.Text = "端口号:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Location = new System.Drawing.Point(59, 97);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(64, 16);
this.label4.TabIndex = 1;
this.label4.Text = "IP地址:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(59, 49);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(80, 16);
this.label3.TabIndex = 0;
this.label3.Text = "通讯状态:";
//
// labelPort2
//
this.labelPort2.AutoSize = true;
this.labelPort2.BackColor = System.Drawing.Color.Transparent;
this.labelPort2.Location = new System.Drawing.Point(174, 144);
this.labelPort2.Name = "labelPort2";
this.labelPort2.Size = new System.Drawing.Size(40, 16);
this.labelPort2.TabIndex = 5;
this.labelPort2.Text = "9999";
//
// ch2IP
//
this.ch2IP.AutoSize = true;
this.ch2IP.BackColor = System.Drawing.Color.Transparent;
this.ch2IP.Location = new System.Drawing.Point(174, 93);
this.ch2IP.Name = "ch2IP";
this.ch2IP.Size = new System.Drawing.Size(104, 16);
this.ch2IP.TabIndex = 4;
this.ch2IP.Text = "192.168.1.59";
//
// commStatus2
//
this.commStatus2.AutoSize = true;
this.commStatus2.BackColor = System.Drawing.Color.Transparent;
this.commStatus2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.commStatus2.Location = new System.Drawing.Point(174, 48);
this.commStatus2.Name = "commStatus2";
this.commStatus2.Size = new System.Drawing.Size(29, 20);
this.commStatus2.TabIndex = 3;
this.commStatus2.Text = "OK";
//
// label8
//
this.label8.AutoSize = true;
this.label8.BackColor = System.Drawing.Color.Transparent;
this.label8.Location = new System.Drawing.Point(59, 144);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(64, 16);
this.label8.TabIndex = 2;
this.label8.Text = "端口号:";
//
// label9
//
this.label9.AutoSize = true;
this.label9.BackColor = System.Drawing.Color.Transparent;
this.label9.Location = new System.Drawing.Point(59, 93);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(64, 16);
this.label9.TabIndex = 1;
this.label9.Text = "IP地址:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.BackColor = System.Drawing.Color.Transparent;
this.label10.Location = new System.Drawing.Point(59, 48);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(80, 16);
this.label10.TabIndex = 0;
this.label10.Text = "通讯状态:";
//
// uiGroupBox1
//
this.uiGroupBox1.Controls.Add(this.labelVersion1);
this.uiGroupBox1.Controls.Add(this.label6);
this.uiGroupBox1.Controls.Add(this.labelPort1);
this.uiGroupBox1.Controls.Add(this.label3);
this.uiGroupBox1.Controls.Add(this.ch1IP);
this.uiGroupBox1.Controls.Add(this.label4);
this.uiGroupBox1.Controls.Add(this.commStatus1);
this.uiGroupBox1.Controls.Add(this.label5);
this.uiGroupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiGroupBox1.Location = new System.Drawing.Point(13, 71);
this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiGroupBox1.Name = "uiGroupBox1";
this.uiGroupBox1.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
this.uiGroupBox1.Size = new System.Drawing.Size(452, 226);
this.uiGroupBox1.TabIndex = 5;
this.uiGroupBox1.Text = "CH1左通道";
this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelVersion1
//
this.labelVersion1.AutoSize = true;
this.labelVersion1.BackColor = System.Drawing.Color.Transparent;
this.labelVersion1.Location = new System.Drawing.Point(174, 192);
this.labelVersion1.Name = "labelVersion1";
this.labelVersion1.Size = new System.Drawing.Size(64, 16);
this.labelVersion1.TabIndex = 7;
this.labelVersion1.Text = "vertion";
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.Color.Transparent;
this.label6.Location = new System.Drawing.Point(59, 192);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(80, 16);
this.label6.TabIndex = 6;
this.label6.Text = "软件版本:";
//
// uiGroupBox2
//
this.uiGroupBox2.Controls.Add(this.labelVersion2);
this.uiGroupBox2.Controls.Add(this.label7);
this.uiGroupBox2.Controls.Add(this.labelPort2);
this.uiGroupBox2.Controls.Add(this.label10);
this.uiGroupBox2.Controls.Add(this.ch2IP);
this.uiGroupBox2.Controls.Add(this.label9);
this.uiGroupBox2.Controls.Add(this.commStatus2);
this.uiGroupBox2.Controls.Add(this.label8);
this.uiGroupBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiGroupBox2.Location = new System.Drawing.Point(13, 311);
this.uiGroupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiGroupBox2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiGroupBox2.Name = "uiGroupBox2";
this.uiGroupBox2.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
this.uiGroupBox2.Size = new System.Drawing.Size(452, 226);
this.uiGroupBox2.TabIndex = 6;
this.uiGroupBox2.Text = "CH2右通道";
this.uiGroupBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelVersion2
//
this.labelVersion2.AutoSize = true;
this.labelVersion2.BackColor = System.Drawing.Color.Transparent;
this.labelVersion2.Location = new System.Drawing.Point(174, 189);
this.labelVersion2.Name = "labelVersion2";
this.labelVersion2.Size = new System.Drawing.Size(64, 16);
this.labelVersion2.TabIndex = 9;
this.labelVersion2.Text = "vertion";
//
// label7
//
this.label7.AutoSize = true;
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.Location = new System.Drawing.Point(59, 189);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(80, 16);
this.label7.TabIndex = 8;
this.label7.Text = "软件版本:";
//
// ConfigDevice
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightBlue;
this.ClientSize = new System.Drawing.Size(480, 543);
this.Controls.Add(this.uiGroupBox2);
this.Controls.Add(this.uiGroupBox1);
this.Controls.Add(this.buttonSearch);
this.Controls.Add(this.localIP);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "ConfigDevice";
this.Text = "ConfigDevice";
this.uiGroupBox1.ResumeLayout(false);
this.uiGroupBox1.PerformLayout();
this.uiGroupBox2.ResumeLayout(false);
this.uiGroupBox2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label localIP;
private System.Windows.Forms.Button buttonSearch;
private System.Windows.Forms.Label labelPort1;
private System.Windows.Forms.Label ch1IP;
private System.Windows.Forms.Label commStatus1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label labelPort2;
private System.Windows.Forms.Label ch2IP;
private System.Windows.Forms.Label commStatus2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private Sunny.UI.UIGroupBox uiGroupBox1;
private Sunny.UI.UIGroupBox uiGroupBox2;
private System.Windows.Forms.Label labelVersion1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label labelVersion2;
private System.Windows.Forms.Label label7;
}
}