this.numberOfPoints = numberOfPoints;
}
@Override
protected IConfig<IDimensionHCS> initModel() {
ConfigHCSModel configHCSModel = new ConfigHCSModel(this);
IDimensionHCS dimension = (IDimensionHCS) getDimensionX();
if (dimension != null) {
IDimensionHCS dimensionModel = (IDimensionHCS) dimension.toModel();
List<IActuator> actuatorList = dimension.getActuatorsList();
List<IActuator> actuatorListModel = convertActuatorListToModel(actuatorList);
dimensionModel.setActuatorsList(actuatorListModel);
List<IRangeHCS> rangeList = dimension.getRangesXList();
List<IRangeHCS> rangeModelList = new ArrayList<IRangeHCS>();
for (IRangeHCS range : rangeList) {
rangeModelList.add((IRangeHCS) range.toModel());
}
dimension.setRangesXList(rangeModelList);
configHCSModel.setDimensionX(dimensionModel);
}
return configHCSModel;
}