|
@@ -336,12 +336,34 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.label81 = new System.Windows.Forms.Label();
|
|
|
this.textBox_FacModeName = new System.Windows.Forms.TextBox();
|
|
|
this.groupBox22 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.label80 = new System.Windows.Forms.Label();
|
|
|
this.button_FacModeLightSW = new System.Windows.Forms.Button();
|
|
|
this.label_FacModeMotorSpeedSet = new System.Windows.Forms.Label();
|
|
|
this.label67 = new System.Windows.Forms.Label();
|
|
|
this.trackBar_FacModeMotorSpeedAdj = new System.Windows.Forms.TrackBar();
|
|
|
this.button_FacModeMotorRun = new System.Windows.Forms.Button();
|
|
|
this.groupBox21 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.label79 = new System.Windows.Forms.Label();
|
|
|
+ this.label78 = new System.Windows.Forms.Label();
|
|
|
+ this.label74 = new System.Windows.Forms.Label();
|
|
|
+ this.button_MOS_Write = new System.Windows.Forms.Button();
|
|
|
+ this.button_MOS_Read = new System.Windows.Forms.Button();
|
|
|
+ this.button_MOS_Cal = new System.Windows.Forms.Button();
|
|
|
+ this.textBox_MOS_K5 = new System.Windows.Forms.TextBox();
|
|
|
+ this.label73 = new System.Windows.Forms.Label();
|
|
|
+ this.textBox_MOS_K4 = new System.Windows.Forms.TextBox();
|
|
|
+ this.label77 = new System.Windows.Forms.Label();
|
|
|
+ this.label72 = new System.Windows.Forms.Label();
|
|
|
+ this.textBox_MOS_R3 = new System.Windows.Forms.TextBox();
|
|
|
+ this.textBox_MOS_K3 = new System.Windows.Forms.TextBox();
|
|
|
+ this.label76 = new System.Windows.Forms.Label();
|
|
|
+ this.label71 = new System.Windows.Forms.Label();
|
|
|
+ this.textBox_MOS_R2 = new System.Windows.Forms.TextBox();
|
|
|
+ this.textBox_MOS_K2 = new System.Windows.Forms.TextBox();
|
|
|
+ this.label75 = new System.Windows.Forms.Label();
|
|
|
+ this.label70 = new System.Windows.Forms.Label();
|
|
|
+ this.textBox_MOS_R1 = new System.Windows.Forms.TextBox();
|
|
|
+ this.textBox_MOS_K1 = new System.Windows.Forms.TextBox();
|
|
|
this.groupBox20 = new System.Windows.Forms.GroupBox();
|
|
|
this.textBox10 = new System.Windows.Forms.TextBox();
|
|
|
this.button_FacModeSensorRead = new System.Windows.Forms.Button();
|
|
@@ -533,28 +555,6 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.label107 = new System.Windows.Forms.Label();
|
|
|
this.label_StarInfo = new System.Windows.Forms.Label();
|
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
|
|
- this.label70 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_K1 = new System.Windows.Forms.TextBox();
|
|
|
- this.textBox_MOS_K2 = new System.Windows.Forms.TextBox();
|
|
|
- this.label71 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_K3 = new System.Windows.Forms.TextBox();
|
|
|
- this.label72 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_K4 = new System.Windows.Forms.TextBox();
|
|
|
- this.label73 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_K5 = new System.Windows.Forms.TextBox();
|
|
|
- this.label74 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_R1 = new System.Windows.Forms.TextBox();
|
|
|
- this.label75 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_R2 = new System.Windows.Forms.TextBox();
|
|
|
- this.label76 = new System.Windows.Forms.Label();
|
|
|
- this.textBox_MOS_R3 = new System.Windows.Forms.TextBox();
|
|
|
- this.label77 = new System.Windows.Forms.Label();
|
|
|
- this.button_MOS_Cal = new System.Windows.Forms.Button();
|
|
|
- this.button_MOS_Read = new System.Windows.Forms.Button();
|
|
|
- this.button_MOS_Write = new System.Windows.Forms.Button();
|
|
|
- this.label78 = new System.Windows.Forms.Label();
|
|
|
- this.label79 = new System.Windows.Forms.Label();
|
|
|
- this.label80 = new System.Windows.Forms.Label();
|
|
|
this.menuStrip_Set.SuspendLayout();
|
|
|
this.statusStrip1.SuspendLayout();
|
|
|
this.groupBox1.SuspendLayout();
|
|
@@ -799,7 +799,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// 允许ToolStripMenuItem
|
|
|
//
|
|
|
this.允许ToolStripMenuItem.Name = "允许ToolStripMenuItem";
|
|
|
- this.允许ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
+ this.允许ToolStripMenuItem.Size = new System.Drawing.Size(128, 26);
|
|
|
this.允许ToolStripMenuItem.Text = "允许";
|
|
|
this.允许ToolStripMenuItem.Click += new System.EventHandler(this.允许ToolStripMenuItem_Click);
|
|
|
//
|
|
@@ -808,7 +808,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.不允许ToolStripMenuItem.Checked = true;
|
|
|
this.不允许ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
this.不允许ToolStripMenuItem.Name = "不允许ToolStripMenuItem";
|
|
|
- this.不允许ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
+ this.不允许ToolStripMenuItem.Size = new System.Drawing.Size(128, 26);
|
|
|
this.不允许ToolStripMenuItem.Text = "不允许";
|
|
|
this.不允许ToolStripMenuItem.Click += new System.EventHandler(this.不允许ToolStripMenuItem_Click);
|
|
|
//
|
|
@@ -1025,7 +1025,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.电压ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThVol});
|
|
|
this.电压ToolStripMenuItem.Name = "电压ToolStripMenuItem";
|
|
|
- this.电压ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.电压ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.电压ToolStripMenuItem.Text = "电压";
|
|
|
//
|
|
|
// toolStripTextBox_ThVol
|
|
@@ -1041,7 +1041,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.电流ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThCur});
|
|
|
this.电流ToolStripMenuItem.Name = "电流ToolStripMenuItem";
|
|
|
- this.电流ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.电流ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.电流ToolStripMenuItem.Text = "电流";
|
|
|
//
|
|
|
// toolStripTextBox_ThCur
|
|
@@ -1057,7 +1057,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.转速ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThSpeed});
|
|
|
this.转速ToolStripMenuItem.Name = "转速ToolStripMenuItem";
|
|
|
- this.转速ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.转速ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.转速ToolStripMenuItem.Text = "转速";
|
|
|
//
|
|
|
// toolStripTextBox_ThSpeed
|
|
@@ -1073,7 +1073,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.力矩ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThTor});
|
|
|
this.力矩ToolStripMenuItem.Name = "力矩ToolStripMenuItem";
|
|
|
- this.力矩ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.力矩ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.力矩ToolStripMenuItem.Text = "力矩";
|
|
|
//
|
|
|
// toolStripTextBox_ThTor
|
|
@@ -1089,7 +1089,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.踏频ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThCad});
|
|
|
this.踏频ToolStripMenuItem.Name = "踏频ToolStripMenuItem";
|
|
|
- this.踏频ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.踏频ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.踏频ToolStripMenuItem.Text = "踏频";
|
|
|
//
|
|
|
// toolStripTextBox_ThCad
|
|
@@ -1105,7 +1105,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.车速ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThBikeSpeed});
|
|
|
this.车速ToolStripMenuItem.Name = "车速ToolStripMenuItem";
|
|
|
- this.车速ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.车速ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.车速ToolStripMenuItem.Text = "车速";
|
|
|
//
|
|
|
// toolStripTextBox_ThBikeSpeed
|
|
@@ -1121,7 +1121,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.pCB温度ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThT_PCB});
|
|
|
this.pCB温度ToolStripMenuItem.Name = "pCB温度ToolStripMenuItem";
|
|
|
- this.pCB温度ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.pCB温度ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.pCB温度ToolStripMenuItem.Text = "PCB温度";
|
|
|
//
|
|
|
// toolStripTextBox_ThT_PCB
|
|
@@ -1137,7 +1137,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.mCU温度ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThT_MCU});
|
|
|
this.mCU温度ToolStripMenuItem.Name = "mCU温度ToolStripMenuItem";
|
|
|
- this.mCU温度ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.mCU温度ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.mCU温度ToolStripMenuItem.Text = "MCU温度";
|
|
|
//
|
|
|
// toolStripTextBox_ThT_MCU
|
|
@@ -1153,7 +1153,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.电机温度ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.toolStripTextBox_ThT_Motor});
|
|
|
this.电机温度ToolStripMenuItem.Name = "电机温度ToolStripMenuItem";
|
|
|
- this.电机温度ToolStripMenuItem.Size = new System.Drawing.Size(151, 26);
|
|
|
+ this.电机温度ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
|
|
this.电机温度ToolStripMenuItem.Text = "电机温度";
|
|
|
//
|
|
|
// toolStripTextBox_ThT_Motor
|
|
@@ -3804,6 +3804,15 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.groupBox22.TabStop = false;
|
|
|
this.groupBox22.Text = "驱动测试";
|
|
|
//
|
|
|
+ // label80
|
|
|
+ //
|
|
|
+ this.label80.BackColor = System.Drawing.Color.Silver;
|
|
|
+ this.label80.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.label80.Location = new System.Drawing.Point(6, 100);
|
|
|
+ this.label80.Name = "label80";
|
|
|
+ this.label80.Size = new System.Drawing.Size(85, 1);
|
|
|
+ this.label80.TabIndex = 21;
|
|
|
+ //
|
|
|
// button_FacModeLightSW
|
|
|
//
|
|
|
this.button_FacModeLightSW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
@@ -3893,6 +3902,204 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.groupBox21.TabStop = false;
|
|
|
this.groupBox21.Text = "控制器内阻校准";
|
|
|
//
|
|
|
+ // label79
|
|
|
+ //
|
|
|
+ this.label79.BackColor = System.Drawing.Color.Silver;
|
|
|
+ this.label79.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.label79.Location = new System.Drawing.Point(8, 177);
|
|
|
+ this.label79.Name = "label79";
|
|
|
+ this.label79.Size = new System.Drawing.Size(278, 1);
|
|
|
+ this.label79.TabIndex = 19;
|
|
|
+ //
|
|
|
+ // label78
|
|
|
+ //
|
|
|
+ this.label78.BackColor = System.Drawing.Color.Silver;
|
|
|
+ this.label78.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.label78.Location = new System.Drawing.Point(6, 100);
|
|
|
+ this.label78.Name = "label78";
|
|
|
+ this.label78.Size = new System.Drawing.Size(278, 1);
|
|
|
+ this.label78.TabIndex = 18;
|
|
|
+ //
|
|
|
+ // label74
|
|
|
+ //
|
|
|
+ this.label74.AutoSize = true;
|
|
|
+ this.label74.Location = new System.Drawing.Point(234, 29);
|
|
|
+ this.label74.Name = "label74";
|
|
|
+ this.label74.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label74.TabIndex = 3;
|
|
|
+ this.label74.Text = "系数5";
|
|
|
+ //
|
|
|
+ // button_MOS_Write
|
|
|
+ //
|
|
|
+ this.button_MOS_Write.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ this.button_MOS_Write.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ this.button_MOS_Write.Location = new System.Drawing.Point(199, 190);
|
|
|
+ this.button_MOS_Write.Name = "button_MOS_Write";
|
|
|
+ this.button_MOS_Write.Size = new System.Drawing.Size(85, 45);
|
|
|
+ this.button_MOS_Write.TabIndex = 15;
|
|
|
+ this.button_MOS_Write.Text = "写入";
|
|
|
+ this.button_MOS_Write.UseVisualStyleBackColor = false;
|
|
|
+ this.button_MOS_Write.Click += new System.EventHandler(this.button_MOS_Write_Click);
|
|
|
+ //
|
|
|
+ // button_MOS_Read
|
|
|
+ //
|
|
|
+ this.button_MOS_Read.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
+ this.button_MOS_Read.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ this.button_MOS_Read.Location = new System.Drawing.Point(103, 190);
|
|
|
+ this.button_MOS_Read.Name = "button_MOS_Read";
|
|
|
+ this.button_MOS_Read.Size = new System.Drawing.Size(85, 45);
|
|
|
+ this.button_MOS_Read.TabIndex = 15;
|
|
|
+ this.button_MOS_Read.Text = "读取";
|
|
|
+ this.button_MOS_Read.UseVisualStyleBackColor = false;
|
|
|
+ this.button_MOS_Read.Click += new System.EventHandler(this.button_MOS_Read_Click);
|
|
|
+ //
|
|
|
+ // button_MOS_Cal
|
|
|
+ //
|
|
|
+ this.button_MOS_Cal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
|
|
+ this.button_MOS_Cal.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ this.button_MOS_Cal.Location = new System.Drawing.Point(6, 190);
|
|
|
+ this.button_MOS_Cal.Name = "button_MOS_Cal";
|
|
|
+ this.button_MOS_Cal.Size = new System.Drawing.Size(85, 45);
|
|
|
+ this.button_MOS_Cal.TabIndex = 15;
|
|
|
+ this.button_MOS_Cal.Text = "校准";
|
|
|
+ this.button_MOS_Cal.UseVisualStyleBackColor = false;
|
|
|
+ this.button_MOS_Cal.Click += new System.EventHandler(this.button_MOS_Cal_Click);
|
|
|
+ //
|
|
|
+ // textBox_MOS_K5
|
|
|
+ //
|
|
|
+ this.textBox_MOS_K5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_K5.Location = new System.Drawing.Point(234, 62);
|
|
|
+ this.textBox_MOS_K5.Name = "textBox_MOS_K5";
|
|
|
+ this.textBox_MOS_K5.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_K5.TabIndex = 15;
|
|
|
+ this.textBox_MOS_K5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // label73
|
|
|
+ //
|
|
|
+ this.label73.AutoSize = true;
|
|
|
+ this.label73.Location = new System.Drawing.Point(177, 29);
|
|
|
+ this.label73.Name = "label73";
|
|
|
+ this.label73.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label73.TabIndex = 3;
|
|
|
+ this.label73.Text = "系数4";
|
|
|
+ //
|
|
|
+ // textBox_MOS_K4
|
|
|
+ //
|
|
|
+ this.textBox_MOS_K4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_K4.Location = new System.Drawing.Point(177, 62);
|
|
|
+ this.textBox_MOS_K4.Name = "textBox_MOS_K4";
|
|
|
+ this.textBox_MOS_K4.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_K4.TabIndex = 15;
|
|
|
+ this.textBox_MOS_K4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // label77
|
|
|
+ //
|
|
|
+ this.label77.AutoSize = true;
|
|
|
+ this.label77.Location = new System.Drawing.Point(120, 106);
|
|
|
+ this.label77.Name = "label77";
|
|
|
+ this.label77.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label77.TabIndex = 3;
|
|
|
+ this.label77.Text = "内阻3";
|
|
|
+ //
|
|
|
+ // label72
|
|
|
+ //
|
|
|
+ this.label72.AutoSize = true;
|
|
|
+ this.label72.Location = new System.Drawing.Point(120, 29);
|
|
|
+ this.label72.Name = "label72";
|
|
|
+ this.label72.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label72.TabIndex = 3;
|
|
|
+ this.label72.Text = "系数3";
|
|
|
+ //
|
|
|
+ // textBox_MOS_R3
|
|
|
+ //
|
|
|
+ this.textBox_MOS_R3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_R3.Location = new System.Drawing.Point(120, 139);
|
|
|
+ this.textBox_MOS_R3.Name = "textBox_MOS_R3";
|
|
|
+ this.textBox_MOS_R3.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_R3.TabIndex = 15;
|
|
|
+ this.textBox_MOS_R3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // textBox_MOS_K3
|
|
|
+ //
|
|
|
+ this.textBox_MOS_K3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_K3.Location = new System.Drawing.Point(120, 62);
|
|
|
+ this.textBox_MOS_K3.Name = "textBox_MOS_K3";
|
|
|
+ this.textBox_MOS_K3.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_K3.TabIndex = 15;
|
|
|
+ this.textBox_MOS_K3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // label76
|
|
|
+ //
|
|
|
+ this.label76.AutoSize = true;
|
|
|
+ this.label76.Location = new System.Drawing.Point(63, 106);
|
|
|
+ this.label76.Name = "label76";
|
|
|
+ this.label76.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label76.TabIndex = 3;
|
|
|
+ this.label76.Text = "内阻2";
|
|
|
+ //
|
|
|
+ // label71
|
|
|
+ //
|
|
|
+ this.label71.AutoSize = true;
|
|
|
+ this.label71.Location = new System.Drawing.Point(63, 29);
|
|
|
+ this.label71.Name = "label71";
|
|
|
+ this.label71.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label71.TabIndex = 3;
|
|
|
+ this.label71.Text = "系数2";
|
|
|
+ //
|
|
|
+ // textBox_MOS_R2
|
|
|
+ //
|
|
|
+ this.textBox_MOS_R2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_R2.Location = new System.Drawing.Point(63, 139);
|
|
|
+ this.textBox_MOS_R2.Name = "textBox_MOS_R2";
|
|
|
+ this.textBox_MOS_R2.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_R2.TabIndex = 15;
|
|
|
+ this.textBox_MOS_R2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // textBox_MOS_K2
|
|
|
+ //
|
|
|
+ this.textBox_MOS_K2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_K2.Location = new System.Drawing.Point(63, 62);
|
|
|
+ this.textBox_MOS_K2.Name = "textBox_MOS_K2";
|
|
|
+ this.textBox_MOS_K2.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_K2.TabIndex = 15;
|
|
|
+ this.textBox_MOS_K2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // label75
|
|
|
+ //
|
|
|
+ this.label75.AutoSize = true;
|
|
|
+ this.label75.Location = new System.Drawing.Point(6, 106);
|
|
|
+ this.label75.Name = "label75";
|
|
|
+ this.label75.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label75.TabIndex = 3;
|
|
|
+ this.label75.Text = "内阻1";
|
|
|
+ //
|
|
|
+ // label70
|
|
|
+ //
|
|
|
+ this.label70.AutoSize = true;
|
|
|
+ this.label70.Location = new System.Drawing.Point(6, 29);
|
|
|
+ this.label70.Name = "label70";
|
|
|
+ this.label70.Size = new System.Drawing.Size(51, 21);
|
|
|
+ this.label70.TabIndex = 3;
|
|
|
+ this.label70.Text = "系数1";
|
|
|
+ //
|
|
|
+ // textBox_MOS_R1
|
|
|
+ //
|
|
|
+ this.textBox_MOS_R1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_R1.Location = new System.Drawing.Point(6, 139);
|
|
|
+ this.textBox_MOS_R1.Name = "textBox_MOS_R1";
|
|
|
+ this.textBox_MOS_R1.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_R1.TabIndex = 15;
|
|
|
+ this.textBox_MOS_R1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
+ // textBox_MOS_K1
|
|
|
+ //
|
|
|
+ this.textBox_MOS_K1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_MOS_K1.Location = new System.Drawing.Point(6, 62);
|
|
|
+ this.textBox_MOS_K1.Name = "textBox_MOS_K1";
|
|
|
+ this.textBox_MOS_K1.Size = new System.Drawing.Size(50, 28);
|
|
|
+ this.textBox_MOS_K1.TabIndex = 15;
|
|
|
+ this.textBox_MOS_K1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
+ //
|
|
|
// groupBox20
|
|
|
//
|
|
|
this.groupBox20.Controls.Add(this.textBox10);
|
|
@@ -6057,213 +6264,6 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.pictureBox2.TabIndex = 16;
|
|
|
this.pictureBox2.TabStop = false;
|
|
|
//
|
|
|
- // label70
|
|
|
- //
|
|
|
- this.label70.AutoSize = true;
|
|
|
- this.label70.Location = new System.Drawing.Point(6, 29);
|
|
|
- this.label70.Name = "label70";
|
|
|
- this.label70.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label70.TabIndex = 3;
|
|
|
- this.label70.Text = "系数1";
|
|
|
- //
|
|
|
- // textBox_MOS_K1
|
|
|
- //
|
|
|
- this.textBox_MOS_K1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_K1.Location = new System.Drawing.Point(6, 62);
|
|
|
- this.textBox_MOS_K1.Name = "textBox_MOS_K1";
|
|
|
- this.textBox_MOS_K1.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_K1.TabIndex = 15;
|
|
|
- this.textBox_MOS_K1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // textBox_MOS_K2
|
|
|
- //
|
|
|
- this.textBox_MOS_K2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_K2.Location = new System.Drawing.Point(63, 62);
|
|
|
- this.textBox_MOS_K2.Name = "textBox_MOS_K2";
|
|
|
- this.textBox_MOS_K2.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_K2.TabIndex = 15;
|
|
|
- this.textBox_MOS_K2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label71
|
|
|
- //
|
|
|
- this.label71.AutoSize = true;
|
|
|
- this.label71.Location = new System.Drawing.Point(63, 29);
|
|
|
- this.label71.Name = "label71";
|
|
|
- this.label71.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label71.TabIndex = 3;
|
|
|
- this.label71.Text = "系数2";
|
|
|
- //
|
|
|
- // textBox_MOS_K3
|
|
|
- //
|
|
|
- this.textBox_MOS_K3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_K3.Location = new System.Drawing.Point(120, 62);
|
|
|
- this.textBox_MOS_K3.Name = "textBox_MOS_K3";
|
|
|
- this.textBox_MOS_K3.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_K3.TabIndex = 15;
|
|
|
- this.textBox_MOS_K3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label72
|
|
|
- //
|
|
|
- this.label72.AutoSize = true;
|
|
|
- this.label72.Location = new System.Drawing.Point(120, 29);
|
|
|
- this.label72.Name = "label72";
|
|
|
- this.label72.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label72.TabIndex = 3;
|
|
|
- this.label72.Text = "系数3";
|
|
|
- //
|
|
|
- // textBox_MOS_K4
|
|
|
- //
|
|
|
- this.textBox_MOS_K4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_K4.Location = new System.Drawing.Point(177, 62);
|
|
|
- this.textBox_MOS_K4.Name = "textBox_MOS_K4";
|
|
|
- this.textBox_MOS_K4.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_K4.TabIndex = 15;
|
|
|
- this.textBox_MOS_K4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label73
|
|
|
- //
|
|
|
- this.label73.AutoSize = true;
|
|
|
- this.label73.Location = new System.Drawing.Point(177, 29);
|
|
|
- this.label73.Name = "label73";
|
|
|
- this.label73.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label73.TabIndex = 3;
|
|
|
- this.label73.Text = "系数4";
|
|
|
- //
|
|
|
- // textBox_MOS_K5
|
|
|
- //
|
|
|
- this.textBox_MOS_K5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_K5.Location = new System.Drawing.Point(234, 62);
|
|
|
- this.textBox_MOS_K5.Name = "textBox_MOS_K5";
|
|
|
- this.textBox_MOS_K5.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_K5.TabIndex = 15;
|
|
|
- this.textBox_MOS_K5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label74
|
|
|
- //
|
|
|
- this.label74.AutoSize = true;
|
|
|
- this.label74.Location = new System.Drawing.Point(234, 29);
|
|
|
- this.label74.Name = "label74";
|
|
|
- this.label74.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label74.TabIndex = 3;
|
|
|
- this.label74.Text = "系数5";
|
|
|
- //
|
|
|
- // textBox_MOS_R1
|
|
|
- //
|
|
|
- this.textBox_MOS_R1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_R1.Location = new System.Drawing.Point(6, 139);
|
|
|
- this.textBox_MOS_R1.Name = "textBox_MOS_R1";
|
|
|
- this.textBox_MOS_R1.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_R1.TabIndex = 15;
|
|
|
- this.textBox_MOS_R1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label75
|
|
|
- //
|
|
|
- this.label75.AutoSize = true;
|
|
|
- this.label75.Location = new System.Drawing.Point(6, 106);
|
|
|
- this.label75.Name = "label75";
|
|
|
- this.label75.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label75.TabIndex = 3;
|
|
|
- this.label75.Text = "内阻1";
|
|
|
- //
|
|
|
- // textBox_MOS_R2
|
|
|
- //
|
|
|
- this.textBox_MOS_R2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_R2.Location = new System.Drawing.Point(63, 139);
|
|
|
- this.textBox_MOS_R2.Name = "textBox_MOS_R2";
|
|
|
- this.textBox_MOS_R2.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_R2.TabIndex = 15;
|
|
|
- this.textBox_MOS_R2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label76
|
|
|
- //
|
|
|
- this.label76.AutoSize = true;
|
|
|
- this.label76.Location = new System.Drawing.Point(63, 106);
|
|
|
- this.label76.Name = "label76";
|
|
|
- this.label76.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label76.TabIndex = 3;
|
|
|
- this.label76.Text = "内阻2";
|
|
|
- //
|
|
|
- // textBox_MOS_R3
|
|
|
- //
|
|
|
- this.textBox_MOS_R3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_MOS_R3.Location = new System.Drawing.Point(120, 139);
|
|
|
- this.textBox_MOS_R3.Name = "textBox_MOS_R3";
|
|
|
- this.textBox_MOS_R3.Size = new System.Drawing.Size(50, 28);
|
|
|
- this.textBox_MOS_R3.TabIndex = 15;
|
|
|
- this.textBox_MOS_R3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
- //
|
|
|
- // label77
|
|
|
- //
|
|
|
- this.label77.AutoSize = true;
|
|
|
- this.label77.Location = new System.Drawing.Point(120, 106);
|
|
|
- this.label77.Name = "label77";
|
|
|
- this.label77.Size = new System.Drawing.Size(51, 21);
|
|
|
- this.label77.TabIndex = 3;
|
|
|
- this.label77.Text = "内阻3";
|
|
|
- //
|
|
|
- // button_MOS_Cal
|
|
|
- //
|
|
|
- this.button_MOS_Cal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
|
|
- this.button_MOS_Cal.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- this.button_MOS_Cal.Location = new System.Drawing.Point(6, 190);
|
|
|
- this.button_MOS_Cal.Name = "button_MOS_Cal";
|
|
|
- this.button_MOS_Cal.Size = new System.Drawing.Size(85, 45);
|
|
|
- this.button_MOS_Cal.TabIndex = 15;
|
|
|
- this.button_MOS_Cal.Text = "校准";
|
|
|
- this.button_MOS_Cal.UseVisualStyleBackColor = false;
|
|
|
- this.button_MOS_Cal.Click += new System.EventHandler(this.button_MOS_Cal_Click);
|
|
|
- //
|
|
|
- // button_MOS_Read
|
|
|
- //
|
|
|
- this.button_MOS_Read.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
- this.button_MOS_Read.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- this.button_MOS_Read.Location = new System.Drawing.Point(103, 190);
|
|
|
- this.button_MOS_Read.Name = "button_MOS_Read";
|
|
|
- this.button_MOS_Read.Size = new System.Drawing.Size(85, 45);
|
|
|
- this.button_MOS_Read.TabIndex = 15;
|
|
|
- this.button_MOS_Read.Text = "读取";
|
|
|
- this.button_MOS_Read.UseVisualStyleBackColor = false;
|
|
|
- this.button_MOS_Read.Click += new System.EventHandler(this.button_MOS_Read_Click);
|
|
|
- //
|
|
|
- // button_MOS_Write
|
|
|
- //
|
|
|
- this.button_MOS_Write.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
- this.button_MOS_Write.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- this.button_MOS_Write.Location = new System.Drawing.Point(199, 190);
|
|
|
- this.button_MOS_Write.Name = "button_MOS_Write";
|
|
|
- this.button_MOS_Write.Size = new System.Drawing.Size(85, 45);
|
|
|
- this.button_MOS_Write.TabIndex = 15;
|
|
|
- this.button_MOS_Write.Text = "写入";
|
|
|
- this.button_MOS_Write.UseVisualStyleBackColor = false;
|
|
|
- this.button_MOS_Write.Click += new System.EventHandler(this.button_MOS_Write_Click);
|
|
|
- //
|
|
|
- // label78
|
|
|
- //
|
|
|
- this.label78.BackColor = System.Drawing.Color.Silver;
|
|
|
- this.label78.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label78.Location = new System.Drawing.Point(6, 100);
|
|
|
- this.label78.Name = "label78";
|
|
|
- this.label78.Size = new System.Drawing.Size(278, 1);
|
|
|
- this.label78.TabIndex = 18;
|
|
|
- //
|
|
|
- // label79
|
|
|
- //
|
|
|
- this.label79.BackColor = System.Drawing.Color.Silver;
|
|
|
- this.label79.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label79.Location = new System.Drawing.Point(8, 177);
|
|
|
- this.label79.Name = "label79";
|
|
|
- this.label79.Size = new System.Drawing.Size(278, 1);
|
|
|
- this.label79.TabIndex = 19;
|
|
|
- //
|
|
|
- // label80
|
|
|
- //
|
|
|
- this.label80.BackColor = System.Drawing.Color.Silver;
|
|
|
- this.label80.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label80.Location = new System.Drawing.Point(6, 100);
|
|
|
- this.label80.Name = "label80";
|
|
|
- this.label80.Size = new System.Drawing.Size(85, 1);
|
|
|
- this.label80.TabIndex = 21;
|
|
|
- //
|
|
|
// mainForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|