|
@@ -38,7 +38,7 @@
|
|
|
this.开ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.关ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
|
- this.button_CheckCfg = new System.Windows.Forms.Button();
|
|
|
+ this.comboBox_cfgFileDate = new System.Windows.Forms.ComboBox();
|
|
|
this.comboBox_File = new System.Windows.Forms.ComboBox();
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
this.label_ErrorInfo = new System.Windows.Forms.Label();
|
|
@@ -60,6 +60,7 @@
|
|
|
this.label_sensor_PCB_temp = new System.Windows.Forms.Label();
|
|
|
this.label_sensor_cur = new System.Windows.Forms.Label();
|
|
|
this.label_sensor_speed = new System.Windows.Forms.Label();
|
|
|
+ this.label22 = new System.Windows.Forms.Label();
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
|
this.label_sensor_vol = new System.Windows.Forms.Label();
|
|
@@ -67,6 +68,7 @@
|
|
|
this.label_Sensor_Gas = new System.Windows.Forms.Label();
|
|
|
this.label_sensor_motor = new System.Windows.Forms.Label();
|
|
|
this.label_Sensor_Break = new System.Windows.Forms.Label();
|
|
|
+ this.label_BMS_COM = new System.Windows.Forms.Label();
|
|
|
this.label_FW_Version = new System.Windows.Forms.Label();
|
|
|
this.label_sta_light = new System.Windows.Forms.Label();
|
|
|
this.label_Sta_Write = new System.Windows.Forms.Label();
|
|
@@ -140,13 +142,14 @@
|
|
|
this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
|
|
- this.richTextBox_Cfg = new System.Windows.Forms.RichTextBox();
|
|
|
+ this.richTextBox_CfgFile = new System.Windows.Forms.RichTextBox();
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
this.richTextBox_TestRecord = new System.Windows.Forms.RichTextBox();
|
|
|
this.label_Step = new System.Windows.Forms.Label();
|
|
|
this.label_Result = new System.Windows.Forms.Label();
|
|
|
this.label_NetStatus = new System.Windows.Forms.Label();
|
|
|
this.label34 = new System.Windows.Forms.Label();
|
|
|
+ this.checkBox_LocalFile = new System.Windows.Forms.CheckBox();
|
|
|
this.menuStrip1.SuspendLayout();
|
|
|
this.groupBox4.SuspendLayout();
|
|
|
this.groupBox1.SuspendLayout();
|
|
@@ -190,7 +193,7 @@
|
|
|
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);
|
|
|
+ this.menuStrip1.Size = new System.Drawing.Size(1230, 29);
|
|
|
this.menuStrip1.TabIndex = 7;
|
|
|
this.menuStrip1.Text = "端口设置";
|
|
|
//
|
|
@@ -233,7 +236,8 @@
|
|
|
//
|
|
|
// groupBox4
|
|
|
//
|
|
|
- this.groupBox4.Controls.Add(this.button_CheckCfg);
|
|
|
+ this.groupBox4.Controls.Add(this.checkBox_LocalFile);
|
|
|
+ this.groupBox4.Controls.Add(this.comboBox_cfgFileDate);
|
|
|
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);
|
|
@@ -243,17 +247,17 @@
|
|
|
this.groupBox4.TabStop = false;
|
|
|
this.groupBox4.Text = "配置文件";
|
|
|
//
|
|
|
- // button_CheckCfg
|
|
|
+ // comboBox_cfgFileDate
|
|
|
//
|
|
|
- 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(887, 25);
|
|
|
- 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);
|
|
|
+ this.comboBox_cfgFileDate.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ this.comboBox_cfgFileDate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.comboBox_cfgFileDate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
+ this.comboBox_cfgFileDate.FormattingEnabled = true;
|
|
|
+ this.comboBox_cfgFileDate.Location = new System.Drawing.Point(6, 26);
|
|
|
+ this.comboBox_cfgFileDate.Name = "comboBox_cfgFileDate";
|
|
|
+ this.comboBox_cfgFileDate.Size = new System.Drawing.Size(144, 29);
|
|
|
+ this.comboBox_cfgFileDate.TabIndex = 4;
|
|
|
+ this.comboBox_cfgFileDate.SelectionChangeCommitted += new System.EventHandler(this.comboBox_cfgFileDate_SelectionChangeCommitted);
|
|
|
//
|
|
|
// comboBox_File
|
|
|
//
|
|
@@ -261,9 +265,9 @@
|
|
|
this.comboBox_File.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.comboBox_File.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
this.comboBox_File.FormattingEnabled = true;
|
|
|
- this.comboBox_File.Location = new System.Drawing.Point(10, 26);
|
|
|
+ this.comboBox_File.Location = new System.Drawing.Point(156, 26);
|
|
|
this.comboBox_File.Name = "comboBox_File";
|
|
|
- this.comboBox_File.Size = new System.Drawing.Size(871, 29);
|
|
|
+ this.comboBox_File.Size = new System.Drawing.Size(725, 29);
|
|
|
this.comboBox_File.TabIndex = 1;
|
|
|
this.comboBox_File.SelectionChangeCommitted += new System.EventHandler(this.comboBox_File_SelectionChangeCommitted);
|
|
|
//
|
|
@@ -288,6 +292,7 @@
|
|
|
this.groupBox1.Controls.Add(this.label_sensor_PCB_temp);
|
|
|
this.groupBox1.Controls.Add(this.label_sensor_cur);
|
|
|
this.groupBox1.Controls.Add(this.label_sensor_speed);
|
|
|
+ this.groupBox1.Controls.Add(this.label22);
|
|
|
this.groupBox1.Controls.Add(this.label6);
|
|
|
this.groupBox1.Controls.Add(this.label16);
|
|
|
this.groupBox1.Controls.Add(this.label_sensor_vol);
|
|
@@ -295,6 +300,7 @@
|
|
|
this.groupBox1.Controls.Add(this.label_Sensor_Gas);
|
|
|
this.groupBox1.Controls.Add(this.label_sensor_motor);
|
|
|
this.groupBox1.Controls.Add(this.label_Sensor_Break);
|
|
|
+ this.groupBox1.Controls.Add(this.label_BMS_COM);
|
|
|
this.groupBox1.Controls.Add(this.label_FW_Version);
|
|
|
this.groupBox1.Controls.Add(this.label_sta_light);
|
|
|
this.groupBox1.Controls.Add(this.label_Sta_Write);
|
|
@@ -312,9 +318,9 @@
|
|
|
//
|
|
|
// label_ErrorInfo
|
|
|
//
|
|
|
- this.label_ErrorInfo.Location = new System.Drawing.Point(262, 33);
|
|
|
+ this.label_ErrorInfo.Location = new System.Drawing.Point(262, 28);
|
|
|
this.label_ErrorInfo.Name = "label_ErrorInfo";
|
|
|
- this.label_ErrorInfo.Size = new System.Drawing.Size(197, 119);
|
|
|
+ this.label_ErrorInfo.Size = new System.Drawing.Size(197, 102);
|
|
|
this.label_ErrorInfo.TabIndex = 2;
|
|
|
this.label_ErrorInfo.Text = "无故障";
|
|
|
//
|
|
@@ -330,7 +336,7 @@
|
|
|
// label24
|
|
|
//
|
|
|
this.label24.AutoSize = true;
|
|
|
- this.label24.Location = new System.Drawing.Point(7, 317);
|
|
|
+ this.label24.Location = new System.Drawing.Point(7, 280);
|
|
|
this.label24.Name = "label24";
|
|
|
this.label24.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label24.TabIndex = 0;
|
|
@@ -339,7 +345,7 @@
|
|
|
// label20
|
|
|
//
|
|
|
this.label20.AutoSize = true;
|
|
|
- this.label20.Location = new System.Drawing.Point(145, 285);
|
|
|
+ this.label20.Location = new System.Drawing.Point(145, 252);
|
|
|
this.label20.Name = "label20";
|
|
|
this.label20.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label20.TabIndex = 0;
|
|
@@ -348,7 +354,7 @@
|
|
|
// label18
|
|
|
//
|
|
|
this.label18.AutoSize = true;
|
|
|
- this.label18.Location = new System.Drawing.Point(7, 131);
|
|
|
+ this.label18.Location = new System.Drawing.Point(7, 112);
|
|
|
this.label18.Name = "label18";
|
|
|
this.label18.Size = new System.Drawing.Size(90, 21);
|
|
|
this.label18.TabIndex = 0;
|
|
@@ -357,7 +363,7 @@
|
|
|
// label37
|
|
|
//
|
|
|
this.label37.AutoSize = true;
|
|
|
- this.label37.Location = new System.Drawing.Point(307, 161);
|
|
|
+ this.label37.Location = new System.Drawing.Point(307, 140);
|
|
|
this.label37.Name = "label37";
|
|
|
this.label37.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label37.TabIndex = 0;
|
|
@@ -366,7 +372,7 @@
|
|
|
// label35
|
|
|
//
|
|
|
this.label35.AutoSize = true;
|
|
|
- this.label35.Location = new System.Drawing.Point(307, 192);
|
|
|
+ this.label35.Location = new System.Drawing.Point(307, 168);
|
|
|
this.label35.Name = "label35";
|
|
|
this.label35.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label35.TabIndex = 0;
|
|
@@ -375,7 +381,7 @@
|
|
|
// label46
|
|
|
//
|
|
|
this.label46.AutoSize = true;
|
|
|
- this.label46.Location = new System.Drawing.Point(307, 254);
|
|
|
+ this.label46.Location = new System.Drawing.Point(307, 224);
|
|
|
this.label46.Name = "label46";
|
|
|
this.label46.Size = new System.Drawing.Size(106, 21);
|
|
|
this.label46.TabIndex = 0;
|
|
@@ -384,7 +390,7 @@
|
|
|
// label43
|
|
|
//
|
|
|
this.label43.AutoSize = true;
|
|
|
- this.label43.Location = new System.Drawing.Point(145, 254);
|
|
|
+ this.label43.Location = new System.Drawing.Point(145, 224);
|
|
|
this.label43.Name = "label43";
|
|
|
this.label43.Size = new System.Drawing.Size(113, 21);
|
|
|
this.label43.TabIndex = 0;
|
|
@@ -393,7 +399,7 @@
|
|
|
// label41
|
|
|
//
|
|
|
this.label41.AutoSize = true;
|
|
|
- this.label41.Location = new System.Drawing.Point(307, 223);
|
|
|
+ this.label41.Location = new System.Drawing.Point(307, 196);
|
|
|
this.label41.Name = "label41";
|
|
|
this.label41.Size = new System.Drawing.Size(105, 21);
|
|
|
this.label41.TabIndex = 0;
|
|
@@ -402,7 +408,7 @@
|
|
|
// label39
|
|
|
//
|
|
|
this.label39.AutoSize = true;
|
|
|
- this.label39.Location = new System.Drawing.Point(145, 223);
|
|
|
+ this.label39.Location = new System.Drawing.Point(145, 196);
|
|
|
this.label39.Name = "label39";
|
|
|
this.label39.Size = new System.Drawing.Size(90, 21);
|
|
|
this.label39.TabIndex = 0;
|
|
@@ -411,7 +417,7 @@
|
|
|
// label33
|
|
|
//
|
|
|
this.label33.AutoSize = true;
|
|
|
- this.label33.Location = new System.Drawing.Point(145, 192);
|
|
|
+ this.label33.Location = new System.Drawing.Point(145, 168);
|
|
|
this.label33.Name = "label33";
|
|
|
this.label33.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label33.TabIndex = 0;
|
|
@@ -421,9 +427,9 @@
|
|
|
//
|
|
|
this.label_sensor_coil_temp.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_coil_temp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_coil_temp.Location = new System.Drawing.Point(419, 249);
|
|
|
+ this.label_sensor_coil_temp.Location = new System.Drawing.Point(419, 224);
|
|
|
this.label_sensor_coil_temp.Name = "label_sensor_coil_temp";
|
|
|
- this.label_sensor_coil_temp.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_coil_temp.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_coil_temp.TabIndex = 0;
|
|
|
this.label_sensor_coil_temp.Text = "NG";
|
|
|
this.label_sensor_coil_temp.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -432,9 +438,9 @@
|
|
|
//
|
|
|
this.label_sensor_cadence.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_cadence.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_cadence.Location = new System.Drawing.Point(419, 156);
|
|
|
+ this.label_sensor_cadence.Location = new System.Drawing.Point(419, 140);
|
|
|
this.label_sensor_cadence.Name = "label_sensor_cadence";
|
|
|
- this.label_sensor_cadence.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_cadence.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_cadence.TabIndex = 0;
|
|
|
this.label_sensor_cadence.Text = "NG";
|
|
|
this.label_sensor_cadence.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -443,9 +449,9 @@
|
|
|
//
|
|
|
this.label_sensor_MCU_temp.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_MCU_temp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_MCU_temp.Location = new System.Drawing.Point(262, 249);
|
|
|
+ this.label_sensor_MCU_temp.Location = new System.Drawing.Point(262, 224);
|
|
|
this.label_sensor_MCU_temp.Name = "label_sensor_MCU_temp";
|
|
|
- this.label_sensor_MCU_temp.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_MCU_temp.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_MCU_temp.TabIndex = 0;
|
|
|
this.label_sensor_MCU_temp.Text = "NG";
|
|
|
this.label_sensor_MCU_temp.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -453,7 +459,7 @@
|
|
|
// label28
|
|
|
//
|
|
|
this.label28.AutoSize = true;
|
|
|
- this.label28.Location = new System.Drawing.Point(145, 161);
|
|
|
+ this.label28.Location = new System.Drawing.Point(145, 140);
|
|
|
this.label28.Name = "label28";
|
|
|
this.label28.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label28.TabIndex = 0;
|
|
@@ -463,9 +469,9 @@
|
|
|
//
|
|
|
this.label_sensor_PCB_temp.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_PCB_temp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_PCB_temp.Location = new System.Drawing.Point(419, 218);
|
|
|
+ this.label_sensor_PCB_temp.Location = new System.Drawing.Point(419, 196);
|
|
|
this.label_sensor_PCB_temp.Name = "label_sensor_PCB_temp";
|
|
|
- this.label_sensor_PCB_temp.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_PCB_temp.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_PCB_temp.TabIndex = 0;
|
|
|
this.label_sensor_PCB_temp.Text = "NG";
|
|
|
this.label_sensor_PCB_temp.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -474,9 +480,9 @@
|
|
|
//
|
|
|
this.label_sensor_cur.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_cur.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_cur.Location = new System.Drawing.Point(419, 187);
|
|
|
+ this.label_sensor_cur.Location = new System.Drawing.Point(419, 168);
|
|
|
this.label_sensor_cur.Name = "label_sensor_cur";
|
|
|
- this.label_sensor_cur.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_cur.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_cur.TabIndex = 0;
|
|
|
this.label_sensor_cur.Text = "NG";
|
|
|
this.label_sensor_cur.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -485,17 +491,26 @@
|
|
|
//
|
|
|
this.label_sensor_speed.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_speed.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_speed.Location = new System.Drawing.Point(262, 218);
|
|
|
+ this.label_sensor_speed.Location = new System.Drawing.Point(262, 196);
|
|
|
this.label_sensor_speed.Name = "label_sensor_speed";
|
|
|
- this.label_sensor_speed.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_speed.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_speed.TabIndex = 0;
|
|
|
this.label_sensor_speed.Text = "NG";
|
|
|
this.label_sensor_speed.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
//
|
|
|
+ // label22
|
|
|
+ //
|
|
|
+ this.label22.AutoSize = true;
|
|
|
+ this.label22.Location = new System.Drawing.Point(7, 338);
|
|
|
+ this.label22.Name = "label22";
|
|
|
+ this.label22.Size = new System.Drawing.Size(74, 21);
|
|
|
+ this.label22.TabIndex = 0;
|
|
|
+ this.label22.Text = "电池通讯";
|
|
|
+ //
|
|
|
// label6
|
|
|
//
|
|
|
this.label6.AutoSize = true;
|
|
|
- this.label6.Location = new System.Drawing.Point(7, 348);
|
|
|
+ this.label6.Location = new System.Drawing.Point(7, 309);
|
|
|
this.label6.Name = "label6";
|
|
|
this.label6.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label6.TabIndex = 0;
|
|
@@ -504,7 +519,7 @@
|
|
|
// label16
|
|
|
//
|
|
|
this.label16.AutoSize = true;
|
|
|
- this.label16.Location = new System.Drawing.Point(7, 161);
|
|
|
+ this.label16.Location = new System.Drawing.Point(7, 140);
|
|
|
this.label16.Name = "label16";
|
|
|
this.label16.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label16.TabIndex = 0;
|
|
@@ -514,9 +529,9 @@
|
|
|
//
|
|
|
this.label_sensor_vol.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_vol.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_vol.Location = new System.Drawing.Point(262, 187);
|
|
|
+ this.label_sensor_vol.Location = new System.Drawing.Point(262, 168);
|
|
|
this.label_sensor_vol.Name = "label_sensor_vol";
|
|
|
- this.label_sensor_vol.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_vol.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_vol.TabIndex = 0;
|
|
|
this.label_sensor_vol.Text = "NG";
|
|
|
this.label_sensor_vol.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -524,7 +539,7 @@
|
|
|
// label14
|
|
|
//
|
|
|
this.label14.AutoSize = true;
|
|
|
- this.label14.Location = new System.Drawing.Point(7, 100);
|
|
|
+ this.label14.Location = new System.Drawing.Point(7, 84);
|
|
|
this.label14.Name = "label14";
|
|
|
this.label14.Size = new System.Drawing.Size(106, 21);
|
|
|
this.label14.TabIndex = 0;
|
|
@@ -534,9 +549,9 @@
|
|
|
//
|
|
|
this.label_Sensor_Gas.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_Sensor_Gas.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_Sensor_Gas.Location = new System.Drawing.Point(145, 312);
|
|
|
+ this.label_Sensor_Gas.Location = new System.Drawing.Point(145, 280);
|
|
|
this.label_Sensor_Gas.Name = "label_Sensor_Gas";
|
|
|
- this.label_Sensor_Gas.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_Sensor_Gas.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_Sensor_Gas.TabIndex = 0;
|
|
|
this.label_Sensor_Gas.Text = "NG";
|
|
|
this.label_Sensor_Gas.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -545,9 +560,9 @@
|
|
|
//
|
|
|
this.label_sensor_motor.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sensor_motor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sensor_motor.Location = new System.Drawing.Point(262, 156);
|
|
|
+ this.label_sensor_motor.Location = new System.Drawing.Point(262, 140);
|
|
|
this.label_sensor_motor.Name = "label_sensor_motor";
|
|
|
- this.label_sensor_motor.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sensor_motor.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sensor_motor.TabIndex = 0;
|
|
|
this.label_sensor_motor.Text = "NG";
|
|
|
this.label_sensor_motor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -556,20 +571,31 @@
|
|
|
//
|
|
|
this.label_Sensor_Break.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_Sensor_Break.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_Sensor_Break.Location = new System.Drawing.Point(262, 280);
|
|
|
+ this.label_Sensor_Break.Location = new System.Drawing.Point(262, 252);
|
|
|
this.label_Sensor_Break.Name = "label_Sensor_Break";
|
|
|
- this.label_Sensor_Break.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_Sensor_Break.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_Sensor_Break.TabIndex = 0;
|
|
|
this.label_Sensor_Break.Text = "NG";
|
|
|
this.label_Sensor_Break.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
//
|
|
|
+ // label_BMS_COM
|
|
|
+ //
|
|
|
+ this.label_BMS_COM.BackColor = System.Drawing.Color.Red;
|
|
|
+ this.label_BMS_COM.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
+ this.label_BMS_COM.Location = new System.Drawing.Point(145, 338);
|
|
|
+ this.label_BMS_COM.Name = "label_BMS_COM";
|
|
|
+ this.label_BMS_COM.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.label_BMS_COM.TabIndex = 0;
|
|
|
+ this.label_BMS_COM.Text = "NG";
|
|
|
+ this.label_BMS_COM.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
+ //
|
|
|
// label_FW_Version
|
|
|
//
|
|
|
this.label_FW_Version.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_FW_Version.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_FW_Version.Location = new System.Drawing.Point(145, 343);
|
|
|
+ this.label_FW_Version.Location = new System.Drawing.Point(145, 309);
|
|
|
this.label_FW_Version.Name = "label_FW_Version";
|
|
|
- this.label_FW_Version.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_FW_Version.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_FW_Version.TabIndex = 0;
|
|
|
this.label_FW_Version.Text = "NG";
|
|
|
this.label_FW_Version.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -578,9 +604,9 @@
|
|
|
//
|
|
|
this.label_sta_light.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_sta_light.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_sta_light.Location = new System.Drawing.Point(145, 126);
|
|
|
+ this.label_sta_light.Location = new System.Drawing.Point(145, 112);
|
|
|
this.label_sta_light.Name = "label_sta_light";
|
|
|
- this.label_sta_light.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_sta_light.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_sta_light.TabIndex = 0;
|
|
|
this.label_sta_light.Text = "NG";
|
|
|
this.label_sta_light.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -589,9 +615,9 @@
|
|
|
//
|
|
|
this.label_Sta_Write.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_Sta_Write.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_Sta_Write.Location = new System.Drawing.Point(145, 95);
|
|
|
+ this.label_Sta_Write.Location = new System.Drawing.Point(145, 84);
|
|
|
this.label_Sta_Write.Name = "label_Sta_Write";
|
|
|
- this.label_Sta_Write.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_Sta_Write.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_Sta_Write.TabIndex = 0;
|
|
|
this.label_Sta_Write.Text = "NG";
|
|
|
this.label_Sta_Write.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -600,9 +626,9 @@
|
|
|
//
|
|
|
this.label_error_code.BackColor = System.Drawing.Color.Green;
|
|
|
this.label_error_code.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_error_code.Location = new System.Drawing.Point(145, 33);
|
|
|
+ this.label_error_code.Location = new System.Drawing.Point(145, 28);
|
|
|
this.label_error_code.Name = "label_error_code";
|
|
|
- this.label_error_code.Size = new System.Drawing.Size(113, 30);
|
|
|
+ this.label_error_code.Size = new System.Drawing.Size(113, 21);
|
|
|
this.label_error_code.TabIndex = 0;
|
|
|
this.label_error_code.Text = "OK";
|
|
|
this.label_error_code.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -611,9 +637,9 @@
|
|
|
//
|
|
|
this.label_Sta_Clear.BackColor = System.Drawing.Color.Red;
|
|
|
this.label_Sta_Clear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
|
- this.label_Sta_Clear.Location = new System.Drawing.Point(145, 64);
|
|
|
+ this.label_Sta_Clear.Location = new System.Drawing.Point(145, 56);
|
|
|
this.label_Sta_Clear.Name = "label_Sta_Clear";
|
|
|
- this.label_Sta_Clear.Size = new System.Drawing.Size(42, 30);
|
|
|
+ this.label_Sta_Clear.Size = new System.Drawing.Size(42, 21);
|
|
|
this.label_Sta_Clear.TabIndex = 0;
|
|
|
this.label_Sta_Clear.Text = "NG";
|
|
|
this.label_Sta_Clear.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
@@ -621,7 +647,7 @@
|
|
|
// label7
|
|
|
//
|
|
|
this.label7.AutoSize = true;
|
|
|
- this.label7.Location = new System.Drawing.Point(7, 38);
|
|
|
+ this.label7.Location = new System.Drawing.Point(7, 28);
|
|
|
this.label7.Name = "label7";
|
|
|
this.label7.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label7.TabIndex = 0;
|
|
@@ -630,7 +656,7 @@
|
|
|
// label12
|
|
|
//
|
|
|
this.label12.AutoSize = true;
|
|
|
- this.label12.Location = new System.Drawing.Point(7, 69);
|
|
|
+ this.label12.Location = new System.Drawing.Point(7, 56);
|
|
|
this.label12.Name = "label12";
|
|
|
this.label12.Size = new System.Drawing.Size(74, 21);
|
|
|
this.label12.TabIndex = 0;
|
|
@@ -1328,27 +1354,24 @@
|
|
|
//
|
|
|
// timer1
|
|
|
//
|
|
|
- this.timer1.Enabled = true;
|
|
|
this.timer1.Interval = 20;
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
//
|
|
|
// timer2
|
|
|
//
|
|
|
- this.timer2.Enabled = true;
|
|
|
this.timer2.Interval = 1000;
|
|
|
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
|
|
//
|
|
|
- // richTextBox_Cfg
|
|
|
+ // richTextBox_CfgFile
|
|
|
//
|
|
|
- this.richTextBox_Cfg.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.richTextBox_Cfg.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
- 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(250, 745);
|
|
|
- this.richTextBox_Cfg.TabIndex = 11;
|
|
|
- this.richTextBox_Cfg.Text = "";
|
|
|
- this.richTextBox_Cfg.Visible = false;
|
|
|
+ this.richTextBox_CfgFile.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.richTextBox_CfgFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
|
|
|
+ this.richTextBox_CfgFile.Location = new System.Drawing.Point(974, 43);
|
|
|
+ this.richTextBox_CfgFile.Name = "richTextBox_CfgFile";
|
|
|
+ this.richTextBox_CfgFile.ReadOnly = true;
|
|
|
+ this.richTextBox_CfgFile.Size = new System.Drawing.Size(250, 745);
|
|
|
+ this.richTextBox_CfgFile.TabIndex = 11;
|
|
|
+ this.richTextBox_CfgFile.Text = "";
|
|
|
//
|
|
|
// groupBox3
|
|
|
//
|
|
@@ -1422,14 +1445,25 @@
|
|
|
this.label34.TabIndex = 12;
|
|
|
this.label34.Text = "label34";
|
|
|
//
|
|
|
+ // checkBox_LocalFile
|
|
|
+ //
|
|
|
+ this.checkBox_LocalFile.AutoSize = true;
|
|
|
+ this.checkBox_LocalFile.Location = new System.Drawing.Point(889, 28);
|
|
|
+ this.checkBox_LocalFile.Name = "checkBox_LocalFile";
|
|
|
+ this.checkBox_LocalFile.Size = new System.Drawing.Size(61, 25);
|
|
|
+ this.checkBox_LocalFile.TabIndex = 13;
|
|
|
+ this.checkBox_LocalFile.Text = "本地";
|
|
|
+ this.checkBox_LocalFile.UseVisualStyleBackColor = true;
|
|
|
+ this.checkBox_LocalFile.CheckedChanged += new System.EventHandler(this.checkBox_LocalFile_CheckedChanged);
|
|
|
+ //
|
|
|
// ImportForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.White;
|
|
|
- this.ClientSize = new System.Drawing.Size(980, 813);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1230, 813);
|
|
|
this.Controls.Add(this.label34);
|
|
|
- this.Controls.Add(this.richTextBox_Cfg);
|
|
|
+ this.Controls.Add(this.richTextBox_CfgFile);
|
|
|
this.Controls.Add(this.groupBox4);
|
|
|
this.Controls.Add(this.label_SystemTime);
|
|
|
this.Controls.Add(this.label_NetStatus);
|
|
@@ -1450,12 +1484,13 @@
|
|
|
this.MaximizeBox = false;
|
|
|
this.Name = "ImportForm";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
- this.Text = "导入参数";
|
|
|
+ this.Text = "生产模式";
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImportForm_FormClosing);
|
|
|
this.Load += new System.EventHandler(this.ImportForm_Load);
|
|
|
this.menuStrip1.ResumeLayout(false);
|
|
|
this.menuStrip1.PerformLayout();
|
|
|
this.groupBox4.ResumeLayout(false);
|
|
|
+ this.groupBox4.PerformLayout();
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
this.groupBox1.PerformLayout();
|
|
|
this.groupBox2.ResumeLayout(false);
|
|
@@ -1568,8 +1603,7 @@
|
|
|
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;
|
|
|
+ private System.Windows.Forms.RichTextBox richTextBox_CfgFile;
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
|
private System.Windows.Forms.RichTextBox richTextBox_TestRecord;
|
|
@@ -1589,5 +1623,9 @@
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
private System.Windows.Forms.Label label34;
|
|
|
public System.Windows.Forms.Label label_NetStatus;
|
|
|
+ private System.Windows.Forms.ComboBox comboBox_cfgFileDate;
|
|
|
+ private System.Windows.Forms.Label label22;
|
|
|
+ private System.Windows.Forms.Label label_BMS_COM;
|
|
|
+ public System.Windows.Forms.CheckBox checkBox_LocalFile;
|
|
|
}
|
|
|
}
|