// // Created by h44z on 07.05.19. // #ifndef GCLOGGER_GMCDEVICE_H #define GCLOGGER_GMCDEVICE_H #include "SerialPort.h" class GmcDevice { SerialPort *device; public: GmcDevice(const string &serialPort, int baud); ~GmcDevice(); bool close(); bool isConnected(); int getCPM(); float getTemperature(); string getVersion(); bool setHeartbeatOff(); }; #endif //GCLOGGER_GMCDEVICE_H