LAPTOP-SNT8I5JK\Boounion
2025-06-12 92c468d386d33f5e74916a7afd290e50ce0d5d6f
SourceCode/Bond/Servo/CVacuumBake.cpp
@@ -33,9 +33,19 @@
   {
      // 加入Pin初始化代码
      LOGI("<CVacuumBake>initPins");
      addPin(SERVO::PinType::INPUT, _T("In1"));
      addPin(SERVO::PinType::INPUT, _T("In2"));
      addPin(SERVO::PinType::OUTPUT, _T("Out"));
      addPin(SERVO::PinType::INPUT, _T("In"));
      addPin(SERVO::PinType::OUTPUT, _T("Out1"));
      addPin(SERVO::PinType::OUTPUT, _T("Out2"));
   }
   // 必须要实现的虚函数,在此初始化Slot信息
   void CVacuumBake::initSlots()
   {
      m_slot[0].enable();
      m_slot[0].setPosition(m_nID);
      m_slot[0].setNo(1);
      m_slot[0].setName("Slot 1(G1)");
      m_slot[0].setType(MaterialsType::G1);
   }
   void CVacuumBake::onTimer(UINT nTimerid)
@@ -58,13 +68,8 @@
      return __super::recvIntent(pPin, pIntent);
   }
   BOOL CVacuumBake::glassWillArrive(CGlass* pGlass)
   int CVacuumBake::getIndexerOperationModeBaseValue()
   {
      BOOL bRet = __super::glassWillArrive(pGlass);
      if (!bRet) {
         return FALSE;
      }
      return m_glassList.empty();
      return 30000;
   }
}