mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-14 07:26:53 +03:00
nightly
This commit is contained in:
@@ -124,7 +124,7 @@ bool ClassFlowControll::doFlow(string time)
|
||||
string ClassFlowControll::getReadout(bool _rawvalue = false)
|
||||
{
|
||||
if (flowpostprocessing)
|
||||
return flowpostprocessing->getReadout();
|
||||
return flowpostprocessing->getReadoutParam(_rawvalue);
|
||||
|
||||
string zw = "";
|
||||
string result = "";
|
||||
|
||||
@@ -244,13 +244,14 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
|
||||
if (isanalog)
|
||||
ReturnValue = ReturnValue + analog;
|
||||
|
||||
ReturnRawValue = ReturnValue;
|
||||
|
||||
if ((findDelimiterPos(ReturnValue, "N") == std::string::npos) && (ReturnValue.length() > 0))
|
||||
{
|
||||
while ((ReturnValue.length() > 1) && (ReturnValue[0] == '0'))
|
||||
{
|
||||
ReturnValue.erase(0, 1);
|
||||
}
|
||||
ReturnRawValue = ReturnValue;
|
||||
Value = std::stof(ReturnValue);
|
||||
SavePreValue(Value, zwtime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user