// CURRENT
setWidgetModel( this.builder.getCurrentViewer(), generateAttributeKey("current"));
// CURRENT TIME TREND
TangoKey valueKey = generateAttributeKey(SPECTRUM_ATTRIBUTE);
TangoKey timeKey = generateAttributeKey(TIME_ATTRIBUTE);
TangoKey modeKey = generateAttributeKey(FUNC_MODE_SPECTRUM_ATTRIBUTE);
TangoKey maxTrendKey = generateAttributeKey(MAXTREND_ATTRIBUTE);
TangoKey tickSpacingKey = generateAttributeKey(TICKSPACING_ATTRIBUTE);
// UNIT
TangoKey unitKey = generateAttributePropertyKey(SPECTRUM_ATTRIBUTE, AttributePropertyType.UNIT);
AbstractDAO<String> unitDAO = DAOFactory.createStringDAO(unitKey);
String unit = "";
if(unitDAO != null) {
unit = unitDAO.getData();
}
// FORMAT
TangoKey formatKey = generateAttributePropertyKey(SPECTRUM_ATTRIBUTE, AttributePropertyType.FORMAT);
AbstractDAO<String> formatDAO = DAOFactory.createStringDAO(formatKey);
String format = "";
if(formatDAO != null) {
format = formatDAO.getData();