Exemplo n.º 1
0
 private void report(PartialProcess partialProcess, MarkdownTracker tracker)
 {
     tracker.AddValue(PKSimConstants.UI.Molecule, partialProcess.MoleculeName);
     switch (partialProcess)
     {
     case EnzymaticProcess enzymaticProcess when !string.IsNullOrEmpty(enzymaticProcess.MetaboliteName):
         tracker.AddValue(PKSimConstants.UI.Metabolite, enzymaticProcess.MetaboliteName);
         break;
     }
 }
Exemplo n.º 2
0
 private void reportSpecies(CompoundProcess compoundProcess, MarkdownTracker tracker)
 {
     if (compoundProcess is ISpeciesDependentCompoundProcess processWithSpecies)
     {
         tracker.AddValue(PKSimConstants.UI.Species, processWithSpecies.Species.DisplayName);
     }
 }
        public override void Report(Formulation formulation, MarkdownTracker tracker, int indentationLevel)
        {
            base.Report(formulation, tracker, indentationLevel);
            var formulationInfo = _representationInfoRepository.InfoFor(RepresentationObjectType.CONTAINER, formulation.FormulationType);

            tracker.AddValue(PKSimConstants.UI.Type, formulationInfo.DisplayName);
            ReportParametersIn(formulation, tracker, indentationLevel);
        }
Exemplo n.º 4
0
        public override void Report(PKSimEvent pkSimEvent, MarkdownTracker tracker, int indentationLevel)
        {
            base.Report(pkSimEvent, tracker, indentationLevel);
            var eventTemplate = _eventGroupRepository.FindByName(pkSimEvent.TemplateName);

            tracker.AddValue(PKSimConstants.UI.Type, _representationInfoRepository.DisplayNameFor(eventTemplate));
            ReportParametersIn(pkSimEvent, tracker, indentationLevel);
        }