SDC C-Project CF Review 프로그램
LYW
2022-06-30 c220de6f70051797e9d8b371830d06def9dc9cbd
ReviewSystem/ReviewSystem/SequenceProcessor.cpp
@@ -83,7 +83,10 @@
   m_nAlive = 0;
   m_nWsiTotalCount = 0;
   //#3584 210817 LYW CF AOI Review 시뮬레이션 기능 정상화 ADD START
   m_bSimulationMode = FALSE;
   //#3584 210817 LYW CF AOI Review 시뮬레이션 기능 정상화 ADD END
   m_bReviewComplete = FALSE;
   InitializeCriticalSection(&m_csProcessStatus);
}
@@ -1882,9 +1885,11 @@
      if(pWsiControl == NULL) continue ;
      CRcpAFMRecipeInfo *pRcpWsiAFMInfo = pRsRcpReviewInfo->GetRcpWsiAFMRecipeInfo(nWsiControlIdx);
      if(pRcpWsiAFMInfo == NULL) continue ;
//       if(pRcpWsiAFMInfo == NULL) continue ;
//
//       int nRealMagIndex = GetRealMagnification(nWsiControlIdx, pRcpWsiAFMInfo->m_nZoomIndex);
      int nRealMagIndex = GetRealMagnification(nWsiControlIdx, pRcpWsiAFMInfo->m_nZoomIndex);
      int nRealMagIndex = 0;
   
      //pWsiControl->SetWsiReady(*pGlassResult->GetJobID(),_T("LGDemo"),2, 0); //TEST0716 
@@ -1961,7 +1966,7 @@
   //{
      
      // WSI result count
      // WSI result count //TEST
      for (int nModuleIdx=0; nModuleIdx<Module_GetModuleStatusCount(); nModuleIdx++)
      {      
         CWsiControl* pWsiControl = m_pSP2P->ISP2P_GetWSIControl(nModuleIdx);
@@ -2057,14 +2062,15 @@
   int nTotalWsiCount = 0;
   for(int nWsiControlIdx = 0; nWsiControlIdx < nWsiControlCount; nWsiControlIdx++)
   {
      CWsiControl* pWsiControl = m_pSP2P->ISP2P_GetWSIControl(nWsiControlIdx);
      if(pWsiControl == NULL) continue ;
//    for(int nWsiControlIdx = 0; nWsiControlIdx < nWsiControlCount; nWsiControlIdx++)
//    {
      // WSI result count
      // WSI result count //TEST
      for (int nModuleIdx=0; nModuleIdx<Module_GetModuleStatusCount(); nModuleIdx++)
      {      
         CWsiControl* pWsiControl = m_pSP2P->ISP2P_GetWSIControl(nModuleIdx);
         if (pWsiControl == NULL) continue;
         CReviewResult*               pWsiUserResult   = pGlassResult->GetWsiUserResult(nModuleIdx);
         if(pWsiUserResult == NULL) continue ;
         const SCoordInfo*            pCoordInfo      = Module_GetCoordInfo(nModuleIdx);
@@ -2117,10 +2123,10 @@
         // [2016:11:18]-[WEZASW] : 전달 항목 수정 => nModuleIndex, nDefectCount, nDefectIndex ( n+0),    nUMOriginX  ( n+1), nUMOriginY  ( n+2)
         bWSIStart = pWsiControl->SetWsiStart(nDefectCount, vectorPosX, vectorPosY, 1);
         nTotalWsiCount+=nDefectCount;
      }
   }
   //}
   return bWSIStart;
}