| | |
| | | return strOut; |
| | | } |
| | | |
| | | std::string CRobotTask::getSimpleDescription() const |
| | | { |
| | | std::string strOut = "CRobotTask<ID:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.sequenceNo); |
| | | strOut = strOut + ",Arm:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.armNo); |
| | | strOut = strOut + ",GetPossion:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.getPosition); |
| | | strOut = strOut + ",GetSlot:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.getSlotNo); |
| | | strOut = strOut + ",PutPossion:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.putPosition); |
| | | strOut = strOut + ",PutSlot:"; |
| | | strOut = strOut + std::to_string(m_robotCmdParam.putSlotNo); |
| | | strOut = strOut + ">"; |
| | | |
| | | return strOut; |
| | | } |
| | | |
| | | void CRobotTask::setContext(CContext* pContext) |
| | | { |
| | | if (pContext != nullptr) { |