按照客户要求将excel导出文件保存为一个条码一条记录,名称为SN_结果_时间.xslx
This commit is contained in:
196
SLZ_4/ConfigDevicePort.Designer.cs
generated
Normal file
196
SLZ_4/ConfigDevicePort.Designer.cs
generated
Normal file
@@ -0,0 +1,196 @@
|
||||
|
||||
namespace SLZ_4
|
||||
{
|
||||
partial class ConfigDevicePort
|
||||
{
|
||||
/// <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(ConfigDevicePort));
|
||||
this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.CodePort = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.CodeBaud = new System.Windows.Forms.ComboBox();
|
||||
this.CodeIsComm = new System.Windows.Forms.Label();
|
||||
this.CodeCon = new System.Windows.Forms.Button();
|
||||
this.CodeBreak = new System.Windows.Forms.Button();
|
||||
this.CodeRefresh = new System.Windows.Forms.Button();
|
||||
this.uiGroupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// uiGroupBox1
|
||||
//
|
||||
this.uiGroupBox1.Controls.Add(this.label1);
|
||||
this.uiGroupBox1.Controls.Add(this.CodePort);
|
||||
this.uiGroupBox1.Controls.Add(this.label2);
|
||||
this.uiGroupBox1.Controls.Add(this.label3);
|
||||
this.uiGroupBox1.Controls.Add(this.CodeBaud);
|
||||
this.uiGroupBox1.Controls.Add(this.CodeIsComm);
|
||||
this.uiGroupBox1.Controls.Add(this.CodeCon);
|
||||
this.uiGroupBox1.Controls.Add(this.CodeBreak);
|
||||
this.uiGroupBox1.Controls.Add(this.CodeRefresh);
|
||||
this.uiGroupBox1.FillColor = System.Drawing.Color.Transparent;
|
||||
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(44, 14);
|
||||
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(386, 386);
|
||||
this.uiGroupBox1.Style = Sunny.UI.UIStyle.Custom;
|
||||
this.uiGroupBox1.TabIndex = 75;
|
||||
this.uiGroupBox1.Text = "仪器串口设置";
|
||||
this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label1.Location = new System.Drawing.Point(40, 172);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(88, 16);
|
||||
this.label1.TabIndex = 70;
|
||||
this.label1.Text = "串口状态:";
|
||||
//
|
||||
// CodePort
|
||||
//
|
||||
this.CodePort.FormattingEnabled = true;
|
||||
this.CodePort.Location = new System.Drawing.Point(151, 66);
|
||||
this.CodePort.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.CodePort.Name = "CodePort";
|
||||
this.CodePort.Size = new System.Drawing.Size(137, 24);
|
||||
this.CodePort.TabIndex = 67;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(40, 66);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(64, 16);
|
||||
this.label2.TabIndex = 65;
|
||||
this.label2.Text = "端口号:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(40, 118);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(64, 16);
|
||||
this.label3.TabIndex = 66;
|
||||
this.label3.Text = "波特率:";
|
||||
//
|
||||
// CodeBaud
|
||||
//
|
||||
this.CodeBaud.FormattingEnabled = true;
|
||||
this.CodeBaud.Items.AddRange(new object[] {
|
||||
"115200",
|
||||
"9600"});
|
||||
this.CodeBaud.Location = new System.Drawing.Point(151, 115);
|
||||
this.CodeBaud.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.CodeBaud.Name = "CodeBaud";
|
||||
this.CodeBaud.Size = new System.Drawing.Size(137, 24);
|
||||
this.CodeBaud.TabIndex = 68;
|
||||
//
|
||||
// CodeIsComm
|
||||
//
|
||||
this.CodeIsComm.AutoSize = true;
|
||||
this.CodeIsComm.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.CodeIsComm.Location = new System.Drawing.Point(148, 172);
|
||||
this.CodeIsComm.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.CodeIsComm.Name = "CodeIsComm";
|
||||
this.CodeIsComm.Size = new System.Drawing.Size(56, 16);
|
||||
this.CodeIsComm.TabIndex = 69;
|
||||
this.CodeIsComm.Text = "label6";
|
||||
//
|
||||
// CodeCon
|
||||
//
|
||||
this.CodeCon.Location = new System.Drawing.Point(151, 220);
|
||||
this.CodeCon.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.CodeCon.Name = "CodeCon";
|
||||
this.CodeCon.Size = new System.Drawing.Size(125, 45);
|
||||
this.CodeCon.TabIndex = 62;
|
||||
this.CodeCon.TabStop = false;
|
||||
this.CodeCon.Text = "连接串口";
|
||||
this.CodeCon.UseVisualStyleBackColor = true;
|
||||
this.CodeCon.Click += new System.EventHandler(this.CodeCon_Click);
|
||||
//
|
||||
// CodeBreak
|
||||
//
|
||||
this.CodeBreak.Location = new System.Drawing.Point(151, 325);
|
||||
this.CodeBreak.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.CodeBreak.Name = "CodeBreak";
|
||||
this.CodeBreak.Size = new System.Drawing.Size(125, 45);
|
||||
this.CodeBreak.TabIndex = 63;
|
||||
this.CodeBreak.Text = "断开连接";
|
||||
this.CodeBreak.UseVisualStyleBackColor = true;
|
||||
this.CodeBreak.Click += new System.EventHandler(this.CodeBreak_Click);
|
||||
//
|
||||
// CodeRefresh
|
||||
//
|
||||
this.CodeRefresh.Location = new System.Drawing.Point(151, 272);
|
||||
this.CodeRefresh.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.CodeRefresh.Name = "CodeRefresh";
|
||||
this.CodeRefresh.Size = new System.Drawing.Size(125, 45);
|
||||
this.CodeRefresh.TabIndex = 64;
|
||||
this.CodeRefresh.Text = "刷新串口";
|
||||
this.CodeRefresh.UseVisualStyleBackColor = true;
|
||||
this.CodeRefresh.Click += new System.EventHandler(this.CodeRefresh_Click);
|
||||
//
|
||||
// ConfigDevicePort
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.LightBlue;
|
||||
this.ClientSize = new System.Drawing.Size(482, 433);
|
||||
this.Controls.Add(this.uiGroupBox1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "ConfigDevicePort";
|
||||
this.Text = "配置仪器串口";
|
||||
this.uiGroupBox1.ResumeLayout(false);
|
||||
this.uiGroupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Sunny.UI.UIGroupBox uiGroupBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
public System.Windows.Forms.ComboBox CodePort;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox CodeBaud;
|
||||
public System.Windows.Forms.Label CodeIsComm;
|
||||
private System.Windows.Forms.Button CodeCon;
|
||||
private System.Windows.Forms.Button CodeBreak;
|
||||
private System.Windows.Forms.Button CodeRefresh;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user