SDC C-Project CF Review 프로그램
LYW
2021-06-23 598cef9de915e5554fc2f7572b24f15d8a4acf41
ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp
@@ -1027,6 +1027,10 @@
            
         }
         // #3381 LYW CF AOI Review 전설비 FDC TackTime 오보고 현상 개선 ADD START
         pDitRawClient->GetGlassData()->m_tmReviewLoading = CTime::GetCurrentTime();
         // #3381 LYW CF AOI Review 전설비 FDC TackTime 오보고 현상 개선 ADD END
         
         CString strGlassIDTemp = NULL;
@@ -1043,8 +1047,9 @@
         m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::GlassLoading] Send Loading Success Signal!"));
         strFileName.Format(_T("%s_%s"), strGlassIDTemp, strGlassStepIdTemp);
         bFileFind = FindRawBinFile(strFileName);
         //bFileFind = TRUE;
         //업데이트시
         //bFileFind = FindRawBinFile(strFileName);
         bFileFind = TRUE;
         pDitRawClient->SetReviewStart();
         Sleep(1000);
@@ -4495,7 +4500,7 @@
   SetWsiType(0);
   WSIAllReadySignal(1);
   Sleep(500);
   Sleep(1000);
   if(!WSIAllStartSignal())
   {
      g_pLog->DisplayMessage(_T("[WSI] WSI Start Fail!!"));
@@ -4571,6 +4576,9 @@
   VectorDouble vectorCollisionPosX;
   vectorCollisionPosX.clear();
   //WSI 좌우 겐트리 동시이동
   pMotorControl->GantrySetTwoGantrySyncModeSend(1);
   
   // WSI result count
@@ -4618,8 +4626,7 @@
            return 0;
         }
      }
      //WSI 좌우 겐트리 동시이동
      pMotorControl->GantrySetTwoGantrySyncModeSend(1);
      // get result index
      int nStartIdx = pWsiResult->GetStartSReviewResultIndex();
@@ -4691,7 +4698,7 @@
         //3360 LYW_ CF AOI QD Review WSI XY MotorMoving Error 알람 발생 원인 분석 및 조치 START
         g_pLog->DisplayMessage(_T("[GantryAutoGo] No Exist Send Point,TwoGantrySyncMode OFF!"), vectorPosX.size());
         g_pLog->DisplayMessage(_T("[GantryAutoGo] (%d)Gantry Path Send Fail"), pModuleStatus->GetGantryIndex()); //taek 210128
         pMotorControl->GantrySetTwoGantrySyncModeSend(1);
         pMotorControl->GantrySetTwoGantrySyncModeSend(0);
         //3360 LYW_ CF AOI QD Review WSI XY MotorMoving Error 알람 발생 원인 분석 및 조치 END
      }
      else
@@ -7982,8 +7989,6 @@
   pSignalControl->WritePacketData(_T("16124"), sizeof(nRev_PC_HDD_CHECK), (short*)&nRev_PC_HDD_CHECK);
   pSignalControl->WritePacketData(_T("16128"), sizeof(nWSI1_PC_HDD_CHECK), (short*)&nWSI1_PC_HDD_CHECK);
   pSignalControl->WritePacketData(_T("16132"), sizeof(nWSI2_PC_HDD_CHECK), (short*)&nWSI2_PC_HDD_CHECK);
   pSignalControl->WritePacketData(_T("16136"), sizeof(nReviewVersion), (short*)&nReviewVersion);
   pSignalControl->WritePacketData(_T("16140"), sizeof(nWSI00Version), (short*)&nWSI00Version);