From c70166f3e86ffd0528884911483c067a6b21ebdd Mon Sep 17 00:00:00 2001 From: kojingeun <diteam.co.kr> Date: 금, 30 6월 2023 15:48:59 +0900 Subject: [PATCH] Ongoing60 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. AOIServer RawBin 폴더 연결 TimerThread 추가 - file_dummy 생성 후 Open/Close 반복(10초) 2. 프로젝트 누락 경로 및 설정 추가 - FTPUploader Include Path, Debug모드 psapi.lib --- ReviewSystem/ReviewSystem/CameraViewAlign.cpp | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ReviewSystem/ReviewSystem/CameraViewAlign.cpp b/ReviewSystem/ReviewSystem/CameraViewAlign.cpp index 5573053..2e8d575 100644 --- a/ReviewSystem/ReviewSystem/CameraViewAlign.cpp +++ b/ReviewSystem/ReviewSystem/CameraViewAlign.cpp @@ -11,6 +11,7 @@ IMPLEMENT_DYNAMIC(CCameraViewAlign, CCameraImageView) CCameraViewAlign::CCameraViewAlign(CWnd *pParentWnd) : CCameraImageView(pParentWnd) + { m_bDrawROIRect = TRUE; @@ -171,6 +172,28 @@ { CCHBufferDC *pDC = new CCHBufferDC(this); // device context for painting + // LYW 20200810 �닔�젙 + if (d_FindScore != 0) + { + if (d_FindScore > d_MatchingRate) + { + pDC->SetTextColor(RGB(0, 255, 0)); + } + + else if (d_FindScore < d_MatchingRate) + { + pDC->SetTextColor(RGB(255, 0, 0)); + } + else + { + pDC->SetTextColor(RGB(255, 255, 255)); + } + } + else + { + pDC->SetTextColor(RGB(255, 255, 255)); + } + UpdateImageView(pDC); if (m_bDrawROIRect) DrawROIRect(pDC); -- Gitblit v1.9.3