コード例 #1
0
        private void exportParameters(string outputFolder, IndividualSimulation individualSimulation, string projectName)
        {
            var parameterReportFileName = csvPathUnder(outputFolder, $"{individualSimulation.Name}_parameters", projectName);

            _parametersReportCreator.ExportParametersTo(individualSimulation.Model, parameterReportFileName);
            _logger.AddDebug($"Exporting simulation parameters to '{parameterReportFileName}'");
        }
コード例 #2
0
ファイル: SimulationExporter.cs プロジェクト: valdiman/PK-Sim
        private void exportParameters(string outputFolder, string exportFileName, IndividualSimulation individualSimulation)
        {
            var parameterReportFileName = Path.Combine(outputFolder, $"{exportFileName}_parameters.csv");

            _logger.AddDebug($"------> Exporting simulation parameters to '{parameterReportFileName}'");
            _parametersReportCreator.ExportParametersTo(individualSimulation.Model, parameterReportFileName);
        }
コード例 #3
0
        protected override void PerformExecute()
        {
            var fileName = _dialogCreator.AskForFileToSave(PKSimConstants.UI.SaveSimulationParameterToCsvFile, Constants.Filter.CSV_FILE_FILTER, Subject.Name);

            if (string.IsNullOrEmpty(fileName))
            {
                return;
            }
            _buildingBlockTask.Load(Subject);

            _parametersReportCreator.ExportParametersTo(Subject.Model, fileName);
        }