Browse Source

返回容器;

sat23 4 years ago
parent
commit
80fb2cde98
1 changed files with 2 additions and 0 deletions
  1. 2 0
      TCLCommand/TCLCommand/Command.h

+ 2 - 0
TCLCommand/TCLCommand/Command.h

@@ -29,4 +29,6 @@ public:
     bool SendCommand(CommandParam& cmdPara);
     bool SendCommand(std::string name, CommandParam& cmdPara, LPVOID data = NULL, int dataLen = 0);
     void PackingCommand(CommandParam& cmdPara, LPVOID data = NULL, const int& dataLen = 0);
+    const std::vector<CommandParam>& GetInternalCMDParams() const {return m_vtInternalCMDParams;}
+    const std::vector<CommandParam>& GetExternalCMDParams() const {return m_vtExternalCMDParams;}
 };