LAPTOP-SNT8I5JK\Boounion
2025-05-27 e42e8364112e97d89eeaecd13f043dff42179949
SourceCode/Bond/Servo/CMeasurement.cpp
@@ -33,6 +33,9 @@
   {
      // 加入Pin初始化代码
      LOGI("<CMeasurement>initPins");
      addPin(SERVO::PinType::INPUT, _T("In"));
      addPin(SERVO::PinType::OUTPUT, _T("Out1"));
      addPin(SERVO::PinType::OUTPUT, _T("Out2"));
   }
   void CMeasurement::onTimer(UINT nTimerid)
@@ -44,4 +47,29 @@
   {
      CEquipment::serialize(ar);
   }
   void CMeasurement::getAttributeVector(CAttributeVector& attrubutes)
   {
      __super::getAttributeVector(attrubutes);
   }
   int CMeasurement::recvIntent(CPin* pPin, CIntent* pIntent)
   {
      return __super::recvIntent(pPin, pIntent);
   }
   BOOL CMeasurement::glassWillArrive(CGlass* pGlass)
   {
      BOOL bRet = __super::glassWillArrive(pGlass);
      if (!bRet) {
         return FALSE;
      }
      return m_glassList.empty();
   }
   int CMeasurement::getIndexerOperationModeBaseValue()
   {
      return 35000;
   }
}