Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingInputContextProperties.cs =================================================================== diff -u -ra9c4c3b9c62339476e2e901bd2b402ed22ac772b -r89488cc05b12fd5720cd28a4eeeb001dc9b1456d --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingInputContextProperties.cs (.../PipingInputContextProperties.cs) (revision a9c4c3b9c62339476e2e901bd2b402ed22ac772b) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingInputContextProperties.cs (.../PipingInputContextProperties.cs) (revision 89488cc05b12fd5720cd28a4eeeb001dc9b1456d) @@ -22,7 +22,6 @@ using System.Collections.Generic; using System.ComponentModel; using System.Drawing.Design; - using Core.Common.Base.Data; using Core.Common.Gui.PropertyBag; using Core.Common.Utils.Attributes; @@ -42,7 +41,31 @@ /// public class PipingInputContextProperties : ObjectProperties { + #region Model Settings + /// + /// Gets or sets the design variable for . + /// + [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] + [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] + [ResourcesDisplayName(typeof(Resources), "PipingInput_DampingFactorExit_DisplayName")] + [ResourcesDescription(typeof(Resources), "PipingInput_DampingFactorExit_Description")] + public DesignVariable DampingFactorExit + { + get + { + return PipingSemiProbabilisticDesignValueFactory.GetDampingFactorExit(data.WrappedData); + } + set + { + data.WrappedData.DampingFactorExit = value.Distribution; + data.WrappedData.NotifyObservers(); + } + } + + #endregion + + /// /// Gets the available surface lines on . /// public IEnumerable GetAvailableSurfaceLines() @@ -65,9 +88,12 @@ { return data.AvailableHydraulicBoundaryLocations; } - + #region Hydraulic data + /// + /// Gets or sets the . + /// [Editor(typeof(PipingInputContextHydraulicBoundaryLocationEditor), typeof(UITypeEditor))] [ResourcesCategory(typeof(Resources), "Categories_HydraulicData")] [ResourcesDisplayName(typeof(Resources), "PipingInput_HydraulicBoundaryLocation_DisplayName")] @@ -85,6 +111,9 @@ } } + /// + /// Gets the assessment level. + /// [ResourcesCategory(typeof(Resources), "Categories_HydraulicData")] [ResourcesDisplayName(typeof(Resources), "PipingInput_AssessmentLevel_DisplayName")] [ResourcesDescription(typeof(Resources), "PipingInput_AssessmentLevel_Description")] @@ -96,6 +125,9 @@ } } + /// + /// Gets the piezometric head at the exit point. + /// [ResourcesCategory(typeof(Resources), "Categories_HydraulicData")] [ResourcesDisplayName(typeof(Resources), "PipingInput_PiezometricHeadExit_DisplayName")] [ResourcesDescription(typeof(Resources), "PipingInput_PiezometricHeadExit_Description")] @@ -107,6 +139,9 @@ } } + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(NormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_HydraulicData")] [ResourcesDisplayName(typeof(Resources), "PipingInput_PhreaticLevelExit_DisplayName")] @@ -128,6 +163,9 @@ #region Schematization + /// + /// Gets or sets the . + /// [Editor(typeof(PipingInputContextSurfaceLineSelectionEditor), typeof(UITypeEditor))] [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_SurfaceLine_DisplayName")] @@ -145,6 +183,9 @@ } } + /// + /// Gets or sets the . + /// [Editor(typeof(PipingInputContextSoilProfileSelectionEditor), typeof(UITypeEditor))] [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_SoilProfile_DisplayName")] @@ -162,6 +203,9 @@ } } + /// + /// Gets or sets the l-coordinate of the entry point. + /// [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_EntryPointL_DisplayName")] [ResourcesDescription(typeof(Resources), "PipingInput_EntryPointL_Description")] @@ -178,6 +222,9 @@ } } + /// + /// Gets or sets the l-coordinate of the exit point. + /// [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_ExitPointL_DisplayName")] [ResourcesDescription(typeof(Resources), "PipingInput_ExitPointL_Description")] @@ -194,6 +241,9 @@ } } + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_SeepageLength_DisplayName")] @@ -206,6 +256,9 @@ } } + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_ThicknessCoverageLayer_DisplayName")] @@ -218,6 +271,9 @@ } } + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_Schematization")] [ResourcesDisplayName(typeof(Resources), "PipingInput_ThicknessAquiferLayer_DisplayName")] @@ -234,6 +290,9 @@ #region Soil Properties + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_SoilProperties")] [ResourcesDisplayName(typeof(Resources), "PipingInput_DarcyPermeability_DisplayName")] @@ -251,6 +310,9 @@ } } + /// + /// Gets or sets the design variable for . + /// [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] [ResourcesCategory(typeof(Resources), "Categories_SoilProperties")] [ResourcesDisplayName(typeof(Resources), "PipingInput_Diameter70_DisplayName")] @@ -271,26 +333,5 @@ // TODO: Verzadigd gewicht deklaag #endregion - - #region Model Settings - - [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))] - [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] - [ResourcesDisplayName(typeof(Resources), "PipingInput_DampingFactorExit_DisplayName")] - [ResourcesDescription(typeof(Resources), "PipingInput_DampingFactorExit_Description")] - public DesignVariable DampingFactorExit - { - get - { - return PipingSemiProbabilisticDesignValueFactory.GetDampingFactorExit(data.WrappedData); - } - set - { - data.WrappedData.DampingFactorExit = value.Distribution; - data.WrappedData.NotifyObservers(); - } - } - - #endregion } } \ No newline at end of file