SourceCode/Bond/Servo/CEquipment.cpp
@@ -27,7 +27,7 @@
   CEquipment::CEquipment() : m_nID(0), m_strName(""), m_strDescription(""), m_station(0, 255)
   {
      m_listener = { nullptr, nullptr, nullptr, nullptr, nullptr };
      m_listener = { nullptr, nullptr, nullptr, nullptr, nullptr, nullptr };
      m_alive = { FALSE, 0, FALSE };
      m_bCimState = FALSE;
      m_bUpstreamInline = FALSE;
@@ -76,6 +76,7 @@
      m_listener.onAlarm = listener.onAlarm;
      m_listener.onDataChanged = listener.onDataChanged;
      m_listener.onVcrEventReport = listener.onVcrEventReport;
      m_listener.onPreFethedOutJob = listener.onPreFethedOutJob;
   }
   void CEquipment::setCcLink(CCCLinkIEControl* pCcLink)
@@ -754,7 +755,7 @@
      Unlock();
      if (m_listener.onDataChanged != nullptr) {
         m_listener.onDataChanged(this, 0);
         m_listener.onDataChanged(this, EDCC_FETCHOUT_JOB);
      }
      return 0;
@@ -794,7 +795,7 @@
      if (m_listener.onDataChanged != nullptr) {
         m_listener.onDataChanged(this, 0);
         m_listener.onDataChanged(this, EDCC_STORED_JOB);
      }
      */
      return 0;
@@ -1233,10 +1234,14 @@
      return index;
   }
   int CEquipment::onPreFetchedOutJob(int port, CJobDataB* pJobDataB)
   BOOL CEquipment::onPreFetchedOutJob(int port, CJobDataB* pJobDataB)
   {
      LOGI("<CEquipment-%s>onPreFetchedOutJob:port:%d|GlassId:%s",
         m_strName.c_str(), port, pJobDataB->getGlassId().c_str());
      if (m_listener.onPreFethedOutJob != nullptr) {
         return m_listener.onPreFethedOutJob(this, pJobDataB);
      }
      return TRUE;
   }