From e8e648ce764749fddb780dc7e1d232567e367e84 Mon Sep 17 00:00:00 2001 From: GPrathap Date: Tue, 17 May 2016 18:42:27 +0530 Subject: [PATCH] renamed table name and graph axes labels --- .../feature/src/main/resources/configs/__deviceType__.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/configs/__deviceType__.json b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/configs/__deviceType__.json index 703b0d88..63d2a0bd 100644 --- a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/configs/__deviceType__.json +++ b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/configs/__deviceType__.json @@ -7,12 +7,12 @@ "analyticStreams": [ { "name": "Temperature", - "table": "DEVICE_TEMPERATURE_SUMMARY", + "table": "DEVICE_${deviceType}_${nameOfTheSensor}_SUMMARY", "ui_unit": { "name": "cdmf.unit.analytics.line-chart", "data":[ {"column": {"name":"TIME", "label":"time", "ui-mapping":"x-axis"}}, - {"column": {"name":"TEMPERATURE", "label":"Temperature", "ui-mapping":"y-axis"}} + {"column": {"name":"${nameOfTheSensor}", "label":"${nameOfTheSensor}", "ui-mapping":"y-axis"}} ] } }