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 |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CLoadPort.h b/SourceCode/Bond/Servo/CLoadPort.h
index 355bd1d..df5e7bf 100644
--- a/SourceCode/Bond/Servo/CLoadPort.h
+++ b/SourceCode/Bond/Servo/CLoadPort.h
@@ -19,9 +19,40 @@
 		virtual void serialize(CArchive& ar);
 		virtual void getAttributeVector(CAttributeVector& attrubutes);
 		virtual int recvIntent(CPin* pPin, CIntent* pIntent);
+		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,
+			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