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(); }