From 0ac6ae25833b16d25e5380176f66d35aa947f85c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 05 六月 2025 17:17:05 +0800
Subject: [PATCH] 1.EFEM更新信号到LoadPort, Robot, Aligner, Fliper 2.搬送条件,增加Upstream Inline、Upstream Trouble、Interlock、Send Able信号的检测。

---
 SourceCode/Bond/Servo/CEquipment.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index 7b2b24e..cb1a615 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -38,10 +38,11 @@
 
 
 namespace SERVO {
-#define SLOT_MAX				12
+#define SLOT_MAX				PATH_MAX
 #define SIGNAL_UPSTREAM_INLINE	0
 #define SIGNAL_UPSTREAM_TROUBLE	1
-#define SIGNAL_SEND_ABLE		2
+#define SIGNAL_INTERLOCK		2
+#define SIGNAL_SEND_ABLE		3
 
 	typedef std::function<void(void* pEiuipment, BOOL bAlive)> ONALIVE;
 	typedef std::function<void(void* pEiuipment, int code)> ONDATACHANGED;
@@ -194,6 +195,7 @@
 
 		// 只在模拟测试时使用的函数,用于模拟信号
 		void setLinkSignal(unsigned int path, unsigned int signal, BOOL bOn);
+		void setLinkSignalBlock(unsigned int path, BOOL* pSignal);
 
 	protected:
 		inline void Lock() { EnterCriticalSection(&m_criticalSection); }

--
Gitblit v1.9.3