|
@@ -25,7 +25,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
{
|
|
|
#region 变量定义
|
|
|
//版本号
|
|
|
- public static string Version = "2.5.0";
|
|
|
+ public static string Version = "2.5.1";
|
|
|
//串口实例
|
|
|
Serial_Process mySerialProcess = new Serial_Process();
|
|
|
string PortNumSave = "";
|
|
@@ -9043,6 +9043,8 @@ namespace Welling_Motor_Debug_Tool
|
|
|
}
|
|
|
if (string.Compare(key, "[其它传感器参数]") == 0)
|
|
|
ParamRead = CmdRevStrTemp.Substring(90, CmdRevStrTemp.Length - 90).Trim(); //去掉命令字、力矩传感器标定参数
|
|
|
+ else if (string.Compare(key, "[力矩传感器参数]") == 0)
|
|
|
+ ParamRead = CmdRevStrTemp.Substring(6, CmdRevStrTemp.Length - 6 - 36).Trim(); //去掉命令字、其它传感器参数
|
|
|
else if (string.Compare(key, "[控制参数]") == 0)
|
|
|
ParamRead = CmdRevStrTemp.Substring(18, CmdRevStrTemp.Length - 18).Trim(); //去掉命令字、位置零点
|
|
|
else
|