From 097dc87bb95c334e40d856cc558fc24538352ac6 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 목, 23 9월 2021 17:59:57 +0900 Subject: [PATCH] Ongoing100 #3584 CF AOI Review 시뮬레이션 기능 정상화 --- ReviewSystem/ReviewSystem/ReviewInterface.cpp | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/ReviewSystem/ReviewSystem/ReviewInterface.cpp b/ReviewSystem/ReviewSystem/ReviewInterface.cpp index 6b2beb7..de0e2d8 100644 --- a/ReviewSystem/ReviewSystem/ReviewInterface.cpp +++ b/ReviewSystem/ReviewSystem/ReviewInterface.cpp @@ -1272,7 +1272,7 @@ // process status observer AddObserverUpdateProcessStatus(static_cast<IUpdateProcessStatus*>(m_pAlignCameraControl)); - m_pAlignCameraControl->Camera_Control(CameraControlLive); + /*m_pAlignCameraControl->Camera_Control(CameraControlLive);*/ // 210805 Align Camera Sequence 蹂�寃� } else { @@ -3318,6 +3318,12 @@ { if (m_pDoc==NULL) return NULL; 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() @@ -6527,6 +6533,7 @@ m_pDlgDiagnosis->ShowWindow(SW_SHOW); + return; /* if (m_pSignalControl) { @@ -6544,6 +6551,14 @@ { 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); @@ -8924,6 +8939,11 @@ SetCurrentWsiMode(nMode); } +void CReviewInterface::ISP2P_InitAlignCamera() +{ + InitAlignCamera(); +} + int CReviewInterface::IWC2P_GetWsiType() { return GetCurrentWsiMode(); -- Gitblit v1.9.3