| ¶Ô±ÈÐÂÎļþ |
| | |
| | | #include "stdafx.h" |
| | | #include "CAligner.h" |
| | | |
| | | namespace SERVO { |
| | | CAligner::CAligner() : CEquipment() |
| | | { |
| | | |
| | | } |
| | | |
| | | CAligner::~CAligner() |
| | | { |
| | | |
| | | } |
| | | |
| | | const char* CAligner::getClassName() |
| | | { |
| | | static char* pszName = "CAligner"; |
| | | return pszName; |
| | | } |
| | | |
| | | void CAligner::init() |
| | | { |
| | | CEquipment::init(); |
| | | } |
| | | |
| | | void CAligner::term() |
| | | { |
| | | CEquipment::term(); |
| | | } |
| | | |
| | | // å¿
é¡»è¦å®ç°çè彿°ï¼å¨æ¤åå§åPinå表 |
| | | void CAligner::initPins() |
| | | { |
| | | // å å
¥Pinåå§å代ç |
| | | LOGI("<CAligner>initPins"); |
| | | addPin(SERVO::PinType::INPUT, _T("In1")); |
| | | addPin(SERVO::PinType::INPUT, _T("In2")); |
| | | addPin(SERVO::PinType::OUTPUT, _T("Out1")); |
| | | addPin(SERVO::PinType::OUTPUT, _T("Out2")); |
| | | } |
| | | |
| | | void CAligner::onTimer(UINT nTimerid) |
| | | { |
| | | CEquipment::onTimer(nTimerid); |
| | | } |
| | | |
| | | void CAligner::serialize(CArchive& ar) |
| | | { |
| | | CEquipment::serialize(ar); |
| | | } |
| | | |
| | | void CAligner::getAttributeVector(CAttributeVector& attrubutes) |
| | | { |
| | | __super::getAttributeVector(attrubutes); |
| | | } |
| | | |
| | | int CAligner::recvIntent(CPin* pPin, CIntent* pIntent) |
| | | { |
| | | return __super::recvIntent(pPin, pIntent); |
| | | } |
| | | } |