From 3426d4e0ee09c61ce379cfd1fe9a6e82de346d90 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 29 四月 2025 10:58:51 +0800 Subject: [PATCH] 1.增加CEqCurrentRecipeChangeStep --- SourceCode/Bond/Servo/CLoadPort.h | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CLoadPort.h b/SourceCode/Bond/Servo/CLoadPort.h index 69aff38..6e0e288 100644 --- a/SourceCode/Bond/Servo/CLoadPort.h +++ b/SourceCode/Bond/Servo/CLoadPort.h @@ -20,6 +20,25 @@ 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); + virtual int onStepEvent(CStep* pStep, int code); + + public: + void setIndex(unsigned int index); + unsigned int getIndex(); + BOOL isEnable(); + int getPortType(); + int getPortMode(); + int getCessetteType(); + int getTransferMode(); + BOOL isAutoChange(); + + public: + static std::string& getPortTypeDescription(int portType, std::string& strDescription); + static std::string& getPortModeDescription(int portMode, std::string& strDescription); + static std::string& getPortCassetteTypeDescription(int casseteType, std::string& strDescription); + static std::string& getPortTransferModeDescription(int mode, std::string& strDescription); + static std::string& getEnableModeDescription(int mode, std::string& strDescription); public: virtual int outputGlass(int port); @@ -30,6 +49,15 @@ short jopCount, CJobDataA* pJobDataA); CStep* getCassetteCtrlCmdStep(); + + private: + unsigned int m_nIndex; + int m_nType; + int m_nMode; + int m_nCassetteType; + int m_nTransferMode; + BOOL m_bEnable; + BOOL m_bAutoChangeEnable; }; } -- Gitblit v1.9.3