SourceCode/Bond/Servo/CFliper.cpp
@@ -38,6 +38,16 @@
      addPin(SERVO::PinType::OUTPUT, _T("Out"));
   }
   // 必须要实现的虚函数,在此初始化Slot信息
   void CFliper::initSlots()
   {
      m_slot[0].enable();
      m_slot[0].setPosition(m_nID);
      m_slot[0].setNo(1);
      m_slot[0].setName("Slot 1(G2)");
      m_slot[0].setType(MaterialsType::G2);
   }
   void CFliper::onTimer(UINT nTimerid)
   {
      CEquipment::onTimer(nTimerid);
@@ -47,4 +57,14 @@
   {
      CEquipment::serialize(ar);
   }
   void CFliper::getAttributeVector(CAttributeVector& attrubutes)
   {
      __super::getAttributeVector(attrubutes);
   }
   int CFliper::recvIntent(CPin* pPin, CIntent* pIntent)
   {
      return __super::recvIntent(pPin, pIntent);
   }
}