From: Eduardo Ramos Testillano Date: Mon, 14 Mar 2016 02:03:32 +0000 (+0100) Subject: Improv acc xml X-Git-Tag: REFACTORING_TESTING_LIBRARY~11 X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=commitdiff_plain;h=3b2bc9873ddd3fa3418046fe6b1c320552d34b23 Improv acc xml --- 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"); } }