From 96579a48b3b558f5ce58cffe372b1f563a9e62ce Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 03 九月 2025 17:23:56 +0800
Subject: [PATCH] 1.配方列表和配方参数获取合并在线程中获取,并更新状态到对话框; 2.配方参数获取; 3.Bonder, AOI, 真空烘烤, 冷却烧烤配方参数解释。

---
 SourceCode/Bond/Servo/CCollectionEvent.cpp |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CCollectionEvent.cpp b/SourceCode/Bond/Servo/CCollectionEvent.cpp
index a0b7773..ce5d1a2 100644
--- a/SourceCode/Bond/Servo/CCollectionEvent.cpp
+++ b/SourceCode/Bond/Servo/CCollectionEvent.cpp
@@ -59,7 +59,7 @@
 		}
 	}
 
-	unsigned int CCollectionEvent::getPortID()
+	unsigned int CCollectionEvent::getFirstPortID()
 	{
 		if (m_reports.empty()) return -1;
 		return m_reports.front()->getReportId();
@@ -90,6 +90,12 @@
 		return nullptr;
 	}
 
+	CReport* CCollectionEvent::getFirstReport()
+	{
+		if (m_reports.empty()) return nullptr;
+		return m_reports.front();
+	}
+
 	std::vector<CReport*>& CCollectionEvent::getReports()
 	{
 		return m_reports;

--
Gitblit v1.9.3