ClassFlowControll.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. int TimeUpdateIntervall;
  22. public:
  23. void InitFlow(std::string config);
  24. bool doFlow(string time);
  25. string getReadout(bool _rawvalue, bool _noerror);
  26. string UpdatePrevalue(std::string _newvalue);
  27. string GetPrevalue();
  28. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  29. std::string doSingleStep(std::string _stepname, std::string _host);
  30. bool isAutoStart(long &_intervall);
  31. std::string getActStatus();
  32. std::vector<HTMLInfo*> GetAllDigital();
  33. std::vector<HTMLInfo*> GetAllAnalog();
  34. int CleanTempFolder();
  35. string name(){return "ClassFlowControll";};
  36. };