Update 20201119

This commit is contained in:
jomjol
2020-11-19 19:15:13 +01:00
parent dbbc5ea127
commit a537e785fb
11 changed files with 2916 additions and 9 deletions

View File

@@ -90,7 +90,6 @@ bool ClassFlowPostProcessing::LoadPreValue(void)
void ClassFlowPostProcessing::SavePreValue(float value, string zwtime)
{
FILE* pFile;
PreValue = value;
pFile = fopen(FilePreValue.c_str(), "w");
@@ -323,6 +322,9 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
}
Value = std::stof(ReturnValue);
ReturnValueNoError = ReturnValue;
PreValueOkay = true;
PreValue = Value;
SavePreValue(Value, zwtime);
}
@@ -360,7 +362,11 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
ReturnValue = ReturnValue + "\t" + error;
if (error.length() == 0)
{
PreValue = Value;
SavePreValue(Value, zwtime);
}
return true;
}