| | |
| | | { |
| | | ASSERT(m_pEquipment != nullptr); |
| | | ASSERT(m_pEquipment->getID() == EQ_ID_LOADPORT1 |
| | | || m_pEquipment->getID() == EQ_ID_LOADPORT2); |
| | | || m_pEquipment->getID() == EQ_ID_LOADPORT2 |
| | | || m_pEquipment->getID() == EQ_ID_LOADPORT3 |
| | | || m_pEquipment->getID() == EQ_ID_LOADPORT4); |
| | | SERVO::CLoadPort* pLoadPort = (SERVO::CLoadPort*)m_pEquipment; |
| | | |
| | | short cmd = 0; |
| | |
| | | |
| | | |
| | | pLoadPort->sendCassetteCtrlCmd(cmd, &jobExistence[0], jobExistenceSize, slotProcess, |
| | | jobCount, pJobDataA); |
| | | jobCount, pJobDataA, [&](int code) -> int { |
| | | if (code == WOK) { |
| | | LOGI("sendCassetteCtrlCmd 成功."); |
| | | } |
| | | else { |
| | | LOGE("sendCassetteCtrlCmd 失败."); |
| | | } |
| | | |
| | | return 0; |
| | | }); |
| | | } |