Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs =================================================================== diff -u -r242268fc2adc055cc3ac4f28b14b4db26251b30e -rd4e6fdd1b3c4e1f7f39ce1707cb9ae4241ac6e04 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision 242268fc2adc055cc3ac4f28b14b4db26251b30e) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision d4e6fdd1b3c4e1f7f39ce1707cb9ae4241ac6e04) @@ -403,14 +403,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_Schematization))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_FlowWidthAtBottomProtection_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_FlowWidthAtBottomProtection_Description))] - public LogNormalDistributionProperties FlowWidthAtBottomProtection + public ConfirmingLogNormalDistributionProperties FlowWidthAtBottomProtection { get { - return new LogNormalDistributionProperties(DistributionPropertiesReadOnly.None, data.WrappedData, this) - { - Data = data.WrappedData.FlowWidthAtBottomProtection - }; + return new ConfirmingLogNormalDistributionProperties( + DistributionPropertiesReadOnly.None, + data.WrappedData.FlowWidthAtBottomProtection, + data.Calculation, + data.WrappedData, + propertyChangeHandler); } } @@ -419,17 +421,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_Schematization))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_WidthFlowApertures_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_WidthFlowApertures_Description))] - public virtual NormalDistributionProperties WidthFlowApertures + public virtual ConfirmingNormalDistributionProperties WidthFlowApertures { get { - return new NormalDistributionProperties( + return new ConfirmingNormalDistributionProperties( DistributionPropertiesReadOnly.None, + data.WrappedData.WidthFlowApertures, + data.Calculation, data.WrappedData, - this) - { - Data = data.WrappedData.WidthFlowApertures - }; + propertyChangeHandler); } } @@ -438,17 +439,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_Schematization))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_StorageStructureArea_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_StorageStructureArea_Description))] - public VariationCoefficientLogNormalDistributionProperties StorageStructureArea + public ConfirmingVariationCoefficientLogNormalDistributionProperties StorageStructureArea { get { - return new VariationCoefficientLogNormalDistributionProperties( + return new ConfirmingVariationCoefficientLogNormalDistributionProperties( VariationCoefficientDistributionPropertiesReadOnly.None, + data.WrappedData.StorageStructureArea, + data.Calculation, data.WrappedData, - this) - { - Data = data.WrappedData.StorageStructureArea - }; + propertyChangeHandler); } } @@ -457,14 +457,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_Schematization))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_AllowedLevelIncreaseStorage_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_AllowedLevelIncreaseStorage_Description))] - public LogNormalDistributionProperties AllowedLevelIncreaseStorage + public ConfirmingLogNormalDistributionProperties AllowedLevelIncreaseStorage { get { - return new LogNormalDistributionProperties(DistributionPropertiesReadOnly.None, data.WrappedData, this) - { - Data = data.WrappedData.AllowedLevelIncreaseStorage - }; + return new ConfirmingLogNormalDistributionProperties( + DistributionPropertiesReadOnly.None, + data.WrappedData.AllowedLevelIncreaseStorage, + data.Calculation, + data.WrappedData, + propertyChangeHandler); } } @@ -473,17 +475,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_Schematization))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_CriticalOvertoppingDischarge_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_CriticalOvertoppingDischarge_Description))] - public VariationCoefficientLogNormalDistributionProperties CriticalOvertoppingDischarge + public ConfirmingVariationCoefficientLogNormalDistributionProperties CriticalOvertoppingDischarge { get { - return new VariationCoefficientLogNormalDistributionProperties( + return new ConfirmingVariationCoefficientLogNormalDistributionProperties( VariationCoefficientDistributionPropertiesReadOnly.None, + data.WrappedData.CriticalOvertoppingDischarge, + data.Calculation, data.WrappedData, - this) - { - Data = data.WrappedData.CriticalOvertoppingDischarge - }; + propertyChangeHandler); } } @@ -585,17 +586,16 @@ [ResourcesCategory(typeof(Resources), nameof(Resources.Categories_HydraulicData))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.Structure_StormDuration_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.Structure_StormDuration_Description))] - public VariationCoefficientLogNormalDistributionProperties StormDuration + public ConfirmingVariationCoefficientLogNormalDistributionProperties StormDuration { get { - return new VariationCoefficientLogNormalDistributionProperties( + return new ConfirmingVariationCoefficientLogNormalDistributionProperties( VariationCoefficientDistributionPropertiesReadOnly.CoefficientOfVariation, + data.WrappedData.StormDuration, + data.Calculation, data.WrappedData, - this) - { - Data = data.WrappedData.StormDuration - }; + propertyChangeHandler); } }