From 1dbe46cd9d0f181d08d5a69f72d8548628a13b9d Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 16 七月 2025 17:13:50 +0800
Subject: [PATCH] 优化:显示在流程中解锁,并且把文件字符集统一替换成UTF-8(BOM)

---
 EdgeInspector_App/ViewMain_Recipe.cpp |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/EdgeInspector_App/ViewMain_Recipe.cpp b/EdgeInspector_App/ViewMain_Recipe.cpp
index a576591..fae101f 100644
--- a/EdgeInspector_App/ViewMain_Recipe.cpp
+++ b/EdgeInspector_App/ViewMain_Recipe.cpp
@@ -1,4 +1,4 @@
-// ViewLedRecipeSetting.cpp : 备泅 颇老涝聪促.
+锘�// ViewLedRecipeSetting.cpp : 澶囨硡 棰囪�佹稘鑱績.
 //
 
 #include "stdafx.h"
@@ -9,7 +9,7 @@
 #include "ViewLampControl.h"
 #include "DlgLogin.h"
 #include "Global_Define.h"
-// CViewLedRecipeSetting 措拳 惑磊涝聪促.
+// CViewLedRecipeSetting 鎺嫵 鎯戠娑濊仾淇�.
 
 IMPLEMENT_DYNAMIC(CViewMain_Recipe, CDialogEx)
 
@@ -150,7 +150,7 @@
 END_MESSAGE_MAP()
 
 
-// CViewLedRecipeSetting 皋矫瘤 贸府扁涝聪促.
+// CViewLedRecipeSetting 鐨嬬煫鐦� 璐稿簻鎵佹稘鑱績.
 BEGIN_EVENTSINK_MAP(CViewMain_Recipe, CDialogEx)
 	ON_EVENT(CViewMain_Recipe, IDC_BTN_IMG_LOAD, DISPID_CLICK, CViewMain_Recipe::ClickImgLoadButton, VTS_NONE)
 	ON_EVENT(CViewMain_Recipe, IDC_BTN_IMG_SAVE, DISPID_CLICK, CViewMain_Recipe::ClickImgSaveButton, VTS_NONE)
@@ -309,10 +309,10 @@
 #if HALCON_VISION_KEY
 void CViewMain_Recipe::onMsgVisionEvent(int code, int eDir) {
 	/* code */
-	if (1 == code) {     //获取区域数据
+	if (1 == code) {     //鑾峰彇鍖哄煙鏁版嵁
 		m_pThis->SetFrameRegion();
 	}
-	else if (2 == code) {    //获取效果
+	else if (2 == code) {    //鑾峰彇鏁堟灉
 		m_pThis->DispAllResult();
 	}
 }
@@ -906,7 +906,7 @@
 
 		tickCount = GetTickCount();
 
-		// 急琶等 Recipe 荐沥.				
+		// 鎬ョ惗绛� Recipe 鑽愭播.				
 		if (m_pDlgRecipe->WriteRecipeFile() == FALSE)		
 		{
 			AfxMessageBox(_T("Save Fail"), MB_OK | MB_ICONERROR);
@@ -989,7 +989,7 @@
 
 void CViewMain_Recipe::DeleteVectorList()
 {
-	// Vector 昏力
+	// Vector 鏄忓姏
 	LinkList* pList = NULL;
 	for (VectorLinkListIt it = m_VectorLinkList.begin(); it != m_VectorLinkList.end(); it++)
 	{
@@ -1076,7 +1076,7 @@
 {
 	if(strRecipe.IsEmpty() == TRUE)
 	{
-		//AfxMessageBox("Recipe Name捞 绝嚼聪促.");
+		//AfxMessageBox("Recipe Name鎹� 缁濆毤鑱績.");
 		return FALSE;	
 	}
 
@@ -3166,7 +3166,7 @@
 {
 	CPaintDC dc(this);
 
-	DrawMarkImage();	// 恐 捞芭 秦拎具父 贸澜俊 付农 捞固瘤啊 弊妨龙鳖..
+	DrawMarkImage();	// 鎭� 鎹炶姯 绉︽嫀鍏风埗 璐告緶淇� 浠樺啘 鎹炲浐鐦ゅ晩 寮婂Θ榫欓硸..
 }
 
 void CViewMain_Recipe::ClickButtonOpenExceptionSettingView()
@@ -3191,7 +3191,7 @@
 
 void CViewMain_Recipe::ClickButtonVisionSetting()
 {
-	// TODO: 在此处添加消息处理程序代码
+	// TODO: 鍦ㄦ澶勬坊鍔犳秷鎭鐞嗙▼搴忎唬鐮�
 #if HALCON_VISION_KEY
 	IVisionRecipe* pInstance = BlVision_GetVisionRecipe();
 	if (!pInstance->getVisionUse()) {

--
Gitblit v1.9.3