From 4e5df2e71445ca3c0cc412e24510234e671b6072 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 19 六月 2025 16:18:33 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/CEquipment.h |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index 8108f02..8e45d80 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -176,16 +176,16 @@
 
 		// 获取玻璃物料
 		CGlass* getGlassFromSlot(int slotNo);
+		CGlass* getGlassWithCassette(int cassetteSequenceNo, int jobSequenceNo);
 		CGlass* getAnyGlass();
+		CGlass* getGlass(const char* pszGlassId);
+		CJobDataS* getJobDataSWithCassette(int cassetteSequenceNo, int jobSequenceNo);
 
 		// 验证玻璃和槽是否匹配
 		BOOL ValidateGlassSlotMatch();
 
 		// 是否有玻璃
 		BOOL hasGlass();
-
-		// 获取指定ID的glass
-		CGlass * getGlass(const char* pszGlassId);
 
 		// 指定槽位是否可以放置玻璃
 		BOOL canPlaceGlassInSlot(const short slotIndex);
@@ -223,13 +223,8 @@
 		int decodeVCREventReport(CStep* pStep, const char* pszData, size_t size);
 		int decodePanelDataReport(CStep* pStep, const char* pszData, size_t size);
 		int decodeFacDataReport(CStep* pStep, const char* pszData, size_t size);
-		int addJobDataB(CJobDataB* pJobDataB);
-		int removeJobDataB(int nCassetteSequenceNo, int nJobSequenceNo);
-		CJobDataB* getJobDataB(int nCassetteSequenceNo, int nJobSequenceNo);
-		int addJobDataS(CJobDataS* pJobDataS);
-		int removeJobDataS(int nCassetteSequenceNo, int nJobSequenceNo);
-		CJobDataS* getJobDataS(int nCassetteSequenceNo, int nJobSequenceNo);
-		BOOL compareJobDataB(CJobDataB* pJobDataB1, CJobDataB* pJobDataB2);
+		int decodePanelDataRequest(CStep* pStep, const char* pszData, size_t size);
+		BOOL compareJobData(CJobDataB* pJobDataB, CJobDataS* pJobDataS);
 		void setProcessState(PROCESS_STATE state);
 
 	protected:
@@ -266,8 +261,6 @@
 
 	private:
 		CEquipment* m_pArm;
-		std::list<CJobDataS> m_listJobDataS;
-		std::list<CJobDataB> m_listJobDataB;
 	};
 }
 

--
Gitblit v1.9.3