actionName = "read_attribute(\"" + CurrentScanDataModel.SENSORS_DATA_LIST
+ "\")";
String[] sensorsValueKeysArray = CurrentScanDataModel
.getSensors(scanServerName);
ISensor sensor = null;
String sensorName = null;
String entityName = null;
if (sensorsValueKeysArray != null) {
for (String sensorValueKey : sensorsValueKeysArray) {
entityName = TangoDeviceHelper.getEntityName(sensorValueKey);
sensorName = TangoAttributeHelper.getLabel(scanServerName,
entityName);
sensor = new SensorImpl();
sensor.setName(sensorName);
sensor.setEnabled(true);
scanResult.getSensorsList().add(sensor);
sensor.setScanServerAttributeName(sensorValueKey);
}
}
// Actuators dimension X
actionName = "read_attribute(\"" + CurrentScanDataModel.ACTUATORS_DATA_LIST