19 lines
451 B
C++
19 lines
451 B
C++
#ifndef PROTOCOLWAVEMAN_H
|
|
#define PROTOCOLWAVEMAN_H
|
|
|
|
#include "ProtocolNexa.h"
|
|
|
|
class ProtocolWaveman : public ProtocolNexa {
|
|
public:
|
|
int methods() const;
|
|
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
|
|
static std::string decodeData(ControllerMessage& dataMsg);
|
|
|
|
protected:
|
|
virtual std::string getOffCode() const;
|
|
|
|
private:
|
|
static int lastArctecCodeSwitchWasTurnOff;
|
|
};
|
|
|
|
#endif //PROTOCOLWAVEMAN_H
|