LAPTOP-SNT8I5JK\Boounion
2025-06-12 92c468d386d33f5e74916a7afd290e50ce0d5d6f
SourceCode/Bond/Servo/CRobotTask.h
@@ -1,6 +1,7 @@
#pragma once
#include "ServoCommo.h"
#include "Context.h"
#include "CEFEM.h"
namespace SERVO {
@@ -13,8 +14,10 @@
   public:
      std::string& getId();
      std::string getDescription() const;
      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();
@@ -22,6 +25,7 @@
      time_t getStoredTime();
      time_t getFinishTime();
      ROBOT_TASK_STATE getState();
      void run();
      void completed();
      void error();
      void abort();
@@ -29,6 +33,7 @@
      int getSrcSlot();
      int getTarPosition();
      int getTarSlot();
      CString getStateString();
      // 从源地拔片
      void fetchOut();
@@ -48,5 +53,6 @@
      time_t m_timeFinish;                  /* 结束时间 */
      ROBOT_CMD_PARAM m_robotCmdParam;         /* 参数 */
      CContext* m_pContext;
      CEFEM* m_pEFEM;
   };
}