#pragma once #include "ServoCommo.h" namespace SERVO { class CRobotTask { public: CRobotTask(); ~CRobotTask(); public: std::string& getId(); void setRobotTransferParam(int seq, int armNo, int fromPos, int toPos, int fromSlot, int toSlot); ROBOT_CMD_PARAM& getRobotCmdParam(); time_t getCreateTime(); time_t getFinishTime(); private: static std::string& generateId(std::string& out); public: std::string m_strId; time_t m_timeCreate; /* ´´½¨Ê±¼ä */ time_t m_timeFinish; /* ½áÊøÊ±¼ä */ ROBOT_CMD_PARAM m_robotCmdParam; /* ²ÎÊý */ }; }