From c0d56e6ac7ec15e232fb38c457eefc89cf80e9da Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期三, 21 五月 2025 16:02:09 +0800 Subject: [PATCH] 1.Port Command功能实现; --- SourceCode/Bond/Servo/CLoadPort.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CLoadPort.h b/SourceCode/Bond/Servo/CLoadPort.h index ae63fe7..17d8eef 100644 --- a/SourceCode/Bond/Servo/CLoadPort.h +++ b/SourceCode/Bond/Servo/CLoadPort.h @@ -22,7 +22,6 @@ 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); @@ -33,6 +32,7 @@ int getCessetteType(); int getTransferMode(); BOOL isAutoChange(); + int testGenerateGlassList(MaterialsType type, int count, const char* pszPrefix, int startSuffix); public: static std::string& getPortTypeDescription(int portType, std::string& strDescription); @@ -52,6 +52,9 @@ CStep* getCassetteCtrlCmdStep(); private: + int decodePortStatusReport(CStep* pStep, const char* pszData, size_t size); + + private: unsigned int m_nIndex; int m_nType; int m_nMode; @@ -59,6 +62,7 @@ int m_nTransferMode; BOOL m_bEnable; BOOL m_bAutoChangeEnable; + CPortStatusReport m_portStatusReport; }; } -- Gitblit v1.9.3