// Copyright (C) Stichting Deltares 2016. All rights reserved. // // This file is part of Ringtoets. // // Ringtoets is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // All names, logos, and references to "Deltares" are registered trademarks of // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. using System; namespace Ringtoets.Common.IO.Configurations { /// /// Configuration of a structure calculation. /// public abstract class StructuresCalculationConfiguration : IConfigurationItem { private string name; /// /// Creates a new instance of . /// /// The name of the . /// Thrown when is null. protected StructuresCalculationConfiguration(string name) { Name = name; } /// /// Gets or sets the name of the calculation. /// /// Thrown when is null. public string Name { get { return name; } set { if (value == null) { throw new ArgumentNullException(nameof(value), @"Name is required for a structure calculation configuration."); } name = value; } } /// /// Gets or sets the stochast configuration for the model factor super critical flow. /// public string StructureName { get; set; } /// /// Gets or sets the stochast configuration for the model factor super critical flow. /// public string HydraulicBoundaryLocationName { get; set; } /// /// Gets or sets the stochast configuration for the model factor super critical flow. /// public MeanStandardDeviationStochastConfiguration ModelFactorSuperCriticalFlow { get; set; } /// /// Gets or sets the stochast configuration for the storm duration. /// public MeanVariationCoefficientStochastConfiguration StormDuration { get; set; } /// /// Gets or sets the stochast configuration for the structure's normal orientation. /// public double? StructureNormalOrientation { get; set; } /// /// Gets or sets the stochast configuration for the allowed level of storage increase. /// public MeanStandardDeviationStochastConfiguration AllowedLevelIncreaseStorage { get; set; } /// /// Gets or sets the stochast configuration for the storage structure area. /// public MeanVariationCoefficientStochastConfiguration StorageStructureArea { get; set; } /// /// Gets or sets the stochast configuration for the flow width at bottom protection. /// public MeanStandardDeviationStochastConfiguration FlowWidthAtBottomProtection { get; set; } /// /// Gets or sets the stochast configuration for the critical overtopping discharge. /// public MeanVariationCoefficientStochastConfiguration CriticalOvertoppingDischarge { get; set; } /// /// Gets or sets the stochast configuration for the failure probability of structure /// with erosion. /// public double? FailureProbabilityStructureWithErosion { get; set; } /// /// Gets or sets the stochast configuration for the flow width of apertures. /// public MeanStandardDeviationStochastConfiguration WidthFlowApertures { get; set; } /// /// Gets or sets the wave reduction configuration. /// public WaveReductionConfiguration WaveReduction { get; set; } /// /// Gets or sets the name of the foreshore profile. /// public string ForeshoreProfileName { get; set; } } }