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);
        }
Exemplo n.º 2
0
 public void OutputSelectionChanged(OutputMappingDTO dto, SimulationQuantitySelectionDTO newOutput, SimulationQuantitySelectionDTO oldOutput)
 {
     dto.Scaling = _parameterIdentificationTask.DefaultScalingFor(newOutput.Quantity);
 }