ClassFlowPostProcessing.h 978 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. string ReturnValueNoError;
  22. bool LoadPreValue(void);
  23. string ErsetzteN(string, int lastvalueanalog);
  24. public:
  25. ClassFlowPostProcessing();
  26. ClassFlowPostProcessing(std::vector<ClassFlow*>* lfc);
  27. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  28. bool doFlow(string time);
  29. string getReadout();
  30. string getReadoutParam(bool _rawValue, bool _noerror);
  31. void SavePreValue(float value, string time = "");
  32. string GetPreValue();
  33. string name(){return "ClassFlowPostProcessing";};
  34. };