LAPTOP-SNT8I5JK\Boounion
2025-06-16 fd1333fbf52e00ff8f0b0d51ec0d707a66cc9141
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)
@@ -47,4 +57,19 @@
   {
      CEquipment::serialize(ar);
   }
   void CVacuumBake::getAttributeVector(CAttributeVector& attrubutes)
   {
      __super::getAttributeVector(attrubutes);
   }
   int CVacuumBake::recvIntent(CPin* pPin, CIntent* pIntent)
   {
      return __super::recvIntent(pPin, pIntent);
   }
   int CVacuumBake::getIndexerOperationModeBaseValue()
   {
      return 30000;
   }
}