ESP32_ChinaDieselHeater_Con.../Arduino/SenderTrial2/SmartError.h
2018-10-29 06:01:26 +11:00

14 lines
No EOL
289 B
C++

#include "Protocol.h"
class CSmartError {
unsigned char m_prevRunState;
unsigned char m_Error;
bool m_bInhibit;
public:
CSmartError();
void reset();
void inhibit();
void monitor(CProtocol& heaterFrame);
void monitor(unsigned char runstate);
unsigned char getError();
};