18 lines
440 B
C++
18 lines
440 B
C++
#ifndef PROTOCOLRISINGSUN_H
|
|
#define PROTOCOLRISINGSUN_H
|
|
|
|
#include "Protocol.h"
|
|
|
|
class ProtocolRisingSun : public Protocol
|
|
{
|
|
public:
|
|
int methods() const;
|
|
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
|
|
|
|
protected:
|
|
std::string getStringSelflearning(int method);
|
|
std::string getStringCodeSwitch(int method);
|
|
static std::string getCodeSwitchTuple(int code);
|
|
};
|
|
|
|
#endif //PROTOCOLRISINGSUN_H
|