ESP32_ChinaDieselHeater_Con.../Arduino/BTCDieselHeater/SmartError.h

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();
};