Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs =================================================================== diff -u -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 -r79b21a40895beb5fd233c3e3cb20d82e6ab5be56 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs (.../MacroStabilityInwardsInputContextProperties.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs (.../MacroStabilityInwardsInputContextProperties.cs) (revision 79b21a40895beb5fd233c3e3cb20d82e6ab5be56) @@ -27,6 +27,7 @@ using Core.Common.Base.Geometry; using Core.Common.Gui.Attributes; using Core.Common.Gui.PropertyBag; +using Core.Common.Utils; using Core.Common.Utils.Attributes; using Ringtoets.Common.Forms.ChangeHandlers; using Ringtoets.Common.Forms.Helpers; @@ -52,9 +53,11 @@ private const int selectedHydraulicBoundaryLocationPropertyIndex = 1; private const int assessmentLevelPropertyIndex = 2; private const int useHydraulicBoundaryLocationPropertyIndex = 3; - private const int surfaceLinePropertyIndex = 4; - private const int stochasticSoilModelPropertyIndex = 5; - private const int stochasticSoilProfilePropertyIndex = 6; + private const int dikeSoilScenarioPropertyIndex = 4; + private const int waterStressesPropertyIndex = 5; + private const int surfaceLinePropertyIndex = 6; + private const int stochasticSoilModelPropertyIndex = 7; + private const int stochasticSoilProfilePropertyIndex = 8; private readonly IObservablePropertyChangeHandler propertyChangeHandler; @@ -198,6 +201,36 @@ } } + [PropertyOrder(dikeSoilScenarioPropertyIndex)] + [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_HydraulicData))] + [ResourcesDisplayName(typeof(Resources), nameof(Resources.DikeSoilScenario_DisplayName))] + [ResourcesDescription(typeof(Resources), nameof(Resources.DikeSoilScenario_Description))] + [TypeConverter(typeof(EnumTypeConverter))] + public MacroStabilityInwardsDikeSoilScenario DikeSoilScenario + { + get + { + return data.WrappedData.DikeSoilScenario; + } + set + { + PropertyChangeHelper.ChangePropertyAndNotify(() => data.WrappedData.DikeSoilScenario = value, propertyChangeHandler); + } + } + + [PropertyOrder(waterStressesPropertyIndex)] + [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_HydraulicData))] + [ResourcesDisplayName(typeof(Resources), nameof(Resources.Waterstresses_DisplayName))] + [ResourcesDescription(typeof(Resources), nameof(Resources.Waterstresses_Description))] + [TypeConverter(typeof(ExpandableObjectConverter))] + public MacroStabilityInwardsWaterStressesProperties WaterStressesProperties + { + get + { + return new MacroStabilityInwardsWaterStressesProperties(data.WrappedData, propertyChangeHandler); + } + } + #endregion #region Schematization