| | |
| | | m_bIsOffSetOn = 0; |
| | | m_bIsSimulation = 0; |
| | | |
| | | m_bFirstReviewLeft = 0; |
| | | m_bFirstReviewRight = 0; |
| | | |
| | | // cs init |
| | | InitializeCriticalSection(&m_csReviewResult); |
| | | InitializeCriticalSection(&m_csReviewSignal); |
| | |
| | | // process status observer |
| | | AddObserverUpdateProcessStatus(static_cast<IUpdateProcessStatus*>(m_pAlignCameraControl)); |
| | | |
| | | m_pAlignCameraControl->Camera_Control(CameraControlLive); |
| | | /*m_pAlignCameraControl->Camera_Control(CameraControlLive);*/ // 210805 Align Camera Sequence 변경 |
| | | } |
| | | else |
| | | { |
| | |
| | | return m_pDoc->System_GetSystemInfo(); |
| | | } |
| | | |
| | | const CSignalControlInfo* CReviewInterface::IRP2P_GetReviewSignalinfo() |
| | | { |
| | | if (m_pDoc == NULL) return NULL; |
| | | return m_pDoc->System_GetSignalInfo(); |
| | | } |
| | | |
| | | CGlassResult* CReviewInterface::IRP2P_GetCurrentGlassResult() |
| | | { |
| | | if (m_pDoc==NULL) return NULL; |
| | |
| | | CRecipeManager* CReviewInterface::IRP2P_GetEdgeRecipeManager() |
| | | { |
| | | return m_pEdgeRecipeManager; |
| | | } |
| | | |
| | | BOOL CReviewInterface::IRP2P_GetFirstReviewLeft() |
| | | { |
| | | return m_bFirstReviewLeft; |
| | | } |
| | | |
| | | BOOL CReviewInterface::IRP2P_GetFirstReviewRight() |
| | | { |
| | | return m_bFirstReviewRight; |
| | | } |
| | | |
| | | void CReviewInterface::IRP2P_SetFirstReviewLeft(BOOL b_Check) |
| | | { |
| | | m_bFirstReviewLeft = b_Check; |
| | | } |
| | | |
| | | void CReviewInterface::IRP2P_SetFirstReviewRight(BOOL b_Check) |
| | | { |
| | | m_bFirstReviewRight = b_Check; |
| | | } |
| | | |
| | | |
| | |
| | | if (m_SequenceProcessor == NULL) return; |
| | | m_SequenceProcessor->SetWsiType(9); |
| | | |
| | | if (!m_SequenceProcessor->WSIAllReadySignal(1)) |
| | | if (nModuleIdx == 0) |
| | | { |
| | | g_pLog->DisplayMessage(_T("[WSI] Send Ready Signal to All WIS Fail")); |
| | | if (!m_SequenceProcessor->WSIAllReadySignal(1)) |
| | | { |
| | | g_pLog->DisplayMessage(_T("[WSI] Send Ready Signal to All WIS Fail")); |
| | | return; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | |
| | | SetCurrentWsiMode(WsiMeasureType_VLSI); |
| | | |
| | | CWsiControl* pWsiControl = ISP2P_GetWSIControl(nModuleIdx); |
| | |
| | | |
| | | pWsiControl->SetWsiStart(1, vectorPosX, vectorPosY, 0); |
| | | |
| | | } |
| | | } |
| | | |
| | | void CReviewInterface::IDP2P_WsiMotorMotionEnd(int nModuleIdx, double dPosX, double dPosY) |
| | |
| | | pGlassResult->m_AlignRecipe.dMatchingRate = pRsRcpAlignInfo->m_dMatchingRate; |
| | | pGlassResult->m_AlignRecipe.strFirstImageFile = pRsRcpAlignInfo->m_strFirstImageFile; |
| | | pGlassResult->m_AlignRecipe.strSecondImageFile = pRsRcpAlignInfo->m_strSecondImageFile; |
| | | /*< LYW 20211012 - #3671 ADD Start >*/ |
| | | pGlassResult->m_AlignRecipe.strFirstAssistantImageFile = pRsRcpAlignInfo->m_strFirstAssistantImageFile; |
| | | pGlassResult->m_AlignRecipe.strSecondAssistantImageFile = pRsRcpAlignInfo->m_strSecondAssistantImageFile; |
| | | /*< LYW 20211012 - #3671 ADD End >*/ |
| | | pGlassResult->m_AlignRecipe.strTotalPitchImageFile = pRsRcpAlignInfo->m_strTotalPitchImageFile; |
| | | |
| | | // edge find param |
| | |
| | | |
| | | |
| | | m_pDlgDiagnosis->ShowWindow(SW_SHOW); |
| | | return; |
| | | /* |
| | | if (m_pSignalControl) |
| | | { |
| | |
| | | { |
| | | g_pLog->DisplayMessage(_T("Machine Mode is not Manual or Review Mode!")); |
| | | return; |
| | | } |
| | | |
| | | else |
| | | { |
| | | //#3584 210923 LYW CF AOI Review 시뮬레이션 기능 정상화 ADD START |
| | | m_pSequenceProcessor->SetSimulationMode(TRUE); |
| | | g_pLog->DisplayMessage(_T("Set User Command = %d"),nCommand); |
| | | //#3584 210923 LYW CF AOI Review 시뮬레이션 기능 정상화 ADD END |
| | | } |
| | | |
| | | m_pSequenceProcessor->RecvSignalToSignalControl(PCControlRecvSignalIndex_Seq, nCommand); |
| | |
| | | return m_pDlgHistoryTool; |
| | | } |
| | | |
| | | BOOL CReviewInterface::ISP2P_GetFirstReviewLeft() |
| | | { |
| | | return m_bFirstReviewLeft; |
| | | } |
| | | |
| | | BOOL CReviewInterface::ISP2P_GetFirstReviewRight() |
| | | { |
| | | return m_bFirstReviewRight; |
| | | } |
| | | |
| | | void CReviewInterface::ISP2P_SetFirstReviewLeft(BOOL b_Check) |
| | | { |
| | | m_bFirstReviewLeft = b_Check; |
| | | } |
| | | |
| | | void CReviewInterface::ISP2P_SetFirstReviewRight(BOOL b_Check) |
| | | { |
| | | m_bFirstReviewRight = b_Check; |
| | | } |
| | | |
| | | void CReviewInterface::ILCC2P_DisplayMessage( int nIndex, const TCHAR* lpstrFormat, ... ) |
| | | { |
| | | |
| | |
| | | SetCurrentWsiMode(nMode); |
| | | } |
| | | |
| | | void CReviewInterface::ISP2P_InitAlignCamera() |
| | | { |
| | | InitAlignCamera(); |
| | | } |
| | | |
| | | int CReviewInterface::IWC2P_GetWsiType() |
| | | { |
| | | return GetCurrentWsiMode(); |