mrDarker
2025-05-14 0d2da4a2507a5a8d34bf7f736727917d791df0d2
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();
}