mrDarker
2025-08-09 a8fb417ef1fb696723c8b8d5a340e8ca2e0312ae
SourceCode/Bond/BondEq/CComponentPLCDlg.cpp
@@ -152,9 +152,14 @@
void CComponentPLCDlg::OnBnClickedButtonAxisSetting()
{
   std::string strName = RecipeManager::getInstance().getCurrentRecipeName();
   if (strName.empty()) {
      AfxMessageBox("未选择配方!", MB_ICONERROR);
   }
   CAxisSettingsDlg axisDlg;
   axisDlg.SetPLC((CPLC*)m_pContext);
   axisDlg.SetRecipeName(_T("Default"));
   axisDlg.SetRecipeName(strName.c_str());
   axisDlg.DoModal();
}