From 0c66940a8e2cf64c9890519901f433b3668216b6 Mon Sep 17 00:00:00 2001
From: KEJ <kimeungju@diteam.co.kr>
Date: 수, 26 6월 2024 15:13:18 +0900
Subject: [PATCH] Ongoing80 #4942 CF AOI Review Bin File Loading 실패 개선  1. GlassRawMessenger 동기화  2. BIN파일 FindFile 제거(RawMessenger, Review 공통)  3. Unloading 시 BIN파일 제거

---
 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