refactored MQTT

This commit is contained in:
CaCO3
2022-10-27 01:09:09 +02:00
parent 06ab14a6c9
commit 30549ac5af
6 changed files with 130 additions and 133 deletions

View File

@@ -14,10 +14,9 @@ protected:
ClassFlowPostProcessing* flowpostprocessing;
std::string user, password;
int SetRetainFlag;
bool MQTTenable;
int keepAlive;
std::string maintopic, lwt;
std::string maintopic;
void SetInitialParameter(void);
public:
@@ -28,6 +27,7 @@ public:
string GetMQTTMainTopic();
bool ReadParameter(FILE* pfile, string& aktparamgraph);
void publishRuntimeData();
bool doFlow(string time);
string name(){return "ClassFlowMQTT";};
};