新增曲柄滑块批量仿真接口

This commit is contained in:
zhangshun
2026-06-16 11:17:25 +08:00
parent c9e76d0850
commit a66952e636
6 changed files with 310 additions and 73 deletions

View File

@@ -122,7 +122,8 @@ json KinematicsWebAPI::dispatchCommand(const std::string &req_cmd, const json &r
return handleSpcCommand(req_cmd, req_param);
}
if (req_cmd == "Cmd_FourBar_CrankSlider")
if (req_cmd == "Cmd_FourBar_CrankSlider" ||
req_cmd == "Cmd_FourBar_CrankSlider_Simulate")
{
return handleFourBarCommand(req_cmd, req_param);
}