From 5fe38f3aa84459690a59667bff205f3f350c086c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 28 四月 2025 18:03:39 +0800
Subject: [PATCH] 1.把LoadPort相关的step移到CLoadPort下,交它们当前efem的子设备来处理,逻辑上比较顺。
---
SourceCode/Bond/Servo/CEFEM.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CEFEM.h b/SourceCode/Bond/Servo/CEFEM.h
index df6ab8d..034c571 100644
--- a/SourceCode/Bond/Servo/CEFEM.h
+++ b/SourceCode/Bond/Servo/CEFEM.h
@@ -1,5 +1,6 @@
#pragma once
#include "CEquipment.h"
+#include "CLoadPort.h"
namespace SERVO {
@@ -21,6 +22,14 @@
virtual void getAttributeVector(CAttributeVector& attrubutes);
virtual int recvIntent(CPin* pPin, CIntent* pIntent);
virtual BOOL glassWillArrive(CGlass* pGlass);
+ virtual void onReceiveLBData(const char* pszData, size_t size);
+
+ public:
+ void setPort(unsigned int index, CLoadPort* pPort);
+
+
+ private:
+ CLoadPort* m_pPort[4];
};
}
--
Gitblit v1.9.3