mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-07-23 13:38:26 +00:00
Add setValue files
This commit is contained in:
parent
ed26e74448
commit
9260ae5a57
2 changed files with 191 additions and 0 deletions
17
qt-ozwdaemon/mqttcommands/setValue.h
Normal file
17
qt-ozwdaemon/mqttcommands/setValue.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue