| | |
| | | #include "AlarmManager.h" |
| | | #include "CGlassPool.h" |
| | | #include "TransferManager.h" |
| | | #include "RecipeManager.h" |
| | | |
| | | |
| | | CModel::CModel() |
| | |
| | | m_master.enableAlarmReport(bEnable); |
| | | } |
| | | }; |
| | | listener.onQueryPPIDList = [&](void* pFrom) ->std::vector<std::string> { |
| | | std::vector<std::string> ppids; |
| | | auto temp = RecipeManager::getInstance().getAllPPID(); |
| | | for (auto item : temp) { |
| | | if (item.length() > PPID_NAME_MAX) { |
| | | ppids.push_back(item.substr(0, PPID_NAME_MAX)); |
| | | } |
| | | else { |
| | | ppids.push_back(item); |
| | | } |
| | | } |
| | | return ppids; |
| | | }; |
| | | m_hsmsPassive.setListener(listener); |
| | | m_hsmsPassive.setEquipmentModelType((LPTSTR)(LPCTSTR)strModeType); |
| | | m_hsmsPassive.setSoftRev((LPTSTR)(LPCTSTR)strSoftRev); |