sensorsNamesArray[sensorIndex] = sensorsNamesArrayTmp[sensorIndex];
}
String[] sensorsValueKeysArray = scanServerProxy.read_attribute("sensorsDataList").extractStringArray();
ISensor sensor;
String sensorValueKey;
String sensorName;
double[] sensorValuesArray;
DeviceAttribute sensorValueAttribute;
for(int sensorIndex = 0; sensorIndex < sensorsNamesArray.length && sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
sensorName = sensorsNamesArray[sensorIndex];
sensor = new SensorImpl();
sensor.setName(sensorName);
sensor.setEnabled(true);
scanResult.getSensorsList().add(sensor);
sensorValueKey = sensorsValueKeysArray[sensorIndex];
sensorValueAttribute = scanServerProxy.read_attribute(sensorValueKey);
sensorValuesArray = AttributeHelper.extractToDoubleArray(sensorValueAttribute);
sensor.setScanServerAttributeName(scanServerProxy.get_name() + "/" + sensorValueKey);
row = 0;
column = 0;
for(double sensorValue : sensorValuesArray) {
scanPointsMatrix[row][column].getSensorsValuesMap().put(sensor, sensorValue);