|
@@ -34,9 +34,13 @@
|
|
|
this.label_SystemTime = new System.Windows.Forms.Label();
|
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
this.toolStripMenuIte_PortSet = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
+ this.ToolStripMenuItem_PowerKey = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
+ this.开ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
+ this.关ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
|
this.comboBox_File = new System.Windows.Forms.ComboBox();
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.label_ErrorInfo = new System.Windows.Forms.Label();
|
|
|
this.label26 = new System.Windows.Forms.Label();
|
|
|
this.label18 = new System.Windows.Forms.Label();
|
|
|
this.label37 = new System.Windows.Forms.Label();
|
|
@@ -72,6 +76,7 @@
|
|
|
this.richTextBox_Ver = new System.Windows.Forms.RichTextBox();
|
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
+ this.label20 = new System.Windows.Forms.Label();
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
|
|
this.groupBox6 = new System.Windows.Forms.GroupBox();
|
|
@@ -83,6 +88,7 @@
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
this.textBox_PDinfo = new System.Windows.Forms.TextBox();
|
|
|
this.button_Write = new System.Windows.Forms.Button();
|
|
|
+ this.button_Start = new System.Windows.Forms.Button();
|
|
|
this.button_Clear = new System.Windows.Forms.Button();
|
|
|
this.groupBox9 = new System.Windows.Forms.GroupBox();
|
|
|
this.textBox_Dir = new System.Windows.Forms.TextBox();
|
|
@@ -131,10 +137,9 @@
|
|
|
this.label48 = new System.Windows.Forms.Label();
|
|
|
this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
- this.button_Start = new System.Windows.Forms.Button();
|
|
|
- this.label20 = new System.Windows.Forms.Label();
|
|
|
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
|
|
- this.label_ErrorInfo = new System.Windows.Forms.Label();
|
|
|
+ this.button_CheckCfg = new System.Windows.Forms.Button();
|
|
|
+ this.richTextBox_Cfg = new System.Windows.Forms.RichTextBox();
|
|
|
this.menuStrip1.SuspendLayout();
|
|
|
this.groupBox4.SuspendLayout();
|
|
|
this.groupBox1.SuspendLayout();
|
|
@@ -176,7 +181,8 @@
|
|
|
this.menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
this.menuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
- this.toolStripMenuIte_PortSet});
|
|
|
+ this.toolStripMenuIte_PortSet,
|
|
|
+ this.ToolStripMenuItem_PowerKey});
|
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
|
this.menuStrip1.Size = new System.Drawing.Size(980, 29);
|
|
@@ -185,14 +191,44 @@
|
|
|
//
|
|
|
// toolStripMenuIte_PortSet
|
|
|
//
|
|
|
- this.toolStripMenuIte_PortSet.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.toolStripMenuIte_PortSet.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
this.toolStripMenuIte_PortSet.Name = "toolStripMenuIte_PortSet";
|
|
|
this.toolStripMenuIte_PortSet.Size = new System.Drawing.Size(86, 25);
|
|
|
this.toolStripMenuIte_PortSet.Text = "端口设置";
|
|
|
this.toolStripMenuIte_PortSet.Click += new System.EventHandler(this.toolStripMenuIte_PortSet_Click);
|
|
|
//
|
|
|
+ // ToolStripMenuItem_PowerKey
|
|
|
+ //
|
|
|
+ this.ToolStripMenuItem_PowerKey.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
+ this.开ToolStripMenuItem,
|
|
|
+ this.关ToolStripMenuItem});
|
|
|
+ this.ToolStripMenuItem_PowerKey.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
+ this.ToolStripMenuItem_PowerKey.ImageTransparentColor = System.Drawing.Color.White;
|
|
|
+ this.ToolStripMenuItem_PowerKey.Name = "ToolStripMenuItem_PowerKey";
|
|
|
+ this.ToolStripMenuItem_PowerKey.Size = new System.Drawing.Size(86, 25);
|
|
|
+ this.ToolStripMenuItem_PowerKey.Text = "系统开关";
|
|
|
+ //
|
|
|
+ // 开ToolStripMenuItem
|
|
|
+ //
|
|
|
+ this.开ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
+ this.开ToolStripMenuItem.Name = "开ToolStripMenuItem";
|
|
|
+ this.开ToolStripMenuItem.Size = new System.Drawing.Size(96, 26);
|
|
|
+ this.开ToolStripMenuItem.Text = "开";
|
|
|
+ this.开ToolStripMenuItem.Click += new System.EventHandler(this.开ToolStripMenuItem_Click);
|
|
|
+ //
|
|
|
+ // 关ToolStripMenuItem
|
|
|
+ //
|
|
|
+ this.关ToolStripMenuItem.Checked = true;
|
|
|
+ this.关ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
+ this.关ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
+ this.关ToolStripMenuItem.Name = "关ToolStripMenuItem";
|
|
|
+ this.关ToolStripMenuItem.Size = new System.Drawing.Size(96, 26);
|
|
|
+ this.关ToolStripMenuItem.Text = "关";
|
|
|
+ this.关ToolStripMenuItem.Click += new System.EventHandler(this.关ToolStripMenuItem_Click);
|
|
|
+ //
|
|
|
// groupBox4
|
|
|
//
|
|
|
+ this.groupBox4.Controls.Add(this.button_CheckCfg);
|
|
|
this.groupBox4.Controls.Add(this.comboBox_File);
|
|
|
this.groupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
this.groupBox4.Location = new System.Drawing.Point(12, 32);
|
|
@@ -209,7 +245,7 @@
|
|
|
this.comboBox_File.FormattingEnabled = true;
|
|
|
this.comboBox_File.Location = new System.Drawing.Point(10, 33);
|
|
|
this.comboBox_File.Name = "comboBox_File";
|
|
|
- this.comboBox_File.Size = new System.Drawing.Size(451, 29);
|
|
|
+ this.comboBox_File.Size = new System.Drawing.Size(382, 29);
|
|
|
this.comboBox_File.TabIndex = 1;
|
|
|
//
|
|
|
// groupBox1
|
|
@@ -242,13 +278,21 @@
|
|
|
this.groupBox1.Controls.Add(this.label7);
|
|
|
this.groupBox1.Controls.Add(this.label12);
|
|
|
this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
- this.groupBox1.Location = new System.Drawing.Point(494, 352);
|
|
|
+ this.groupBox1.Location = new System.Drawing.Point(495, 352);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
this.groupBox1.Size = new System.Drawing.Size(474, 373);
|
|
|
this.groupBox1.TabIndex = 9;
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "测试状态";
|
|
|
//
|
|
|
+ // label_ErrorInfo
|
|
|
+ //
|
|
|
+ this.label_ErrorInfo.Location = new System.Drawing.Point(262, 38);
|
|
|
+ this.label_ErrorInfo.Name = "label_ErrorInfo";
|
|
|
+ this.label_ErrorInfo.Size = new System.Drawing.Size(197, 160);
|
|
|
+ this.label_ErrorInfo.TabIndex = 2;
|
|
|
+ this.label_ErrorInfo.Text = "无故障";
|
|
|
+ //
|
|
|
// label26
|
|
|
//
|
|
|
this.label26.BackColor = System.Drawing.SystemColors.Control;
|
|
@@ -621,6 +665,16 @@
|
|
|
this.label6.TabIndex = 3;
|
|
|
this.label6.Text = "↓";
|
|
|
//
|
|
|
+ // label20
|
|
|
+ //
|
|
|
+ this.label20.AutoSize = true;
|
|
|
+ this.label20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label20.Location = new System.Drawing.Point(90, 86);
|
|
|
+ this.label20.Name = "label20";
|
|
|
+ this.label20.Size = new System.Drawing.Size(26, 22);
|
|
|
+ this.label20.TabIndex = 3;
|
|
|
+ this.label20.Text = "→";
|
|
|
+ //
|
|
|
// label5
|
|
|
//
|
|
|
this.label5.AutoSize = true;
|
|
@@ -752,6 +806,19 @@
|
|
|
this.button_Write.UseVisualStyleBackColor = false;
|
|
|
this.button_Write.Click += new System.EventHandler(this.button_Write_Click);
|
|
|
//
|
|
|
+ // button_Start
|
|
|
+ //
|
|
|
+ this.button_Start.BackColor = System.Drawing.Color.Purple;
|
|
|
+ this.button_Start.Enabled = false;
|
|
|
+ this.button_Start.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.button_Start.Location = new System.Drawing.Point(16, 46);
|
|
|
+ this.button_Start.Name = "button_Start";
|
|
|
+ this.button_Start.Size = new System.Drawing.Size(70, 98);
|
|
|
+ this.button_Start.TabIndex = 0;
|
|
|
+ this.button_Start.Text = "开始\r\n测试";
|
|
|
+ this.button_Start.UseVisualStyleBackColor = false;
|
|
|
+ this.button_Start.Click += new System.EventHandler(this.button_Start_Click);
|
|
|
+ //
|
|
|
// button_Clear
|
|
|
//
|
|
|
this.button_Clear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
|
|
@@ -798,7 +865,7 @@
|
|
|
this.groupBox9.Controls.Add(this.label23);
|
|
|
this.groupBox9.Controls.Add(this.label9);
|
|
|
this.groupBox9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
- this.groupBox9.Location = new System.Drawing.Point(494, 32);
|
|
|
+ this.groupBox9.Location = new System.Drawing.Point(495, 32);
|
|
|
this.groupBox9.Name = "groupBox9";
|
|
|
this.groupBox9.Size = new System.Drawing.Size(474, 206);
|
|
|
this.groupBox9.TabIndex = 9;
|
|
@@ -1090,7 +1157,7 @@
|
|
|
this.groupBox10.Controls.Add(this.label30);
|
|
|
this.groupBox10.Controls.Add(this.label48);
|
|
|
this.groupBox10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
- this.groupBox10.Location = new System.Drawing.Point(494, 244);
|
|
|
+ this.groupBox10.Location = new System.Drawing.Point(495, 244);
|
|
|
this.groupBox10.Name = "groupBox10";
|
|
|
this.groupBox10.Size = new System.Drawing.Size(474, 102);
|
|
|
this.groupBox10.TabIndex = 9;
|
|
@@ -1228,42 +1295,33 @@
|
|
|
this.timer1.Interval = 20;
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
//
|
|
|
- // button_Start
|
|
|
- //
|
|
|
- this.button_Start.BackColor = System.Drawing.Color.Purple;
|
|
|
- this.button_Start.Enabled = false;
|
|
|
- this.button_Start.ForeColor = System.Drawing.Color.White;
|
|
|
- this.button_Start.Location = new System.Drawing.Point(16, 46);
|
|
|
- this.button_Start.Name = "button_Start";
|
|
|
- this.button_Start.Size = new System.Drawing.Size(70, 98);
|
|
|
- this.button_Start.TabIndex = 0;
|
|
|
- this.button_Start.Text = "开始\r\n测试";
|
|
|
- this.button_Start.UseVisualStyleBackColor = false;
|
|
|
- this.button_Start.Click += new System.EventHandler(this.button_Start_Click);
|
|
|
- //
|
|
|
- // label20
|
|
|
- //
|
|
|
- this.label20.AutoSize = true;
|
|
|
- this.label20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label20.Location = new System.Drawing.Point(90, 86);
|
|
|
- this.label20.Name = "label20";
|
|
|
- this.label20.Size = new System.Drawing.Size(26, 22);
|
|
|
- this.label20.TabIndex = 3;
|
|
|
- this.label20.Text = "→";
|
|
|
- //
|
|
|
// timer2
|
|
|
//
|
|
|
this.timer2.Enabled = true;
|
|
|
this.timer2.Interval = 1000;
|
|
|
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
|
|
//
|
|
|
- // label_ErrorInfo
|
|
|
+ // button_CheckCfg
|
|
|
//
|
|
|
- this.label_ErrorInfo.Location = new System.Drawing.Point(262, 38);
|
|
|
- this.label_ErrorInfo.Name = "label_ErrorInfo";
|
|
|
- this.label_ErrorInfo.Size = new System.Drawing.Size(197, 160);
|
|
|
- this.label_ErrorInfo.TabIndex = 2;
|
|
|
- this.label_ErrorInfo.Text = "无故障";
|
|
|
+ this.button_CheckCfg.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
+ this.button_CheckCfg.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.button_CheckCfg.Location = new System.Drawing.Point(398, 32);
|
|
|
+ this.button_CheckCfg.Name = "button_CheckCfg";
|
|
|
+ this.button_CheckCfg.Size = new System.Drawing.Size(63, 31);
|
|
|
+ this.button_CheckCfg.TabIndex = 2;
|
|
|
+ this.button_CheckCfg.Text = "查看";
|
|
|
+ this.button_CheckCfg.UseVisualStyleBackColor = false;
|
|
|
+ this.button_CheckCfg.Click += new System.EventHandler(this.button_CheckCfg_Click);
|
|
|
+ //
|
|
|
+ // richTextBox_Cfg
|
|
|
+ //
|
|
|
+ this.richTextBox_Cfg.Location = new System.Drawing.Point(974, 43);
|
|
|
+ this.richTextBox_Cfg.Name = "richTextBox_Cfg";
|
|
|
+ this.richTextBox_Cfg.ReadOnly = true;
|
|
|
+ this.richTextBox_Cfg.Size = new System.Drawing.Size(274, 682);
|
|
|
+ this.richTextBox_Cfg.TabIndex = 11;
|
|
|
+ this.richTextBox_Cfg.Text = "";
|
|
|
+ this.richTextBox_Cfg.Visible = false;
|
|
|
//
|
|
|
// ImportForm
|
|
|
//
|
|
@@ -1271,14 +1329,15 @@
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.White;
|
|
|
this.ClientSize = new System.Drawing.Size(980, 758);
|
|
|
- this.Controls.Add(this.groupBox10);
|
|
|
- this.Controls.Add(this.groupBox9);
|
|
|
- this.Controls.Add(this.groupBox1);
|
|
|
+ this.Controls.Add(this.richTextBox_Cfg);
|
|
|
this.Controls.Add(this.groupBox2);
|
|
|
this.Controls.Add(this.groupBox4);
|
|
|
this.Controls.Add(this.label_SystemTime);
|
|
|
this.Controls.Add(this.label2);
|
|
|
this.Controls.Add(this.menuStrip1);
|
|
|
+ this.Controls.Add(this.groupBox9);
|
|
|
+ this.Controls.Add(this.groupBox10);
|
|
|
+ this.Controls.Add(this.groupBox1);
|
|
|
this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
@@ -1417,5 +1476,10 @@
|
|
|
private System.Windows.Forms.Timer timer2;
|
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
private System.Windows.Forms.Label label_ErrorInfo;
|
|
|
+ private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem_PowerKey;
|
|
|
+ private System.Windows.Forms.ToolStripMenuItem 关ToolStripMenuItem;
|
|
|
+ private System.Windows.Forms.ToolStripMenuItem 开ToolStripMenuItem;
|
|
|
+ private System.Windows.Forms.Button button_CheckCfg;
|
|
|
+ private System.Windows.Forms.RichTextBox richTextBox_Cfg;
|
|
|
}
|
|
|
}
|