From 4a9f803ce6896554706b97fe36e0002d18e1f346 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 16 七月 2025 09:35:41 +0800
Subject: [PATCH] 1. [TaskControl] 添加设备启用状态判断(IsEnabled) 2. 在多个工艺任务(如 bake_to_cooling、bond_to_bake 等)中增加 psrEq->IsEnabled() 判断

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

diff --git a/SourceCode/Bond/Servo/CStep.h b/SourceCode/Bond/Servo/CStep.h
index d82e99a..6e40acf 100644
--- a/SourceCode/Bond/Servo/CStep.h
+++ b/SourceCode/Bond/Servo/CStep.h
@@ -24,11 +24,14 @@
 		int getID();
 		void setName(const char* pszName);
 		std::string& getName();
+		CAttributeVector& attributeVector();
 		virtual void getAttributeVector(CAttributeVector& attrubutes);
 		virtual void init();
 		virtual void term();
 		void setProp(const char* pszKey, void* pValue);
 		void* getProp(const char* pszKey);
+		void addAttribute(CAttribute* pAttribute);
+		void addAttributeVector(CAttributeVector& attributeVector);
 
 	protected:
 		inline void Lock() { EnterCriticalSection(&m_criticalSection); }
@@ -43,6 +46,7 @@
 		CCCLinkIEControl* m_pCclink;
 		CRITICAL_SECTION m_criticalSection;
 		std::map<std::string, void*> m_mapProp;
+		CAttributeVector m_attributeVector;
 	};
 }
 

--
Gitblit v1.9.3