LAPTOP-SNT8I5JK\Boounion
2025-05-28 ce7f9f6df6e34cee1cbb9e776a814bc7548e8bd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include "ServoCommo.h"
 
 
namespace SERVO {
    class CRobotTask
    {
    public:
        CRobotTask();
        virtual ~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;            /* ²ÎÊý */
    };
}