From fc881732b096f1c5a6dfcb9751c89f0ffca90768 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期一, 28 四月 2025 14:49:20 +0800 Subject: [PATCH] 1.LoadPort增加 mode, type, cassette type, transfer mode等属性值,并增加对应属性页; --- SourceCode/Bond/Servo/CLoadPort.h | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CLoadPort.h b/SourceCode/Bond/Servo/CLoadPort.h index a6b2831..df5e7bf 100644 --- a/SourceCode/Bond/Servo/CLoadPort.h +++ b/SourceCode/Bond/Servo/CLoadPort.h @@ -22,14 +22,37 @@ virtual BOOL glassWillArrive(CGlass* pGlass); public: + 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); int sendCassetteCtrlCmd(short cmd, short* jobExistence, int jobExistenceSize, short slotProcess, short jopCount, - CJobDataB* pJobDataB); + CJobDataA* pJobDataA); CStep* getCassetteCtrlCmdStep(); + + private: + int m_nType; + int m_nMode; + int m_nCassetteType; + int m_nTransferMode; + BOOL m_bEnable; + BOOL m_bAutoChangeEnable; }; } -- Gitblit v1.9.3