From fac102938562e13dd4e4e4914d0fde9b1cd05d8b Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 09 六月 2025 09:47:37 +0800
Subject: [PATCH] 1.CMaster调度线程中添加任务运行发送到EFEM;

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

diff --git a/SourceCode/Bond/Servo/CRobotTask.h b/SourceCode/Bond/Servo/CRobotTask.h
index 2cd8654..63edbeb 100644
--- a/SourceCode/Bond/Servo/CRobotTask.h
+++ b/SourceCode/Bond/Servo/CRobotTask.h
@@ -1,6 +1,7 @@
 #pragma once
 #include "ServoCommo.h"
 #include "Context.h"
+#include "CEFEM.h"
 
 
 namespace SERVO {
@@ -16,6 +17,7 @@
 		std::string getSimpleDescription() const;
 		void setContext(CContext* pContext);
 		CContext* getContext();
+		void setEFEM(CEFEM* pEFEM);
 		void setRobotTransferParam(int seq, int armNo, int fromPos, int toPos, int fromSlot, int toSlot);
 		ROBOT_CMD_PARAM& getRobotCmdParam();
 		time_t getCreateTime();
@@ -23,6 +25,7 @@
 		time_t getStoredTime();
 		time_t getFinishTime();
 		ROBOT_TASK_STATE getState();
+		void run();
 		void completed();
 		void error();
 		void abort();
@@ -50,5 +53,6 @@
 		time_t m_timeFinish;						/* 结束时间 */
 		ROBOT_CMD_PARAM m_robotCmdParam;			/* 参数 */
 		CContext* m_pContext;
+		CEFEM* m_pEFEM;
 	};
 }

--
Gitblit v1.9.3