mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +03:00
51 lines
1.1 KiB
C++
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";};
|
|
};
|
|
|