mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
44 lines
932 B
C++
44 lines
932 B
C++
#pragma once
|
|
#include "ClassFlow.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
class ClassFlowPostProcessing :
|
|
public ClassFlow
|
|
{
|
|
protected:
|
|
bool PreValueUse;
|
|
int PreValueAgeStartup;
|
|
bool AllowNegativeRates;
|
|
float MaxRateValue;
|
|
bool useMaxRateValue;
|
|
bool ErrorMessage;
|
|
bool PreValueOkay;
|
|
bool checkDigitIncreaseConsistency;
|
|
|
|
string FilePreValue;
|
|
float PreValue;
|
|
float Value;
|
|
string ReturnValue;
|
|
string ReturnRawValue;
|
|
|
|
bool LoadPreValue(void);
|
|
|
|
|
|
string ErsetzteN(string, int lastvalueanalog);
|
|
|
|
public:
|
|
ClassFlowPostProcessing();
|
|
ClassFlowPostProcessing(std::vector<ClassFlow*>* lfc);
|
|
bool ReadParameter(FILE* pfile, string& aktparamgraph);
|
|
bool doFlow(string time);
|
|
string getReadout();
|
|
string getReadoutParam(bool _rawValue);
|
|
void SavePreValue(float value, string time = "");
|
|
string GetPreValue();
|
|
|
|
string name(){return "ClassFlowPostProcessing";};
|
|
};
|
|
|