chenluhua1980
2025-12-11 19f547966576f3604cc18431bd2f6e2dc0bdaead
SourceCode/Bond/Servo/CLoadPort.cpp
@@ -353,7 +353,7 @@
      // 从配置读出的enable,初始化时写给efem
      static int i_enable[4] = { 0 };
      if ((++i_enable[m_nIndex]) == 10 + m_nIndex) {
      if ((++i_enable[m_nIndex]) == 20 + m_nIndex) {
         eablePort(m_bEnable, [&](int code) -> int {
            LOGI("<LoadPort-%d>eablePort:code=%d", m_nIndex, code);
            return 0;
@@ -505,6 +505,9 @@
   void CLoadPort::setIndex(unsigned int index)
   {
      m_nIndex = index;
      std::string id = "Port" + std::to_string(index + 1);
      m_portStatusReport.setCassetteId(id.c_str());
   }
   unsigned int CLoadPort::getIndex()