From 1e751a5eb3c23d932b5de94456b5a8741f28c7cc Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 16 八月 2025 17:37:49 +0800
Subject: [PATCH] 1. 修复离线测试设置错误的扫描个数,应该设置的是需要扫描的个数(非相机个数)

---
 EdgeInspector_App/Recipe/GlassRecipe.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/EdgeInspector_App/Recipe/GlassRecipe.h b/EdgeInspector_App/Recipe/GlassRecipe.h
index 925e993..ef63bc4 100644
--- a/EdgeInspector_App/Recipe/GlassRecipe.h
+++ b/EdgeInspector_App/Recipe/GlassRecipe.h
@@ -322,6 +322,7 @@
 struct CRIP_THICKNESS_PARM
 {
 	// Inspect
+	//RIP measure of precision
 	BOOL m_bUseInspect = FALSE;
 	int  m_nLeftThres = 0;
 	int  m_nRightThres = 0;
@@ -332,6 +333,14 @@
 	int  m_nRectRight = 0;			// Inspect Rect R
 	int  m_nBottomOffset = 0;       // Inspect Bottom Offset
 
+	// RIP chip detection
+	BOOL m_bRipUseInspect = FALSE;
+	int	 m_nRipInspect_Range_um=0;
+	int	 m_nRipInspect_SideLine_Offset_um=0;
+	int	 m_nRipMin_Threshold = 0;
+	int	 m_nRipMax_Threshold = 0;
+	
+	
 	// Judgement
 	int  m_nGlassSizeMin_um = 0;
 	int  m_nGlassSizeMax_um = 0;
@@ -339,6 +348,9 @@
 	int  m_nLeftRipSizeMax_um = 0;
 	int  m_nRightRipSizeMin_um = 0;
 	int  m_nRightRipSizeMax_um = 0;
+	int	 m_nRipJudge_Size_Min_X_um = 0;
+	int	 m_nRipJudge_Size_Min_Y_um = 0;
+	int	 m_nRipJudge_Size_Min_OR_AND = 0;// 0 : No Use, 1 : OR, 2 : AND
 
 	void Reset();
 	BOOL ReadRecipe(CConfig* pFile, int nSideIdx);

--
Gitblit v1.9.3