LAPTOP-SNT8I5JK\Boounion
2025-07-15 669b642758788c1ed187e7a1b862475747964c85
SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -296,8 +296,7 @@
      strVariable.Delete(strVariable.GetLength() - 1);
      auto vids = parseVidList(strVariable);
      SERVO::CReport* pReport = new SERVO::CReport(atoi((LPTSTR)(LPCTSTR)strId));
      SERVO::CReport* pReport = new SERVO::CReport(atoi((LPTSTR)(LPCTSTR)strId), vids);
      for (auto vid : vids) {
         SERVO::CVariable* pVariable = getVariable(vid);
         if (pVariable != nullptr) {
@@ -333,13 +332,13 @@
   m_reports.clear();
}
std::vector<int> CHsmsPassive::parseVidList(CString& strNums)
std::vector<unsigned int> CHsmsPassive::parseVidList(CString& strNums)
{
   // 1. 先去掉可能出现的空白符(空格、制表符等)
   strNums.Trim();
   // 2️.
   std::vector<int> result;
   std::vector<unsigned int> result;
   int i = 0;
   CString strVid;
   while (1) {
@@ -487,6 +486,7 @@
   }
   clearAllVariabel();
   clearAllReport();
   return 0;
}