HU YANG
/
AnalogOut-HelloWorld
aa
Fork of AnalogOut-HelloWorld by
Diff: mdeviceCtrl.h
- Revision:
- 5:e6536d2d5aba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mdeviceCtrl.h Mon Oct 10 20:40:05 2016 +0000 @@ -0,0 +1,20 @@ +#ifndef DEVICECTRL_H +#define DEVICECTRL_H +#include <iostream> +#include "mdevice.h" +using namespace std; + +class mdeviceCtrl +{ +public: + mdeviceCtrl(); + void run(); +private: + bool switchNeedle1(); + bool retractNeedle(); + bool inserNeedle(); + mdevice *myDevice; + int needleStatus; +}; + +#endif \ No newline at end of file