From 968ccc0dec80301f63483275981c06843f841850 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 02 九月 2025 08:42:21 +0800
Subject: [PATCH] 1.修复加工完成的料放回去,当Port变为LoadReady状态时仍被取走的问题; 2.Port下料配置,每一片的物料类型设置修复;

---
 SourceCode/Bond/Servo/PageLog.cpp |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/PageLog.cpp b/SourceCode/Bond/Servo/PageLog.cpp
index 7fe626a..c5cd4a9 100644
--- a/SourceCode/Bond/Servo/PageLog.cpp
+++ b/SourceCode/Bond/Servo/PageLog.cpp
@@ -79,8 +79,13 @@
 							else {
 								CString strTemp = strText;
 								strTemp.TrimRight();
-								bMatch = std::regex_match((LPTSTR)(LPCTSTR)strTemp,
-									std::regex((LPTSTR)(LPCTSTR)m_strFilterText));
+								try {
+									bMatch = std::regex_match((LPTSTR)(LPCTSTR)strTemp,
+										std::regex((LPTSTR)(LPCTSTR)m_strFilterText));
+								}
+								catch (const std::regex_error& e) {
+
+								}
 							}
 							if (m_filterMode == FilterMode::Exclude) {
 								bMatch = !bMatch;

--
Gitblit v1.9.3