private void initSavedAxis(List<? extends IDevice> deviceList,
Iterator<DisplayAxis> iteratorAxis) {
if (deviceList != null) {
Iterator<? extends IDevice> iteratorDevice = deviceList.listIterator();
IDevice device = null;
DisplayAxis displayAxis = null;
String attributeName = null;
while (iteratorDevice.hasNext()) {
device = iteratorDevice.next();
if (iteratorAxis.hasNext()) {
displayAxis = iteratorAxis.next();
if (displayAxis == null) {
displayAxis = getDisplayAxis(Axis.NONE);
}
}
else {
displayAxis = getDisplayAxis(Axis.NONE);
}
attributeName = device.getName();
attributeNameList.add(attributeName);
// System.out.println("attributeName =" + attributeName + "->" + displayAxis);
initDefaultAxis(attributeName, getAxis(displayAxis));
}
}