12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef ICYLINDER_H
- #define ICYLINDER_H
- #include "IIO.h"
- class ICylinder
- {
- public:
- ICylinder(){};
- virtual ~ICylinder(){};
- virtual void Init(CDigitInput *pDI1, CDigitOutput *pDO1, CDigitInput *pDI2 = nullptr, CDigitOutput *pDO2 = nullptr) = 0;
-
- virtual int CylinderMove(bool bDirection, int nCheckTime = 0) = 0;
- virtual bool IsArrive(bool bDirection) = 0;
- protected:
-
-
- CDigitOutput *m_cylinderOutput;
-
- CDigitInput *m_cylinderInput;
- };
- #endif
|