ClassFlowControll.h 1.2 KB

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