From aa2c9d14b1b4058639d938ef7f943c7c7fc7c210 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 14 八月 2025 14:57:08 +0800
Subject: [PATCH] 1. 离线全部执行和在线执行时可以选择启用或禁用侧面检功能
---
EdgeInspector_App/Recipe/HardwareSettings.cpp | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/EdgeInspector_App/Recipe/HardwareSettings.cpp b/EdgeInspector_App/Recipe/HardwareSettings.cpp
index d3bcaf1..f5f9d15 100644
--- a/EdgeInspector_App/Recipe/HardwareSettings.cpp
+++ b/EdgeInspector_App/Recipe/HardwareSettings.cpp
@@ -1034,6 +1034,9 @@
// ly,2025.07.10
m_bSaveResultByHour = rhs.m_bSaveResultByHour;
+ // ly,2025.08.14
+ m_bUseRipInspection = rhs.m_bUseRipInspection;
+
// ly,2025.07.07
m_bEnableAutoCopy = rhs.m_bEnableAutoCopy;
m_strCopyToolExePath = rhs.m_strCopyToolExePath;
@@ -1282,6 +1285,10 @@
else if ((void*)&m_bSaveResultByHour == pValue)
str = _T("SAVE_RESULT_BY_HOUR");
+ // ly,2025.08.14
+ else if ((void*)&m_bUseRipInspection == pValue)
+ str = _T("USE_RIP_INSPECTION");
+
// ly,2025.07.07
else if ((void*)&m_bEnableAutoCopy == pValue)
str = _T("ENABLE_AUTOCOPY");
@@ -1451,6 +1458,12 @@
if (str.IsEmpty() == TRUE)
return FALSE;
BasicInfoFile.GetItemValue((TCHAR*)(LPCTSTR)str, m_bSaveResultByHour, FALSE);
+
+ // ly,2025.08.14
+ str = GetFileString((void*)&m_bUseRipInspection);
+ if (str.IsEmpty() == TRUE)
+ return FALSE;
+ BasicInfoFile.GetItemValue((TCHAR*)(LPCTSTR)str, m_bUseRipInspection, FALSE);
// ly,2025.07.07
str = GetFileString((void*)&m_bEnableAutoCopy);
@@ -1632,6 +1645,12 @@
return FALSE;
Register.GetItemValue((TCHAR*)(LPCTSTR)str, m_bSaveResultByHour, FALSE);
+ // ly,2025.08.14
+ str = GetFileString((void*)&m_bUseRipInspection);
+ if (str.IsEmpty() == TRUE)
+ return FALSE;
+ Register.GetItemValue((TCHAR*)(LPCTSTR)str, m_bUseRipInspection, FALSE);
+
// ly,2025.07.07
str = GetFileString((void*)&m_bEnableAutoCopy);
if (str.IsEmpty() == TRUE)
@@ -1794,6 +1813,12 @@
if (str.IsEmpty() == TRUE)
return FALSE;
Register.SetItemValue((TCHAR*)(LPCTSTR)str, (int)m_bSaveResultByHour);
+
+ // ly,2025.08.14
+ str = GetFileString((void*)&m_bUseRipInspection);
+ if (str.IsEmpty() == TRUE)
+ return FALSE;
+ Register.SetItemValue((TCHAR*)(LPCTSTR)str, (int)m_bUseRipInspection);
// ly,2025.07.07
str = GetFileString((void*)&m_bEnableAutoCopy);
@@ -1983,6 +2008,13 @@
}
BasicInfoFile.SetItemValue((TCHAR*)(LPCTSTR)str, (int)m_bSaveResultByHour);
+ // ly,2025.08.14
+ str = GetFileString((void*)&m_bUseRipInspection);
+ if (str.IsEmpty() == TRUE) {
+ return FALSE;
+ }
+ BasicInfoFile.SetItemValue((TCHAR*)(LPCTSTR)str, (int)m_bUseRipInspection);
+
// ly,2025.07.07
str = GetFileString((void*)&m_bEnableAutoCopy);
if (str.IsEmpty() == TRUE) {
--
Gitblit v1.9.3