From d1aa8faa0632de2dafb7d081a3a93a3c2d4f8962 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 24 六月 2025 17:36:22 +0800
Subject: [PATCH] 1.与EFEM对接调试Port Command(Type Change、Mode Change、Transfer Mode Change、Enable Mode Change、Type Auto Change、Cassette Type Change)并修改完善代码。 2.增加Recive Able信号的获取,并以此作为能否放料的逻辑判断依据。 3.配方获取完善,待测。

---
 SourceCode/Bond/Servo/CRecipeList.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CRecipeList.cpp b/SourceCode/Bond/Servo/CRecipeList.cpp
index 4d8e7d0..62306a3 100644
--- a/SourceCode/Bond/Servo/CRecipeList.cpp
+++ b/SourceCode/Bond/Servo/CRecipeList.cpp
@@ -33,6 +33,9 @@
 			reset();
 			return MRLRC_GROUP_COUNT_NG;
 		}
+		if (currentGroup == 0) {
+			reset();
+		}
 		if (m_nCurrentGroupCount + 1 > currentGroup) {
 			return MRLRC_DUPLICATION_GROUP_COUNT_NG;
 		}

--
Gitblit v1.9.3