Rolling 20211128

This commit is contained in:
jomjol
2021-11-28 09:09:24 +01:00
parent cc0bd1473f
commit 3b44adb6fa
6 changed files with 12 additions and 5 deletions

View File

@@ -637,10 +637,10 @@ string ClassFlowControll::getJSON()
{
json += "\"" + (*NUMBERS)[i]->name + "\":\n";
json += " {\n";
json += " \"value\": \"" + (*NUMBERS)[i]->ReturnValueNoError + "\",\n";
json += " \"value\": " + (*NUMBERS)[i]->ReturnValueNoError + ",\n";
json += " \"raw\": \"" + (*NUMBERS)[i]->ReturnRawValue + "\",\n";
json += " \"error\": \"" + (*NUMBERS)[i]->ErrorMessageText + "\",\n";
json += " \"rate\": \"" + std::to_string((*NUMBERS)[i]->FlowRateAct) + "\",\n";
json += " \"rate\": " + std::to_string((*NUMBERS)[i]->FlowRateAct) + ",\n";
json += " \"timestamp\": \"" + (*NUMBERS)[i]->timeStamp + "\"\n";
if ((i+1) < (*NUMBERS).size())
json += " },\n";