From 3b2bc9873ddd3fa3418046fe6b1c320552d34b23 Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Mon, 14 Mar 2016 03:03:32 +0100 Subject: [PATCH] Improv acc xml --- source/statistics/Accumulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/statistics/Accumulator.cpp b/source/statistics/Accumulator.cpp index c3e3b2c..255489c 100644 --- a/source/statistics/Accumulator.cpp +++ b/source/statistics/Accumulator.cpp @@ -395,7 +395,7 @@ anna::xml::Node* Accumulator::asXML(anna::xml::Node* parent, const int & numberO concept->createAttribute("Id", conceptId); concept->createAttribute("Description", conceptDescription); concept->createAttribute("Unit", conceptUnitDescription); - anna::xml::Node* data = concept->createChild("Data"); + anna::xml::Node* data = concept->createChild("Sample"); if(ptrConceptData->Size != 0) { data->createAttribute("Size", anna::functions::asString((anna::U64)ptrConceptData->Size)); @@ -440,7 +440,7 @@ anna::xml::Node* Accumulator::asXML(anna::xml::Node* parent, const int & numberO data->createAttribute("ProcessingRate", cad_aux); } } else { - concept->createAttribute("Data", "Not enough data to get statistics"); + concept->createAttribute("Sample", "Not enough data to get statistics"); } } -- 2.20.1