| | |
| | | if (( nTotalCount += pGlassResult->GetTotalSReviewResultCount()) > 0) |
| | | { |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[Sequence Processor] Review Plan Start!")); |
| | | //LYW DCOLL 임시조치 |
| | | CDitGlassRawClient *pDitRawClient = CDitGlassRawClient::GetInstance(); |
| | | if (pDitRawClient->isConnect() == TRUE) |
| | | { |
| | | |
| | | _grmDefectData* pSharedDefect = pDitRawClient->GetDefectData(0);//pReviewResult->nDefectidx2 |
| | | _grmDefectReviewData * pSharedDefectReview = &pSharedDefect->m_ReviewDefect; |
| | | |
| | | //size_t CharactersConverted; |
| | | //wcstombs_s(&CharactersConverted, pSharedDefectReview->m_strRevImageName, pReviewResult->strImgFileName, _TRUNCATE); |
| | | |
| | | strcpy(pSharedDefectReview->m_strRevImageName, ""); |
| | | } |
| | | //LYW DCOLL 임시조치 |
| | | ::Sleep(nWaitTime); |
| | | m_pSP2P->ISP2P_GetReviewProcessor()->ResetGantryDone(); |
| | | bExcute = ReviewStartProcessing(pGlassResult, nPlanIdx); |
| | |
| | | |
| | | strFileName.Format(_T("%s_%s"), strGlassIDTemp, strGlassStepIdTemp); |
| | | //업데이트시 |
| | | //bFileFind = FindRawBinFile(strFileName); |
| | | bFileFind = TRUE; |
| | | bFileFind = FindRawBinFile(strFileName); |
| | | //bFileFind = TRUE; |
| | | |
| | | pDitRawClient->SetReviewStart(); |
| | | Sleep(1000); |
| | |
| | | if(pAlignCameraControl->AlignCameraDisconnectCheck() == FALSE) |
| | | { |
| | | SendResultToSignalControl(PCControlSendData_AlignResult_CPJT, SIGNAL_SEND_RESULT_FAIL); |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::AlignStart] Send Align Fail! Align Cam Disconnect")); |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::AlignStart] Algin Camera Disconnect!!!!")); |
| | | } |
| | | } |
| | |
| | | strReadData = pTransferData->strRerferData; |
| | | break; |
| | | } |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[ReadTransferData] Name: %s, Addr: %s, Size: %d, Data: %s"), pInfo->strName, strReadAddress, nReadSize, strReadData); //0517 |
| | | // m_pSP2P->ISP2P_DisplayMessage(_T("[ReadTransferData] Name: %s, Addr: %s, Size: %d, Data: %s"), pInfo->strName, strReadAddress, nReadSize, strReadData); //0517 |
| | | } |
| | | } |
| | | |
| | |
| | | //WSI 좌우 겐트리 동시이동 |
| | | pMotorControl->GantrySetTwoGantrySyncModeSend(1); |
| | | |
| | | |
| | | // WSI result count |
| | | for (int nModuleIdx = 0; nModuleIdx < Module_GetModuleStatusCount(); nModuleIdx++) |
| | | { |
| | |
| | | return 0; |
| | | } |
| | | } |
| | | |
| | | |
| | | // get result index |
| | | int nStartIdx = pWsiResult->GetStartSReviewResultIndex(); |
| | |
| | | pReviewScheduler->GetPathSchedulerParam()->SetSelectModuleType(type); |
| | | |
| | | nSchedulingCount = pReviewScheduler->PathScheduling(vecPathData, vecStartPathData); |
| | | |
| | | |
| | | if (nSchedulingCount>0) |
| | | { |