/// <summary> /// Sets the results saved parameters for the analysis case. /// </summary> /// <param name="resultsSaved">The results saved.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void SetResultsSaved(StageResultsSaved resultsSaved) { _apiStaticNonlinearStaged?.SetResultsSaved(Name, resultsSaved.StageSavedOption, resultsSaved.MinStepsForInstantanousLoad, resultsSaved.MinStepsForTimeDependentItems); _resultsSaved = resultsSaved; }
/// <summary> /// Retrieves the results saved parameters for the analysis case. /// </summary> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void FillResultsSaved() { if (_apiStaticNonlinearStaged == null) { return; } _apiStaticNonlinearStaged.GetResultsSaved(Name, out var stageSavedOption, out var minStepsForInstantanousLoad, out var minStepsForTimeDependentItems); _resultsSaved = new StageResultsSaved { StageSavedOption = stageSavedOption, MinStepsForInstantanousLoad = minStepsForInstantanousLoad, MinStepsForTimeDependentItems = minStepsForTimeDependentItems }; }