From 06548959f857ca6a9eabaa695ab84dfa0ff73849 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期日, 10 八月 2025 14:03:11 +0800
Subject: [PATCH] 1. 添加侧面检的执行和报警参数 2. 修复配方界面分组按钮的显示异常问题
---
EdgeInspector_App/Recipe/GlassRecipe.h | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/EdgeInspector_App/Recipe/GlassRecipe.h b/EdgeInspector_App/Recipe/GlassRecipe.h
index 4a432a8..925e993 100644
--- a/EdgeInspector_App/Recipe/GlassRecipe.h
+++ b/EdgeInspector_App/Recipe/GlassRecipe.h
@@ -318,6 +318,33 @@
int m_nJudge_Size_Min_OR_AND; // 0 : No Use, 1 : OR, 2 : AND
};
+// RIP Thickness
+struct CRIP_THICKNESS_PARM
+{
+ // Inspect
+ BOOL m_bUseInspect = FALSE;
+ int m_nLeftThres = 0;
+ int m_nRightThres = 0;
+ int m_nGlassThres = 0;
+ int m_nRipDir = 0; // 0:L 1:R 2:L+R
+ int m_nRectLeft = 0; // Inspect Rect L
+ int m_nTopOffset = 0; // Inspect Top Offset
+ int m_nRectRight = 0; // Inspect Rect R
+ int m_nBottomOffset = 0; // Inspect Bottom Offset
+
+ // Judgement
+ int m_nGlassSizeMin_um = 0;
+ int m_nGlassSizeMax_um = 0;
+ int m_nLeftRipSizeMin_um = 0;
+ int m_nLeftRipSizeMax_um = 0;
+ int m_nRightRipSizeMin_um = 0;
+ int m_nRightRipSizeMax_um = 0;
+
+ void Reset();
+ BOOL ReadRecipe(CConfig* pFile, int nSideIdx);
+ BOOL WriteRecipe(CConfig* pFile, int nSideIdx);
+};
+
class CSIDE_PARM
{
public:
@@ -453,6 +480,9 @@
// User Defect
int m_nUserDefectAreaCount;
CUSER_DEFECT_AREA_PARM m_UserDefectPrm[MAX_SIDE_USER_DEFECT_AREA_COUNT];
+
+ // Rip Thickness
+ CRIP_THICKNESS_PARM m_RipThk;
};
class CGlassRecipe
--
Gitblit v1.9.3