Index: DamClients/DamLive/trunk/src/Deltares.Dam.Application.Live/DamEngineRunner.cs =================================================================== diff -u -r1686 -r1698 --- DamClients/DamLive/trunk/src/Deltares.Dam.Application.Live/DamEngineRunner.cs (.../DamEngineRunner.cs) (revision 1686) +++ DamClients/DamLive/trunk/src/Deltares.Dam.Application.Live/DamEngineRunner.cs (.../DamEngineRunner.cs) (revision 1698) @@ -42,28 +42,122 @@ internal const string NoFewsOutputFileAvailable = "No FEWS output file available to write the result to."; internal const string ErrorExtractingWorkingFolder = "An error occured while trying to extract the path from the FEWS input file. This error can be solved by setting a working folder"; internal LogHelper Logger = LogHelper.Create(); + + /// + /// Gets or sets the dam project data. + /// + /// + /// The dam project data. + /// public DamProjectData DamProjectData { get; set; } + /// + /// Gets or sets the calculation parameters. + /// + /// + /// The calculation parameters. + /// public CalculationParameters CalculationParameters { get; set; } + + /// + /// Gets or sets the output time series collection. + /// + /// + /// The output time series collection. + /// public TimeSerieCollection OutputTimeSeriesCollection { get; set; } + + /// + /// Gets or sets the input time series collection. + /// + /// + /// The input time series collection. + /// public TimeSerieCollection InputTimeSeriesCollection { get; set; } + + /// + /// Gets or sets the stability working path. + /// + /// + /// The stability working path. + /// public string StabilityWorkingPath { get; set; } + + /// + /// Gets or sets the piping working path. + /// + /// + /// The piping working path. + /// public string PipingWorkingPath { get; set; } + + /// + /// Gets or sets the stability executable path. + /// + /// + /// The stability executable path. + /// public string StabilityExePath { get; set; } + + /// + /// Gets or sets a value indicating whether [use m stab for calculation]. + /// + /// + /// true if [use m stab for calculation]; otherwise, false. + /// public bool UseMStabForCalculation { get; set; } + + /// + /// Gets or sets the water level offset. + /// + /// + /// The water level offset. + /// public double WaterLevelOffset { get; set; } + + /// + /// Gets or sets the working path. + /// + /// + /// The working path. + /// public string WorkingPath { get; set; } + + /// + /// Gets or sets the maximum calculation cores. + /// + /// + /// The maximum calculation cores. + /// public int MaxCalculationCores { get; set; } = 1; + protected internal FileInfo DamXFile { get; set; } protected internal FileInfo FewsInputFile { get; set; } protected internal FileInfo FewsOutputFile { get; set; } protected internal FileInfo ParametersFile { get; set; } + + /// + /// Gets or sets the filter. + /// + /// + /// The filter. + /// public string Filter { get; set; } + + /// + /// Gets a value indicating whether this instance has errors. + /// + /// + /// true if this instance has errors; otherwise, false. + /// public bool HasErrors { get { return Logger.HasLoggedExceptions; } } + /// + /// Initializes a new instance of the class. + /// public DamEngineRunner() { // WorkingPath will be extracted from file name if available