private QuantityPKParameterDTO mapFrom(QuantityPKParameter quantityPKParameter, string quantityDisplayPath) { return(new QuantityPKParameterDTO { DisplayName = _pkParameterRepository.DisplayNameFor(quantityPKParameter.Name), PKParameter = quantityPKParameter, QuantityDisplayPath = quantityDisplayPath, Description = _pkParameterRepository.DescriptionFor(quantityPKParameter.Name) }); }
private void addParameterSensitivity(PKParameterSensitivity parameterSensitivity, DataTable dataTable, SensitivityAnalysis sensitivityAnalysis) { var row = dataTable.NewRow(); var sensitivityParameter = sensitivityAnalysis.SensitivityParameterByName(parameterSensitivity.ParameterName); row[Captions.SensitivityAnalysis.Output] = parameterSensitivity.QuantityPath; row[Captions.SensitivityAnalysis.PKParameterName] = _pkParameterRepository.DisplayNameFor(parameterSensitivity.PKParameterName); row[Captions.SensitivityAnalysis.PKParameterDescription] = _pkParameterRepository.DescriptionFor(parameterSensitivity.PKParameterName); row[Captions.SensitivityAnalysis.ParameterName] = parameterSensitivity.ParameterName; row[Captions.SensitivityAnalysis.ParameterDisplayPath] = parameterDisplayPathFor(sensitivityParameter); row[Captions.SensitivityAnalysis.ParameterPath] = parameterFullPathFor(sensitivityParameter); row[Captions.SensitivityAnalysis.Value] = parameterSensitivity.Value; dataTable.Rows.Add(row); }
public string ToolTipFor(string pkParameterName) { return(_pkParameterRepository.DescriptionFor(pkParameterName)); }
private string descriptionFor(IParameter parameter) { var pkDescription = _pkParameterRepository.DescriptionFor(parameter.Name); return(!string.IsNullOrEmpty(pkDescription) ? pkDescription : _representationInfoRepository.DescriptionFor(parameter)); }