rolling 20210713 BETA v8.0.0

This commit is contained in:
jomjol
2021-07-13 21:41:17 +02:00
parent 1f6b02a671
commit 136186a526
12 changed files with 24 additions and 8 deletions

View File

@@ -294,7 +294,7 @@ void ClassFlowPostProcessing::handleMaxRateValue(string _decsep, string _value)
try
{
_zwdc = stoi(_value);
_zwdc = stof(_value);
}
catch(const std::exception& e)
{
@@ -601,7 +601,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
if (NUMBERS[j]->useMaxRateValue && (abs(NUMBERS[j]->Value - NUMBERS[j]->PreValue) > NUMBERS[j]->MaxRateValue))
{
NUMBERS[j]->ErrorMessageText = NUMBERS[j]->ErrorMessageText + "Rate too high - Read: " + RundeOutput(NUMBERS[j]->Value, NUMBERS[j]->Nachkomma) + " - Pre: " + RundeOutput(NUMBERS[j]->PreValue, NUMBERS[j]->Nachkomma) + " ";
NUMBERS[j]->ErrorMessageText = NUMBERS[j]->ErrorMessageText + "Rate too high - Read: " + RundeOutput(NUMBERS[j]->Value, NUMBERS[j]->Nachkomma) + " - Pre: " + RundeOutput(NUMBERS[j]->PreValue, NUMBERS[j]->Nachkomma);
NUMBERS[j]->Value = NUMBERS[j]->PreValue;
zwvalue = RundeOutput(NUMBERS[j]->Value, NUMBERS[j]->Nachkomma);
}