ClassFlowControll.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #pragma once
  2. #include <string>
  3. #include "ClassFlow.h"
  4. #include "ClassFlowMakeImage.h"
  5. #include "ClassFlowAlignment.h"
  6. #include "ClassFlowDigit.h"
  7. #include "ClassFlowAnalog.h"
  8. #include "ClassFlowPostProcessing.h"
  9. #include "ClassFlowMQTT.h"
  10. class ClassFlowControll :
  11. public ClassFlow
  12. {
  13. protected:
  14. std::vector<ClassFlow*> FlowControll;
  15. ClassFlowPostProcessing* flowpostprocessing;
  16. ClassFlow* CreateClassFlow(std::string _type);
  17. bool AutoStart;
  18. float AutoIntervall;
  19. void SetInitialParameter(void);
  20. std::string aktstatus;
  21. public:
  22. void InitFlow(std::string config);
  23. bool doFlow(string time);
  24. string getReadout(bool _rawvalue, bool _noerror);
  25. string UpdatePrevalue(std::string _newvalue);
  26. string GetPrevalue();
  27. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  28. std::string doSingleStep(std::string _stepname, std::string _host);
  29. bool isAutoStart(long &_intervall);
  30. std::string getActStatus();
  31. std::vector<HTMLInfo*> GetAllDigital();
  32. std::vector<HTMLInfo*> GetAllAnalog();
  33. int CleanTempFolder();
  34. string name(){return "ClassFlowControll";};
  35. };