Beispiel #1
0
        private async Task exportSimulationResultsToCsv(Simulation simulation, string outputFolder, string projectName)
        {
            var simulationResultFileFullPath = csvPathUnder(outputFolder, simulation.Name, projectName);
            await _simulationExportTask.ExportResultsToCSVAsync(simulation, simulationResultFileFullPath);

            _logger.AddDebug($"Exporting simulation results to '{simulationResultFileFullPath}'");
        }
Beispiel #2
0
        private Task exportSimulationResultsToCSV(DirectoryInfo directoryInfo, string projectName, IndividualSimulation simulation, string type)
        {
            _logger.AddDebug($"Exporting {type} results for simulation '{simulation.Name}'");

            var fileName = createFileName(directoryInfo, projectName, simulation, Constants.Filter.CSV_EXTENSION);

            return(_simulationExportTask.ExportResultsToCSVAsync(simulation, fileName));
        }