|
@@ -437,6 +437,7 @@
|
|
|
//
|
|
|
// comboBox_Baudrate
|
|
|
//
|
|
|
+ this.comboBox_Baudrate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_Baudrate.FormattingEnabled = true;
|
|
|
this.comboBox_Baudrate.Items.AddRange(new object[] {
|
|
|
"2400",
|
|
@@ -454,6 +455,7 @@
|
|
|
//
|
|
|
// comboBox_ComIndex
|
|
|
//
|
|
|
+ this.comboBox_ComIndex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_ComIndex.FormattingEnabled = true;
|
|
|
this.comboBox_ComIndex.Location = new System.Drawing.Point(75, 26);
|
|
|
this.comboBox_ComIndex.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
@@ -520,13 +522,14 @@
|
|
|
//
|
|
|
// button_Write_Torque_Start
|
|
|
//
|
|
|
+ this.button_Write_Torque_Start.BackColor = System.Drawing.SystemColors.Control;
|
|
|
this.button_Write_Torque_Start.Location = new System.Drawing.Point(159, 99);
|
|
|
this.button_Write_Torque_Start.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_Torque_Start.Name = "button_Write_Torque_Start";
|
|
|
this.button_Write_Torque_Start.Size = new System.Drawing.Size(68, 30);
|
|
|
this.button_Write_Torque_Start.TabIndex = 4;
|
|
|
this.button_Write_Torque_Start.Text = "写入";
|
|
|
- this.button_Write_Torque_Start.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_Torque_Start.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_Torque_Start.Click += new System.EventHandler(this.button_Write_Torque_Start_Click);
|
|
|
//
|
|
|
// textBox_Torque_Stdev
|
|
@@ -1379,7 +1382,8 @@
|
|
|
//
|
|
|
// button_Recovery
|
|
|
//
|
|
|
- this.button_Recovery.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
+ this.button_Recovery.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Recovery.Enabled = false;
|
|
|
this.button_Recovery.Location = new System.Drawing.Point(67, 21);
|
|
|
this.button_Recovery.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Recovery.Name = "button_Recovery";
|
|
@@ -1392,7 +1396,8 @@
|
|
|
//
|
|
|
// button_ClearData
|
|
|
//
|
|
|
- this.button_ClearData.BackColor = System.Drawing.Color.Red;
|
|
|
+ this.button_ClearData.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_ClearData.Enabled = false;
|
|
|
this.button_ClearData.Location = new System.Drawing.Point(13, 21);
|
|
|
this.button_ClearData.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_ClearData.Name = "button_ClearData";
|
|
@@ -1433,13 +1438,15 @@
|
|
|
//
|
|
|
// button_Write_Mode
|
|
|
//
|
|
|
+ this.button_Write_Mode.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Write_Mode.Enabled = false;
|
|
|
this.button_Write_Mode.Location = new System.Drawing.Point(249, 24);
|
|
|
this.button_Write_Mode.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_Mode.Name = "button_Write_Mode";
|
|
|
this.button_Write_Mode.Size = new System.Drawing.Size(58, 30);
|
|
|
this.button_Write_Mode.TabIndex = 4;
|
|
|
this.button_Write_Mode.Text = "写入";
|
|
|
- this.button_Write_Mode.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_Mode.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_Mode.Click += new System.EventHandler(this.button_Write_Mode_Click);
|
|
|
//
|
|
|
// button_Read_VerInfo
|
|
@@ -1455,13 +1462,15 @@
|
|
|
//
|
|
|
// button_Write_SN
|
|
|
//
|
|
|
+ this.button_Write_SN.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Write_SN.Enabled = false;
|
|
|
this.button_Write_SN.Location = new System.Drawing.Point(249, 54);
|
|
|
this.button_Write_SN.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_SN.Name = "button_Write_SN";
|
|
|
this.button_Write_SN.Size = new System.Drawing.Size(58, 30);
|
|
|
this.button_Write_SN.TabIndex = 5;
|
|
|
this.button_Write_SN.Text = "写入";
|
|
|
- this.button_Write_SN.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_SN.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_SN.Click += new System.EventHandler(this.button_Write_SN_Click);
|
|
|
//
|
|
|
// label109
|
|
@@ -1649,6 +1658,7 @@
|
|
|
//
|
|
|
// comboBox_SpeedSing
|
|
|
//
|
|
|
+ this.comboBox_SpeedSing.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_SpeedSing.FormattingEnabled = true;
|
|
|
this.comboBox_SpeedSing.Items.AddRange(new object[] {
|
|
|
"传感器",
|
|
@@ -1661,6 +1671,7 @@
|
|
|
//
|
|
|
// comboBox_SerNum
|
|
|
//
|
|
|
+ this.comboBox_SerNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_SerNum.FormattingEnabled = true;
|
|
|
this.comboBox_SerNum.Items.AddRange(new object[] {
|
|
|
"0",
|
|
@@ -1686,6 +1697,7 @@
|
|
|
//
|
|
|
// comboBox_NoWatch
|
|
|
//
|
|
|
+ this.comboBox_NoWatch.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_NoWatch.FormattingEnabled = true;
|
|
|
this.comboBox_NoWatch.Items.AddRange(new object[] {
|
|
|
"有",
|
|
@@ -1697,6 +1709,7 @@
|
|
|
//
|
|
|
// comboBox_DownDec
|
|
|
//
|
|
|
+ this.comboBox_DownDec.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_DownDec.FormattingEnabled = true;
|
|
|
this.comboBox_DownDec.Items.AddRange(new object[] {
|
|
|
"超慢",
|
|
@@ -1711,6 +1724,7 @@
|
|
|
//
|
|
|
// comboBox_StartMode
|
|
|
//
|
|
|
+ this.comboBox_StartMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_StartMode.FormattingEnabled = true;
|
|
|
this.comboBox_StartMode.Items.AddRange(new object[] {
|
|
|
"柔和",
|
|
@@ -1723,6 +1737,7 @@
|
|
|
//
|
|
|
// comboBox_Config_GasMode
|
|
|
//
|
|
|
+ this.comboBox_Config_GasMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_Config_GasMode.FormattingEnabled = true;
|
|
|
this.comboBox_Config_GasMode.Items.AddRange(new object[] {
|
|
|
"不支持",
|
|
@@ -1734,13 +1749,15 @@
|
|
|
//
|
|
|
// button_Write_Config
|
|
|
//
|
|
|
+ this.button_Write_Config.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Write_Config.Enabled = false;
|
|
|
this.button_Write_Config.Location = new System.Drawing.Point(157, 414);
|
|
|
this.button_Write_Config.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_Config.Name = "button_Write_Config";
|
|
|
this.button_Write_Config.Size = new System.Drawing.Size(67, 26);
|
|
|
this.button_Write_Config.TabIndex = 2;
|
|
|
this.button_Write_Config.Text = "写入";
|
|
|
- this.button_Write_Config.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_Config.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_Config.Click += new System.EventHandler(this.button_Write_Config_Click);
|
|
|
//
|
|
|
// button_Read_Config
|
|
@@ -2134,9 +2151,9 @@
|
|
|
this.label19.Location = new System.Drawing.Point(9, 286);
|
|
|
this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label19.Name = "label19";
|
|
|
- this.label19.Size = new System.Drawing.Size(51, 20);
|
|
|
+ this.label19.Size = new System.Drawing.Size(37, 20);
|
|
|
this.label19.TabIndex = 2;
|
|
|
- this.label19.Text = "无码表";
|
|
|
+ this.label19.Text = "码表";
|
|
|
//
|
|
|
// label11
|
|
|
//
|
|
@@ -2277,13 +2294,15 @@
|
|
|
//
|
|
|
// button_Write_MotorConfig
|
|
|
//
|
|
|
+ this.button_Write_MotorConfig.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Write_MotorConfig.Enabled = false;
|
|
|
this.button_Write_MotorConfig.Location = new System.Drawing.Point(241, 124);
|
|
|
this.button_Write_MotorConfig.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_MotorConfig.Name = "button_Write_MotorConfig";
|
|
|
this.button_Write_MotorConfig.Size = new System.Drawing.Size(60, 35);
|
|
|
this.button_Write_MotorConfig.TabIndex = 2;
|
|
|
this.button_Write_MotorConfig.Text = "写入";
|
|
|
- this.button_Write_MotorConfig.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_MotorConfig.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_MotorConfig.Click += new System.EventHandler(this.button_Write_MotorConfig_Click);
|
|
|
//
|
|
|
// button_Read_MortoConfig
|
|
@@ -2457,6 +2476,7 @@
|
|
|
//
|
|
|
// comboBox_TailLightVol
|
|
|
//
|
|
|
+ this.comboBox_TailLightVol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_TailLightVol.FormattingEnabled = true;
|
|
|
this.comboBox_TailLightVol.Items.AddRange(new object[] {
|
|
|
"6V",
|
|
@@ -2470,6 +2490,7 @@
|
|
|
//
|
|
|
// comboBox_AttiSensor
|
|
|
//
|
|
|
+ this.comboBox_AttiSensor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_AttiSensor.FormattingEnabled = true;
|
|
|
this.comboBox_AttiSensor.Items.AddRange(new object[] {
|
|
|
"不支持",
|
|
@@ -2481,6 +2502,7 @@
|
|
|
//
|
|
|
// comboBox_FrontLigthVol
|
|
|
//
|
|
|
+ this.comboBox_FrontLigthVol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_FrontLigthVol.FormattingEnabled = true;
|
|
|
this.comboBox_FrontLigthVol.Items.AddRange(new object[] {
|
|
|
"6V",
|
|
@@ -2494,6 +2516,7 @@
|
|
|
//
|
|
|
// comboBox_TailLightMode
|
|
|
//
|
|
|
+ this.comboBox_TailLightMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.comboBox_TailLightMode.FormattingEnabled = true;
|
|
|
this.comboBox_TailLightMode.Items.AddRange(new object[] {
|
|
|
"模式1",
|
|
@@ -2507,13 +2530,15 @@
|
|
|
//
|
|
|
// button_Write_Config_Ext
|
|
|
//
|
|
|
+ this.button_Write_Config_Ext.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.button_Write_Config_Ext.Enabled = false;
|
|
|
this.button_Write_Config_Ext.Location = new System.Drawing.Point(99, 414);
|
|
|
this.button_Write_Config_Ext.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_Write_Config_Ext.Name = "button_Write_Config_Ext";
|
|
|
this.button_Write_Config_Ext.Size = new System.Drawing.Size(67, 26);
|
|
|
this.button_Write_Config_Ext.TabIndex = 2;
|
|
|
this.button_Write_Config_Ext.Text = "写入";
|
|
|
- this.button_Write_Config_Ext.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Write_Config_Ext.UseVisualStyleBackColor = false;
|
|
|
this.button_Write_Config_Ext.Click += new System.EventHandler(this.button_Write_Config_Ext_Click);
|
|
|
//
|
|
|
// button_Read_Config_Ext
|
|
@@ -3687,13 +3712,14 @@
|
|
|
//
|
|
|
// button_WriteK
|
|
|
//
|
|
|
+ this.button_WriteK.BackColor = System.Drawing.SystemColors.Control;
|
|
|
this.button_WriteK.Location = new System.Drawing.Point(385, 89);
|
|
|
this.button_WriteK.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
this.button_WriteK.Name = "button_WriteK";
|
|
|
this.button_WriteK.Size = new System.Drawing.Size(90, 35);
|
|
|
this.button_WriteK.TabIndex = 4;
|
|
|
this.button_WriteK.Text = "写入系数";
|
|
|
- this.button_WriteK.UseVisualStyleBackColor = true;
|
|
|
+ this.button_WriteK.UseVisualStyleBackColor = false;
|
|
|
this.button_WriteK.Click += new System.EventHandler(this.button_WriteK_Click);
|
|
|
//
|
|
|
// button_ReadZero
|
|
@@ -3933,7 +3959,7 @@
|
|
|
this.MaximizeBox = false;
|
|
|
this.Name = "Form1";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
- this.Text = "MOTINOVA中置电机配置软件V2.1.5(内部使用)";
|
|
|
+ this.Text = "MOTINOVA中置电机配置软件V2.1.5(内部使用工厂版)";
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|