ClassFlowPostProcessing.h 932 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include "ClassFlow.h"
  3. #include <string>
  4. class ClassFlowPostProcessing :
  5. public ClassFlow
  6. {
  7. protected:
  8. bool PreValueUse;
  9. int PreValueAgeStartup;
  10. bool AllowNegativeRates;
  11. float MaxRateValue;
  12. bool useMaxRateValue;
  13. bool ErrorMessage;
  14. bool PreValueOkay;
  15. bool checkDigitIncreaseConsistency;
  16. string FilePreValue;
  17. float PreValue;
  18. float Value;
  19. string ReturnValue;
  20. string ReturnRawValue;
  21. bool LoadPreValue(void);
  22. string ErsetzteN(string, int lastvalueanalog);
  23. public:
  24. ClassFlowPostProcessing();
  25. ClassFlowPostProcessing(std::vector<ClassFlow*>* lfc);
  26. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  27. bool doFlow(string time);
  28. string getReadout();
  29. string getReadoutParam(bool _rawValue);
  30. void SavePreValue(float value, string time = "");
  31. string GetPreValue();
  32. string name(){return "ClassFlowPostProcessing";};
  33. };