| | |
| | | |
| | | return m_glassList.empty(); |
| | | } |
| | | |
| | | BOOL CVacuumBake::onPreStoredJob(int port, CJobDataB* pJobDataB) |
| | | { |
| | | CJobDataS* pJobDataS = getJobDataS(pJobDataB->getCassetteSequenceNo(), pJobDataB->getJobSequenceNo()); |
| | | if (pJobDataS == nullptr) { |
| | | LOGE("<CEquipment-%s>onPreFetchedOutJob,找不到对应的JobDataS(CassetteSequenceNo:%d, JobSequenceNo:%d), 注意排查风险!", m_strName.c_str(), |
| | | pJobDataB->getCassetteSequenceNo(), pJobDataB->getJobSequenceNo()); |
| | | return FALSE; |
| | | } |
| | | |
| | | // 当前不能有任何玻璃,且当前准备进的片是G1 |
| | | Lock(); |
| | | if (!m_glassList.empty()) { |
| | | Unlock(); |
| | | LOGE("<CEquipment-%s>onPreFetchedOutJob,当前机器或单元存在玻璃片,不能进料,请注意风险!", m_strName.c_str()); |
| | | return FALSE; |
| | | } |
| | | |
| | | if (pJobDataS->getMaterialsType() != (int)MaterialsType::G1) { |
| | | LOGE("<CEquipment-%s>onPreFetchedOutJob,当前机器或单元只能进G2玻璃片,请注意风险!", m_strName.c_str()); |
| | | return FALSE; |
| | | } |
| | | |
| | | return TRUE; |
| | | } |
| | | } |