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

diff --git a/SourceCode/Bond/Servo/CLoadPort.h b/SourceCode/Bond/Servo/CLoadPort.h
index 69aff38..df5e7bf 100644
--- a/SourceCode/Bond/Servo/CLoadPort.h
+++ b/SourceCode/Bond/Servo/CLoadPort.h
@@ -22,6 +22,21 @@
 		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,
@@ -30,6 +45,14 @@
 			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