|
@@ -4167,6 +4167,15 @@ namespace Welling_Motor_Debug_Tool
|
|
|
if (!mySerialProcess.SendCmd((ushort)0x751, (byte)0x11, (ushort)0x4800, null)) break;
|
|
|
Delay_ms(100);
|
|
|
|
|
|
+ //读取一次MOS内阻校准参数
|
|
|
+ foreach (Control c in groupBox21.Controls)
|
|
|
+ {
|
|
|
+ if (c is TextBox)
|
|
|
+ c.Text = "";
|
|
|
+ }
|
|
|
+ mySerialProcess.SendCmd((ushort)0x751, (byte)0x11, (ushort)0x4B00, null);
|
|
|
+ Delay_ms(100);
|
|
|
+
|
|
|
//提示检查
|
|
|
#if false
|
|
|
timer_1s.Enabled = false;
|
|
@@ -4245,6 +4254,16 @@ namespace Welling_Motor_Debug_Tool
|
|
|
FileInfo += "[历史信息]\r\n";
|
|
|
FileInfo += richTextBox_Record.Text + "\r\n";
|
|
|
FileInfo += "\r\n";
|
|
|
+ FileInfo += "[MOS内阻校准参数]\r\n";
|
|
|
+ FileInfo += textBox_MOS_K1.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_K2.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_K3.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_K4.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_K5.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_R1.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_R2.Text + ", ";
|
|
|
+ FileInfo += textBox_MOS_R3.Text + "\r\n";
|
|
|
+ FileInfo += "\r\n";
|
|
|
FileInfo += "[生产信息]\r\n";
|
|
|
FileInfo += "生产商: " + textBox_MAC.Text + "\r\n";
|
|
|
FileInfo += "生产地: " + textBox_MACAdd.Text + "\r\n";
|