From d1aa8faa0632de2dafb7d081a3a93a3c2d4f8962 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 24 六月 2025 17:36:22 +0800
Subject: [PATCH] 1.与EFEM对接调试Port Command(Type Change、Mode Change、Transfer Mode Change、Enable Mode Change、Type Auto Change、Cassette Type Change)并修改完善代码。 2.增加Recive Able信号的获取,并以此作为能否放料的逻辑判断依据。 3.配方获取完善,待测。

---
 SourceCode/Bond/Servo/CWriteStep.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CWriteStep.h b/SourceCode/Bond/Servo/CWriteStep.h
index 6bb6b30..e8e66cf 100644
--- a/SourceCode/Bond/Servo/CWriteStep.h
+++ b/SourceCode/Bond/Servo/CWriteStep.h
@@ -19,8 +19,14 @@
 		virtual void getAttributeVector(CAttributeVector& attrubutes);
 		virtual int onComplete();
 		virtual int onTimeout();
+		virtual int onReadRetDataError();
 		inline void nextStep();
 		inline void resetStep();
+		virtual void setRetDataDev(int dev, int size);
+
+	public:
+		int getReturnData(const char*& pszData);
+
 
 	protected:
 		HANDLE m_hWorkThreadHandle;
@@ -33,6 +39,12 @@
 		char m_szBuffer[1024];
 		int m_nWriteDataSize;
 		int m_nWriteDevNo;
+
+	protected:
+		// return code or data
+		char m_szReturnBuf[1024];
+		int m_nReturnDataSize;
+		int m_nReturnDevNo;
 	};
 }
 

--
Gitblit v1.9.3