コード例 #1
0
 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);
        }
コード例 #3
0
 public string ToolTipFor(string pkParameterName)
 {
     return(_pkParameterRepository.DescriptionFor(pkParameterName));
 }
コード例 #4
0
        private string descriptionFor(IParameter parameter)
        {
            var pkDescription = _pkParameterRepository.DescriptionFor(parameter.Name);

            return(!string.IsNullOrEmpty(pkDescription) ? pkDescription : _representationInfoRepository.DescriptionFor(parameter));
        }