Files
AI-on-the-edge-device/code/components/jomjol_flowcontroll/ClassFlowControll.h
2020-11-30 12:35:55 +01:00

51 lines
1.1 KiB
C++

#pragma once
#include <string>
#include "ClassFlow.h"
#include "ClassFlowMakeImage.h"
#include "ClassFlowAlignment.h"
#include "ClassFlowDigit.h"
#include "ClassFlowAnalog.h"
#include "ClassFlowPostProcessing.h"
#include "ClassFlowMQTT.h"
class ClassFlowControll :
public ClassFlow
{
protected:
std::vector<ClassFlow*> FlowControll;
ClassFlowPostProcessing* flowpostprocessing;
ClassFlow* CreateClassFlow(std::string _type);
bool AutoStart;
float AutoIntervall;
void SetInitialParameter(void);
std::string aktstatus;
int TimeUpdateIntervall;
public:
void InitFlow(std::string config);
bool doFlow(string time);
string getReadout(bool _rawvalue, bool _noerror);
string UpdatePrevalue(std::string _newvalue);
string GetPrevalue();
bool ReadParameter(FILE* pfile, string& aktparamgraph);
std::string doSingleStep(std::string _stepname, std::string _host);
bool isAutoStart(long &_intervall);
std::string getActStatus();
std::vector<HTMLInfo*> GetAllDigital();
std::vector<HTMLInfo*> GetAllAnalog();
int CleanTempFolder();
string name(){return "ClassFlowControll";};
};