public void OutputSelectionChanged(OutputMappingDTO dto, SimulationQuantitySelectionDTO newOutput, SimulationQuantitySelectionDTO oldOutput) { if (observedDataAlreadySelectedForSameOutput(newOutput, dto.ObservedData)) { dto.Output = oldOutput; View.CloseEditor(); throw new CannotSelectTheObservedDataMoreThanOnceException(dto.ObservedData); } dto.Scaling = _parameterIdentificationTask.DefaultScalingFor(newOutput.Quantity); }
public void OutputSelectionChanged(OutputMappingDTO dto, SimulationQuantitySelectionDTO newOutput, SimulationQuantitySelectionDTO oldOutput) { dto.Scaling = _parameterIdentificationTask.DefaultScalingFor(newOutput.Quantity); }