From 77c5de231f003ce1e86caa4bd825de4a554e4a0b Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 21 六月 2025 09:18:23 +0800
Subject: [PATCH] 1. 添加搬运记录的时间戳为0插入空字符串

---
 SourceCode/Bond/Servo/CEFEM.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEFEM.h b/SourceCode/Bond/Servo/CEFEM.h
index 3e10d3f..4e0d202 100644
--- a/SourceCode/Bond/Servo/CEFEM.h
+++ b/SourceCode/Bond/Servo/CEFEM.h
@@ -4,6 +4,7 @@
 #include "CAligner.h"
 #include "CFliper.h"
 #include "CArmTray.h"
+#include "Context.h"
 
 
 namespace SERVO {
@@ -25,7 +26,6 @@
         virtual void serialize(CArchive& ar);
         virtual void getAttributeVector(CAttributeVector& attrubutes);
         virtual int recvIntent(CPin* pPin, CIntent* pIntent);
-        virtual BOOL glassWillArrive(CGlass* pGlass);
         virtual void onReceiveLBData(const char* pszData, size_t size);
         virtual int onReceivedJob(int port, CJobDataS* pJobDataS);
         virtual int onSentOutJob(int port, CJobDataS* pJobDataS);
@@ -34,12 +34,14 @@
         virtual int getIndexerOperationModeBaseValue();
 
     public:
+        void setContext(CContext* pContext);
         void setPort(unsigned int index, CLoadPort* pPort);
         void setAligner(CAligner* pAligner);
         void setFliper(CFliper* pFliper);
         void setArmTray(unsigned int index, CArmTray* pArmTray);
         int robotCmd(ROBOT_CMD_PARAM& robotCmdParam, ONWRITED onWritedBlock = nullptr);
         int robotCmds(ROBOT_CMD_PARAM* robotCmdParam, unsigned int count, ONWRITED onWritedBlock = nullptr);
+        RMDATA& getRobotMonitoringData();
 
         // 快捷封装
         int robotSendHome(int seq, ONWRITED onWritedBlock = nullptr);
@@ -63,6 +65,8 @@
         CAligner* m_pAligner;
         CFliper* m_pFliper;
         CArmTray* m_pArmTray[2];
+        RMDATA m_robotData;
+        CContext* m_pActiveContext;
     };
 }
 

--
Gitblit v1.9.3