|
|
|
|
|
|
|
|
|
namespace YD10测试机
|
|
|
|
|
{
|
|
|
|
|
partial class Form3
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form3));
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
|
|
|
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.dataGridView2 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.txtStatus = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnOpen_usb = new System.Windows.Forms.Button();
|
|
|
|
|
this.cmbPort = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
|
|
this.参考信息设置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.打印较准页ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.手动打印ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.车型设置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.yD10ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.yD07KToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.dataGridView3 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
|
|
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
|
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
|
|
this.menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(248, 35);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(59, 26);
|
|
|
|
|
this.label3.TabIndex = 86;
|
|
|
|
|
this.label3.Text = "标定信息:产前标签";
|
|
|
|
|
//
|
|
|
|
|
// label7
|
|
|
|
|
//
|
|
|
|
|
this.label7.AutoSize = true;
|
|
|
|
|
this.label7.Location = new System.Drawing.Point(666, 73);
|
|
|
|
|
this.label7.Name = "label7";
|
|
|
|
|
this.label7.Size = new System.Drawing.Size(0, 12);
|
|
|
|
|
this.label7.TabIndex = 85;
|
|
|
|
|
//
|
|
|
|
|
// checkBox3
|
|
|
|
|
//
|
|
|
|
|
this.checkBox3.AutoSize = true;
|
|
|
|
|
this.checkBox3.Checked = true;
|
|
|
|
|
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.checkBox3.Location = new System.Drawing.Point(429, 124);
|
|
|
|
|
this.checkBox3.Name = "checkBox3";
|
|
|
|
|
this.checkBox3.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.checkBox3.TabIndex = 84;
|
|
|
|
|
this.checkBox3.Text = "号码校验";
|
|
|
|
|
this.checkBox3.UseVisualStyleBackColor = true;
|
|
|
|
|
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// textBox2
|
|
|
|
|
//
|
|
|
|
|
this.textBox2.Location = new System.Drawing.Point(311, 65);
|
|
|
|
|
this.textBox2.Name = "textBox2";
|
|
|
|
|
this.textBox2.Size = new System.Drawing.Size(355, 21);
|
|
|
|
|
this.textBox2.TabIndex = 83;
|
|
|
|
|
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// label6
|
|
|
|
|
//
|
|
|
|
|
this.label6.AutoSize = true;
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(248, 68);
|
|
|
|
|
this.label6.Name = "label6";
|
|
|
|
|
this.label6.Size = new System.Drawing.Size(59, 12);
|
|
|
|
|
this.label6.TabIndex = 82;
|
|
|
|
|
this.label6.Text = "号码校验:";
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(666, 42);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(0, 12);
|
|
|
|
|
this.label5.TabIndex = 81;
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(311, 35);
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(355, 21);
|
|
|
|
|
this.textBox1.TabIndex = 80;
|
|
|
|
|
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.BackColor = System.Drawing.Color.DarkGray;
|
|
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(776, 35);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(278, 88);
|
|
|
|
|
this.label2.TabIndex = 78;
|
|
|
|
|
this.label2.Text = "等待测试";
|
|
|
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// comboBox2
|
|
|
|
|
//
|
|
|
|
|
this.comboBox2.FormattingEnabled = true;
|
|
|
|
|
this.comboBox2.Items.AddRange(new object[] {
|
|
|
|
|
"1",
|
|
|
|
|
"2",
|
|
|
|
|
"3"});
|
|
|
|
|
this.comboBox2.Location = new System.Drawing.Point(704, 134);
|
|
|
|
|
this.comboBox2.Name = "comboBox2";
|
|
|
|
|
this.comboBox2.Size = new System.Drawing.Size(40, 20);
|
|
|
|
|
this.comboBox2.TabIndex = 76;
|
|
|
|
|
//
|
|
|
|
|
// label8
|
|
|
|
|
//
|
|
|
|
|
this.label8.AutoSize = true;
|
|
|
|
|
this.label8.Location = new System.Drawing.Point(670, 138);
|
|
|
|
|
this.label8.Name = "label8";
|
|
|
|
|
this.label8.Size = new System.Drawing.Size(35, 12);
|
|
|
|
|
this.label8.TabIndex = 75;
|
|
|
|
|
this.label8.Text = "张数:";
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(511, 138);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(47, 12);
|
|
|
|
|
this.label4.TabIndex = 74;
|
|
|
|
|
this.label4.Text = "打印机:";
|
|
|
|
|
//
|
|
|
|
|
// comboBox1
|
|
|
|
|
//
|
|
|
|
|
this.comboBox1.FormattingEnabled = true;
|
|
|
|
|
this.comboBox1.Location = new System.Drawing.Point(564, 134);
|
|
|
|
|
this.comboBox1.Name = "comboBox1";
|
|
|
|
|
this.comboBox1.Size = new System.Drawing.Size(102, 20);
|
|
|
|
|
this.comboBox1.TabIndex = 73;
|
|
|
|
|
//
|
|
|
|
|
// checkBox2
|
|
|
|
|
//
|
|
|
|
|
this.checkBox2.AutoSize = true;
|
|
|
|
|
this.checkBox2.Checked = true;
|
|
|
|
|
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.checkBox2.Location = new System.Drawing.Point(672, 118);
|
|
|
|
|
this.checkBox2.Name = "checkBox2";
|
|
|
|
|
this.checkBox2.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.checkBox2.TabIndex = 72;
|
|
|
|
|
this.checkBox2.Text = "自动打印";
|
|
|
|
|
this.checkBox2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// dataGridView2
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView2.AllowUserToAddRows = false;
|
|
|
|
|
this.dataGridView2.AllowUserToResizeRows = false;
|
|
|
|
|
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
|
|
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
|
|
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
|
|
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.dataGridViewTextBoxColumn9,
|
|
|
|
|
this.dataGridViewTextBoxColumn10,
|
|
|
|
|
this.dataGridViewTextBoxColumn11});
|
|
|
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
|
this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
this.dataGridView2.EnableHeadersVisualStyles = false;
|
|
|
|
|
this.dataGridView2.Location = new System.Drawing.Point(704, 163);
|
|
|
|
|
this.dataGridView2.Name = "dataGridView2";
|
|
|
|
|
this.dataGridView2.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView2.RowHeadersWidth = 45;
|
|
|
|
|
this.dataGridView2.RowTemplate.Height = 21;
|
|
|
|
|
this.dataGridView2.Size = new System.Drawing.Size(375, 586);
|
|
|
|
|
this.dataGridView2.TabIndex = 71;
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn9
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn9.FillWeight = 50F;
|
|
|
|
|
this.dataGridViewTextBoxColumn9.HeaderText = "测试项";
|
|
|
|
|
this.dataGridViewTextBoxColumn9.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
|
|
|
|
this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn10
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn10.FillWeight = 50F;
|
|
|
|
|
this.dataGridViewTextBoxColumn10.HeaderText = "数据";
|
|
|
|
|
this.dataGridViewTextBoxColumn10.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn11
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn11.FillWeight = 20F;
|
|
|
|
|
this.dataGridViewTextBoxColumn11.HeaderText = "结果";
|
|
|
|
|
this.dataGridViewTextBoxColumn11.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
|
|
|
|
//
|
|
|
|
|
// dataGridView1
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
|
|
|
this.dataGridView1.AllowUserToResizeRows = false;
|
|
|
|
|
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
|
|
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.Column1,
|
|
|
|
|
this.Column2,
|
|
|
|
|
this.Column3});
|
|
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
|
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
|
|
this.dataGridView1.EnableHeadersVisualStyles = false;
|
|
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(29, 123);
|
|
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
|
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView1.RowHeadersWidth = 45;
|
|
|
|
|
this.dataGridView1.RowTemplate.Height = 19;
|
|
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(316, 626);
|
|
|
|
|
this.dataGridView1.TabIndex = 70;
|
|
|
|
|
//
|
|
|
|
|
// Column1
|
|
|
|
|
//
|
|
|
|
|
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.Column1.FillWeight = 50F;
|
|
|
|
|
this.Column1.HeaderText = "测试项";
|
|
|
|
|
this.Column1.MinimumWidth = 2;
|
|
|
|
|
this.Column1.Name = "Column1";
|
|
|
|
|
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// Column2
|
|
|
|
|
//
|
|
|
|
|
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.Column2.FillWeight = 50F;
|
|
|
|
|
this.Column2.HeaderText = "数据";
|
|
|
|
|
this.Column2.MinimumWidth = 2;
|
|
|
|
|
this.Column2.Name = "Column2";
|
|
|
|
|
//
|
|
|
|
|
// Column3
|
|
|
|
|
//
|
|
|
|
|
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.Column3.FillWeight = 20F;
|
|
|
|
|
this.Column3.HeaderText = "结果";
|
|
|
|
|
this.Column3.MinimumWidth = 2;
|
|
|
|
|
this.Column3.Name = "Column3";
|
|
|
|
|
//
|
|
|
|
|
// txtStatus
|
|
|
|
|
//
|
|
|
|
|
this.txtStatus.AutoSize = true;
|
|
|
|
|
this.txtStatus.Location = new System.Drawing.Point(50, 81);
|
|
|
|
|
this.txtStatus.Name = "txtStatus";
|
|
|
|
|
this.txtStatus.Size = new System.Drawing.Size(0, 12);
|
|
|
|
|
this.txtStatus.TabIndex = 69;
|
|
|
|
|
//
|
|
|
|
|
// btnOpen_usb
|
|
|
|
|
//
|
|
|
|
|
this.btnOpen_usb.Location = new System.Drawing.Point(153, 55);
|
|
|
|
|
this.btnOpen_usb.Name = "btnOpen_usb";
|
|
|
|
|
this.btnOpen_usb.Size = new System.Drawing.Size(64, 21);
|
|
|
|
|
this.btnOpen_usb.TabIndex = 68;
|
|
|
|
|
this.btnOpen_usb.Text = "打开";
|
|
|
|
|
this.btnOpen_usb.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnOpen_usb.Click += new System.EventHandler(this.btnOpen_usb_Click);
|
|
|
|
|
//
|
|
|
|
|
// cmbPort
|
|
|
|
|
//
|
|
|
|
|
this.cmbPort.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.cmbPort.FormattingEnabled = true;
|
|
|
|
|
this.cmbPort.Location = new System.Drawing.Point(65, 53);
|
|
|
|
|
this.cmbPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
|
|
|
this.cmbPort.Name = "cmbPort";
|
|
|
|
|
this.cmbPort.Size = new System.Drawing.Size(83, 24);
|
|
|
|
|
this.cmbPort.TabIndex = 67;
|
|
|
|
|
this.cmbPort.DropDown += new System.EventHandler(this.cmbPort_DropDown);
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 10.18868F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(23, 60);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(42, 14);
|
|
|
|
|
this.label1.TabIndex = 66;
|
|
|
|
|
this.label1.Text = "端口:";
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.参考信息设置ToolStripMenuItem,
|
|
|
|
|
this.打印较准页ToolStripMenuItem,
|
|
|
|
|
this.手动打印ToolStripMenuItem,
|
|
|
|
|
this.车型设置ToolStripMenuItem});
|
|
|
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
|
|
|
this.menuStrip1.Size = new System.Drawing.Size(1109, 28);
|
|
|
|
|
this.menuStrip1.TabIndex = 79;
|
|
|
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
|
|
|
this.menuStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.menuStrip1_ItemClicked);
|
|
|
|
|
//
|
|
|
|
|
// 参考信息设置ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.Name = "参考信息设置ToolStripMenuItem";
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.Size = new System.Drawing.Size(105, 24);
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.Text = "参考信息设置";
|
|
|
|
|
this.参考信息设置ToolStripMenuItem.Click += new System.EventHandler(this.参考信息设置ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// 打印较准页ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.打印较准页ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.打印较准页ToolStripMenuItem.Name = "打印较准页ToolStripMenuItem";
|
|
|
|
|
this.打印较准页ToolStripMenuItem.Size = new System.Drawing.Size(91, 24);
|
|
|
|
|
this.打印较准页ToolStripMenuItem.Text = "打印较准页";
|
|
|
|
|
this.打印较准页ToolStripMenuItem.Click += new System.EventHandler(this.打印较准页ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// 手动打印ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.手动打印ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.手动打印ToolStripMenuItem.Name = "手动打印ToolStripMenuItem";
|
|
|
|
|
this.手动打印ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
|
|
|
|
|
this.手动打印ToolStripMenuItem.Text = "手动打印";
|
|
|
|
|
this.手动打印ToolStripMenuItem.Click += new System.EventHandler(this.手动打印ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// 车型设置ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.车型设置ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.yD10ToolStripMenuItem,
|
|
|
|
|
this.yD07KToolStripMenuItem});
|
|
|
|
|
this.车型设置ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.车型设置ToolStripMenuItem.Name = "车型设置ToolStripMenuItem";
|
|
|
|
|
this.车型设置ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
|
|
|
|
|
this.车型设置ToolStripMenuItem.Text = "车型设置";
|
|
|
|
|
this.车型设置ToolStripMenuItem.Click += new System.EventHandler(this.车型设置ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// yD10ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.yD10ToolStripMenuItem.Name = "yD10ToolStripMenuItem";
|
|
|
|
|
this.yD10ToolStripMenuItem.Size = new System.Drawing.Size(122, 24);
|
|
|
|
|
this.yD10ToolStripMenuItem.Text = "YD10";
|
|
|
|
|
this.yD10ToolStripMenuItem.Click += new System.EventHandler(this.yD10ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// yD07KToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.yD07KToolStripMenuItem.Name = "yD07KToolStripMenuItem";
|
|
|
|
|
this.yD07KToolStripMenuItem.Size = new System.Drawing.Size(122, 24);
|
|
|
|
|
this.yD07KToolStripMenuItem.Text = "YD07K";
|
|
|
|
|
this.yD07KToolStripMenuItem.Click += new System.EventHandler(this.yD07KToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// dataGridView3
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView3.AllowUserToAddRows = false;
|
|
|
|
|
this.dataGridView3.AllowUserToResizeRows = false;
|
|
|
|
|
this.dataGridView3.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
|
|
this.dataGridView3.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
|
|
this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
|
|
this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.dataGridViewTextBoxColumn1,
|
|
|
|
|
this.dataGridViewTextBoxColumn2,
|
|
|
|
|
this.dataGridViewTextBoxColumn3});
|
|
|
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
|
this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
|
|
this.dataGridView3.EnableHeadersVisualStyles = false;
|
|
|
|
|
this.dataGridView3.Location = new System.Drawing.Point(363, 163);
|
|
|
|
|
this.dataGridView3.Name = "dataGridView3";
|
|
|
|
|
this.dataGridView3.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView3.RowHeadersWidth = 45;
|
|
|
|
|
this.dataGridView3.RowTemplate.Height = 19;
|
|
|
|
|
this.dataGridView3.Size = new System.Drawing.Size(316, 586);
|
|
|
|
|
this.dataGridView3.TabIndex = 87;
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn1
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn1.FillWeight = 50F;
|
|
|
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "测试项";
|
|
|
|
|
this.dataGridViewTextBoxColumn1.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
|
|
|
this.dataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn2
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn2.FillWeight = 50F;
|
|
|
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "数据";
|
|
|
|
|
this.dataGridViewTextBoxColumn2.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
|
|
|
//
|
|
|
|
|
// dataGridViewTextBoxColumn3
|
|
|
|
|
//
|
|
|
|
|
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.dataGridViewTextBoxColumn3.FillWeight = 20F;
|
|
|
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "结果";
|
|
|
|
|
this.dataGridViewTextBoxColumn3.MinimumWidth = 2;
|
|
|
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
|
|
|
//
|
|
|
|
|
// timer1
|
|
|
|
|
//
|
|
|
|
|
this.timer1.Enabled = true;
|
|
|
|
|
this.timer1.Interval = 500;
|
|
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
|
|
//
|
|
|
|
|
// timer2
|
|
|
|
|
//
|
|
|
|
|
this.timer2.Enabled = true;
|
|
|
|
|
this.timer2.Interval = 50;
|
|
|
|
|
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
|
|
|
|
//
|
|
|
|
|
// printDocument1
|
|
|
|
|
//
|
|
|
|
|
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
|
|
|
|
|
//
|
|
|
|
|
// textBox3
|
|
|
|
|
//
|
|
|
|
|
this.textBox3.Location = new System.Drawing.Point(311, 96);
|
|
|
|
|
this.textBox3.Name = "textBox3";
|
|
|
|
|
this.textBox3.Size = new System.Drawing.Size(355, 21);
|
|
|
|
|
this.textBox3.TabIndex = 89;
|
|
|
|
|
this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// label9
|
|
|
|
|
//
|
|
|
|
|
this.label9.AutoSize = true;
|
|
|
|
|
this.label9.Location = new System.Drawing.Point(267, 99);
|
|
|
|
|
this.label9.Name = "label9";
|
|
|
|
|
this.label9.Size = new System.Drawing.Size(23, 12);
|
|
|
|
|
this.label9.TabIndex = 88;
|
|
|
|
|
this.label9.Text = "SN:";
|
|
|
|
|
//
|
|
|
|
|
// label10
|
|
|
|
|
//
|
|
|
|
|
this.label10.AutoSize = true;
|
|
|
|
|
this.label10.Location = new System.Drawing.Point(666, 103);
|
|
|
|
|
this.label10.Name = "label10";
|
|
|
|
|
this.label10.Size = new System.Drawing.Size(0, 12);
|
|
|
|
|
this.label10.TabIndex = 91;
|
|
|
|
|
//
|
|
|
|
|
// checkBox1
|
|
|
|
|
//
|
|
|
|
|
this.checkBox1.AutoSize = true;
|
|
|
|
|
this.checkBox1.Checked = true;
|
|
|
|
|
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.checkBox1.Location = new System.Drawing.Point(29, 101);
|
|
|
|
|
this.checkBox1.Name = "checkBox1";
|
|
|
|
|
this.checkBox1.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.checkBox1.TabIndex = 92;
|
|
|
|
|
this.checkBox1.Text = "蓝牙连接";
|
|
|
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
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(775, 131);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(279, 26);
|
|
|
|
|
this.button1.TabIndex = 93;
|
|
|
|
|
this.button1.Text = "开始测试";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// Form3
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1109, 762);
|
|
|
|
|
this.Controls.Add(this.button1);
|
|
|
|
|
this.Controls.Add(this.checkBox1);
|
|
|
|
|
this.Controls.Add(this.label10);
|
|
|
|
|
this.Controls.Add(this.textBox3);
|
|
|
|
|
this.Controls.Add(this.label9);
|
|
|
|
|
this.Controls.Add(this.dataGridView3);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.label7);
|
|
|
|
|
this.Controls.Add(this.checkBox3);
|
|
|
|
|
this.Controls.Add(this.textBox2);
|
|
|
|
|
this.Controls.Add(this.label6);
|
|
|
|
|
this.Controls.Add(this.label5);
|
|
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.comboBox2);
|
|
|
|
|
this.Controls.Add(this.label8);
|
|
|
|
|
this.Controls.Add(this.label4);
|
|
|
|
|
this.Controls.Add(this.comboBox1);
|
|
|
|
|
this.Controls.Add(this.checkBox2);
|
|
|
|
|
this.Controls.Add(this.dataGridView2);
|
|
|
|
|
this.Controls.Add(this.dataGridView1);
|
|
|
|
|
this.Controls.Add(this.txtStatus);
|
|
|
|
|
this.Controls.Add(this.btnOpen_usb);
|
|
|
|
|
this.Controls.Add(this.cmbPort);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Controls.Add(this.menuStrip1);
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.Name = "Form3";
|
|
|
|
|
this.Text = "YD07K上位机测试V1.9";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form3_FormClosing);
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form3_FormClosed);
|
|
|
|
|
this.Load += new System.EventHandler(this.Form3_Load);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
|
|
this.menuStrip1.ResumeLayout(false);
|
|
|
|
|
this.menuStrip1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBox3;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.ComboBox comboBox2;
|
|
|
|
|
private System.Windows.Forms.Label label8;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBox2;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView2;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
|
|
|
|
private System.Windows.Forms.Label txtStatus;
|
|
|
|
|
private System.Windows.Forms.Button btnOpen_usb;
|
|
|
|
|
private System.Windows.Forms.ComboBox cmbPort;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 参考信息设置ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 打印较准页ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 手动打印ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 车型设置ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem yD10ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem yD07KToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView3;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
|
|
|
private System.Windows.Forms.Timer timer1;
|
|
|
|
|
private System.Windows.Forms.Timer timer2;
|
|
|
|
|
private System.Drawing.Printing.PrintDocument printDocument1;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
|
|
|
private System.Windows.Forms.Label label9;
|
|
|
|
|
private System.Windows.Forms.Label label10;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
}
|
|
|
|
|
}
|