This commit is contained in:
jomjol
2020-09-06 12:02:42 +02:00
parent f1a734dbee
commit 7aba4a8f86
4 changed files with 10 additions and 5 deletions

View File

@@ -259,6 +259,13 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
return true;
}
if (isdigit)
ReturnRawValue = digit;
if (isdigit && isanalog)
ReturnRawValue = ReturnRawValue + ".";
if (isanalog)
ReturnRawValue = ReturnRawValue + analog;
if (isdigit)
{
int lastanalog = -1;
@@ -273,8 +280,6 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
if (isanalog)
zw = zw + analog;
ReturnRawValue = zw;
Value = std::stof(zw);
std::stringstream stream;