ClassFlowControll.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. class ClassFlowControll :
  10. public ClassFlow
  11. {
  12. protected:
  13. std::vector<ClassFlow*> FlowControll;
  14. ClassFlowPostProcessing* flowpostprocessing;
  15. ClassFlow* CreateClassFlow(std::string _type);
  16. bool AutoStart;
  17. float AutoIntervall;
  18. void SetInitialParameter(void);
  19. std::string aktstatus;
  20. public:
  21. void InitFlow(std::string config);
  22. bool doFlow(string time);
  23. string getReadout(bool _rawvalue, bool _noerror);
  24. string UpdatePrevalue(std::string _newvalue);
  25. string GetPrevalue();
  26. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  27. std::string doSingleStep(std::string _stepname, std::string _host);
  28. bool isAutoStart(long &_intervall);
  29. std::string getActStatus();
  30. std::vector<HTMLInfo*> GetAllDigital();
  31. std::vector<HTMLInfo*> GetAllAnalog();
  32. string name(){return "ClassFlowControll";};
  33. };