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/CJobDataS.h |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CJobDataS.h b/SourceCode/Bond/Servo/CJobDataS.h
index 3894db2..ad3e2a9 100644
--- a/SourceCode/Bond/Servo/CJobDataS.h
+++ b/SourceCode/Bond/Servo/CJobDataS.h
@@ -1,15 +1,23 @@
 #pragma once
 #include "CAttributeVector.h"
+#include "CJobDataB.h"
 
 
+#define JOBDATAS_SIZE		(256 * 2)
 namespace SERVO {
 	class CJobDataS
 	{
 	public:
 		CJobDataS();
-		~CJobDataS();
+		CJobDataS::CJobDataS(CJobDataS&& other) noexcept;
+		virtual ~CJobDataS();
 
 	public:
+		void* getOwner();
+		void setOwner(void* pOwner);
+		void copy(CJobDataS* pScr);
+		void update(CJobDataS* pScr);
+		CJobDataB& getJobDataB(CJobDataB& jobDataB);
 		int getCassetteSequenceNo();
 		void setCassetteSequenceNo(int no);
 		int getJobSequenceNo();
@@ -74,6 +82,7 @@
 
 
 	private:
+		void* m_pOwner;
 		int m_nCassetteSequenceNo;
 		int m_nJobSequenceNo;
 		std::string m_strLotId;

--
Gitblit v1.9.3