Add setValue files

This commit is contained in:
Justin Hammond 2019-11-06 17:20:08 +08:00
parent ed26e74448
commit 9260ae5a57
2 changed files with 191 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#ifndef SETVALUE_H
#define SETVALUE_H
#include "mqttcommands/mqttcommands.h"
class MqttCommand_SetValue : public MqttCommand {
Q_OBJECT
public:
static MqttCommand *Create(QObject *parent = nullptr);
static QString StaticGetCommand() { return "SetValue";};
QString GetCommand() override { return StaticGetCommand(); };
bool processMessage(QJsonDocument) override;
private:
MqttCommand_SetValue(QObject *parent = nullptr);
};
#endif // SETVALUE_H