From 654c80e5db881bf49673037051eac4414469ad17 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 21 七月 2025 14:34:15 +0800
Subject: [PATCH] 1.Cassette Ctrl cmd宏定义到ServoCommo.h中;
---
SourceCode/Bond/Servo/CLoadPort.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/Servo/CLoadPort.cpp b/SourceCode/Bond/Servo/CLoadPort.cpp
index ee5a8d1..b5d4af4 100644
--- a/SourceCode/Bond/Servo/CLoadPort.cpp
+++ b/SourceCode/Bond/Servo/CLoadPort.cpp
@@ -890,10 +890,10 @@
short scanMap = m_portStatusReport.getJobExistenceSlot();
short downMap = getCassetteMap();
if (scanMap == downMap) {
- this->sendCassetteCtrlCmd(5, nullptr, 0, 0, 0, nullptr, nullptr);
+ this->sendCassetteCtrlCmd(CCC_PROCESS_START, nullptr, 0, 0, 0, nullptr, nullptr);
}
else {
- this->sendCassetteCtrlCmd(10, nullptr, 0, 0, 0, nullptr, nullptr);
+ this->sendCassetteCtrlCmd(CCC_PROCESS_CANCEL, nullptr, 0, 0, 0, nullptr, nullptr);
// 抛出到应用层做提示
if (m_listener.onMapMismatch != nullptr) {
--
Gitblit v1.9.3