From ea996431950e6ecff451bd40d1228f51d077475c Mon Sep 17 00:00:00 2001
From: LYW <leeyeanwoo@diteam.co.kr>
Date: 목, 28 4월 2022 09:22:18 +0900
Subject: [PATCH] Ongoing100 #4086 CF AOI Review FDC SW Version 추가 요청

---
 ReviewSystem/ReviewSystem/SequenceProcessor.cpp |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/ReviewSystem/ReviewSystem/SequenceProcessor.cpp b/ReviewSystem/ReviewSystem/SequenceProcessor.cpp
index 4f11b45..d0f3204 100644
--- a/ReviewSystem/ReviewSystem/SequenceProcessor.cpp
+++ b/ReviewSystem/ReviewSystem/SequenceProcessor.cpp
@@ -1965,7 +1965,7 @@
 	//{
 		
 
-		// WSI result count
+		// WSI result count //TEST
 		for (int nModuleIdx=0; nModuleIdx<Module_GetModuleStatusCount(); nModuleIdx++)
 		{		
 			CWsiControl* pWsiControl = m_pSP2P->ISP2P_GetWSIControl(nModuleIdx);
@@ -2061,14 +2061,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);
@@ -2121,10 +2122,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;
 }

--
Gitblit v1.9.3