mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
refactored MQTT
This commit is contained in:
@@ -131,7 +131,6 @@ string ClassFlowControll::GetMQTTMainTopic()
|
||||
if (FlowControll[i]->name().compare("ClassFlowMQTT") == 0)
|
||||
return ((ClassFlowMQTT*) (FlowControll[i]))->GetMQTTMainTopic();
|
||||
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -148,7 +147,6 @@ void ClassFlowControll::SetInitialParameter(void)
|
||||
disabled = false;
|
||||
aktRunNr = 0;
|
||||
aktstatus = "Booting ...";
|
||||
|
||||
}
|
||||
|
||||
bool ClassFlowControll::isAutoStart(long &_intervall)
|
||||
@@ -157,6 +155,11 @@ bool ClassFlowControll::isAutoStart(long &_intervall)
|
||||
return AutoStart;
|
||||
}
|
||||
|
||||
int ClassFlowControll::getAutoInterval()
|
||||
{
|
||||
return AutoIntervall * 60; // AutoIntervall: Minuten -> seconds
|
||||
}
|
||||
|
||||
ClassFlow* ClassFlowControll::CreateClassFlow(std::string _type)
|
||||
{
|
||||
ClassFlow* cfc = NULL;
|
||||
|
||||
Reference in New Issue
Block a user