From 2379434200219132ee252f12d47a1e5efd160f42 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 06 八月 2025 15:32:44 +0800
Subject: [PATCH] 1. 实时扫描界面新添两个相机(侧面检)

---
 EdgeInspector_App/View/FrameImg.cpp |   28 ++++++++++++++++------------
 1 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/EdgeInspector_App/View/FrameImg.cpp b/EdgeInspector_App/View/FrameImg.cpp
index 9d0ac4d..fc051ef 100644
--- a/EdgeInspector_App/View/FrameImg.cpp
+++ b/EdgeInspector_App/View/FrameImg.cpp
@@ -1,4 +1,4 @@
-// FrameImg.cpp : 备泅 颇老涝聪促.
+锘�// FrameImg.cpp : 澶囨硡 棰囪�佹稘鑱績.
 //
 
 #include "stdafx.h"
@@ -9,7 +9,11 @@
 #include "EdgeInspector_App.h"
 #include "Global_Define.h"
 
-const TCHAR* PANEL_SIDE_NAME[] = {_T("A_TOP"), _T("B_TOP"), _T("C_TOP"), _T("D_TOP"),_T("A_BOT"), _T("B_BOT"), _T("C_BOT"), _T("D_BOT")};
+const TCHAR* PANEL_SIDE_NAME[] = {
+	_T("A_TOP"), _T("B_TOP"), _T("C_TOP"), _T("D_TOP"),
+	_T("A_BOT"), _T("B_BOT"), _T("C_BOT"), _T("D_BOT"),
+	_T("A RIP"), _T("B RIP"), _T("C RIP"), _T("D RIP")
+};
 
 // CFrameImg
 IMPLEMENT_DYNAMIC(CFrameImg, CStatic)
@@ -415,7 +419,7 @@
 
 
 	WCHAR		wStr[MAX_PATH];
-	FontFamily	fontFamily(L"奔覆眉");
+	FontFamily	fontFamily(L"濂旇鐪�");
 	Font		font(&fontFamily,11, FontStyleBold );
 
 	swprintf(wStr, L"%d[%d,%d]",m_Image.GetPixel(m_ptCur.x +  m_nScrStartX,m_ptCur.y) & 0xff,m_ptCur.x +  m_nScrStartX,m_ptCur.y);
@@ -908,8 +912,8 @@
 void CFrameImg::OnPaint()
 {
 	CPaintDC dc(this); // device context for painting
-	// TODO: 咯扁俊 皋矫瘤 贸府扁 内靛甫 眠啊钦聪促.
-	// 弊府扁 皋矫瘤俊 措秦辑绰 CStatic::OnPaint()阑(甫) 龋免窍瘤 付绞矫坷.
+	// TODO: 鍜墎淇� 鐨嬬煫鐦� 璐稿簻鎵� 鍐呴潧鐢� 鐪犲晩閽﹁仾淇�.
+	// 寮婂簻鎵� 鐨嬬煫鐦や繆 鎺Е杈戠话 CStatic::OnPaint()闃�(鐢�) 榫嬪厤绐嶇槫 浠樼粸鐭澐.
 	ViewUpdate();
 }
 
@@ -1786,7 +1790,7 @@
 	dc.SetTextColor(RGB(0,0,255));
 	
 	dc.TextOut(120,3,strTmp);
-	// TFT CF Line阑 弊赴促.
+	// TFT CF Line闃� 寮婅荡淇�.
 	
 	szROI.cx =  CHKMIN(int(m_WndRect.Width()  / m_dZoom), m_szImg.cx);
 	szROI.cy =  int(m_WndRect.Height() / m_dZoom);   
@@ -1843,13 +1847,13 @@
 	dc.MoveTo(x,y-7);
 	dc.LineTo(x,y+7);
 
-	// Corner甫 弊赴促.	
+	// Corner鐢� 寮婅荡淇�.	
 	DrawCorner(dc,ptMark);
 		
-	//Defect阑 弊赴促.
+	//Defect闃� 寮婅荡淇�.
 	DrawDefect(dc);
 
-	// 八荤 康开阑 弊赴促
+	// 鍏崵 搴峰紑闃� 寮婅荡淇�
 	//DrawInspectArea(dc);
 		
 	DrawMeasureLine(dc,ptMark);
@@ -1902,7 +1906,7 @@
 			int nValue;
 
 			int nTx = (int)(x * m_dZoom) - 40;
-			if(m_nSide < 4) // 惑何 
+			if(m_nSide < 4) // 鎯戜綍 
 			{
 				// CF LINE
 				dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x)	*	m_dZoom) , m_ptMouseCurrent.y);
@@ -1932,7 +1936,7 @@
 				//strTmp.Format("GRIND : %d um",nValue);
 				dc.TextOut( nTx ,m_ptMouseCurrent.y + 30,strTmp);
 			}
-			else // 窍何
+			else // 绐嶄綍
 			{
 				// TFT LINE
 				dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x)	*	m_dZoom) , m_ptMouseCurrent.y);
@@ -2108,7 +2112,7 @@
 
 		GetResolution(dResH,dResV);
 
-		// 付农甫 弊赴促.
+		// 浠樺啘鐢� 寮婅荡淇�.
 		dc.SelectObject(&pen2);
 
 		if(bMark[0])

--
Gitblit v1.9.3