Skip to content
Snippets Groups Projects
Commit a89d15d3 authored by Alexandre TISON's avatar Alexandre TISON
Browse files

Added info attribute (DevInfo)

parent abfd6073
No related branches found
No related tags found
1 merge request!2JTango10: DevInfo & Telemetry upgrade
...@@ -44,6 +44,7 @@ import org.tango.server.annotation.State; ...@@ -44,6 +44,7 @@ import org.tango.server.annotation.State;
import org.tango.server.annotation.Status; import org.tango.server.annotation.Status;
import org.tango.server.annotation.TransactionType; import org.tango.server.annotation.TransactionType;
import org.tango.server.attribute.AttributeConfiguration; import org.tango.server.attribute.AttributeConfiguration;
import org.tango.server.attribute.DeviceInfoAttribute;
import org.tango.server.attribute.IAttributeBehavior; import org.tango.server.attribute.IAttributeBehavior;
import org.tango.server.attribute.log.LogAttribute; import org.tango.server.attribute.log.LogAttribute;
import org.tango.server.device.DeviceManager; import org.tango.server.device.DeviceManager;
...@@ -516,7 +517,8 @@ public final class TangoParser { ...@@ -516,7 +517,8 @@ public final class TangoParser {
// add log attribute // add log attribute
dynMngt.addAttribute(new LogAttribute(1000, logger, LoggerFactory.getLogger(DynamicAttributeParser.class), dynMngt.addAttribute(new LogAttribute(1000, logger, LoggerFactory.getLogger(DynamicAttributeParser.class),
LoggerFactory.getLogger(CacheRefresher.class), LoggerFactory.getLogger(TangoSource.class))); LoggerFactory.getLogger(CacheRefresher.class), LoggerFactory.getLogger(TangoSource.class)));
// add info attribute
dynMngt.addAttribute(device.getDeviceInfoAttribute());
initManagement(); initManagement();
if (scanMode) { if (scanMode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment