mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
v1.0.2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user