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; } }
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); }
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); }