Пример #1
0
        protected override async Task <IEnumerable <PKSimProject> > LoadModelAsync(string snapshotFile)
        {
            var project = await _snapshotTask.LoadProjectFromSnapshotFile(snapshotFile);

            _registrationTask.RegisterProject(project);
            await runQualificationPlans(project);

            return(new[] { project });
        }
Пример #2
0
        protected override async Task <IEnumerable <PKSimProject> > LoadModelAsync(LoadFromSnapshotDTO loadFromSnapshotDTO)
        {
            var project = await _snapshotTask.LoadProjectFromSnapshotFileAsync(loadFromSnapshotDTO.SnapshotFile, loadFromSnapshotDTO.RunSimulations);

            _registrationTask.RegisterProject(project);
            await runQualificationPlans(project);

            return(new[] { project });
        }