Fisheye: Tag c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LognormalDistributionProperties.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LognormalDistributionProperties.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LognormalDistributionProperties.cs (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -0,0 +1,78 @@
+// 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.ComponentModel;
+using Core.Common.Base;
+using Core.Common.Base.Data;
+using Core.Common.Gui.PropertyBag;
+using Core.Common.Utils.Attributes;
+using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Forms.Properties;
+
+namespace Ringtoets.Common.Forms.PropertyClasses
+{
+ ///
+ /// An implementation for
+ /// properties.
+ ///
+ [TypeConverter(typeof(ExpandableObjectConverter))]
+ public class LognormalDistributionProperties : DistributionProperties
+ {
+ public LognormalDistributionProperties(IObservable observerable)
+ {
+ Observerable = observerable;
+ }
+
+ public override string DistributionType
+ {
+ get
+ {
+ return "Lognormaal";
+ }
+ }
+
+ [ResourcesDescription(typeof(Resources), "LognormalDistribution_Mean_Description")]
+ public override RoundedDouble Mean
+ {
+ get
+ {
+ return base.Mean;
+ }
+ set
+ {
+ base.Mean = value;
+ }
+ }
+
+ [ResourcesDescription(typeof(Resources), "LogNormalDistribution_StandardDeviation_Description")]
+ public override RoundedDouble StandardDeviation
+ {
+ get
+ {
+ return base.StandardDeviation;
+ }
+ set
+ {
+ base.StandardDeviation = value;
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/ReadOnlyLogNormalDistributionProperties.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/ReadOnlyLognormalDistributionProperties.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/ReadOnlyLognormalDistributionProperties.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/ReadOnlyLognormalDistributionProperties.cs (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -0,0 +1,66 @@
+// 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.ComponentModel;
+using Core.Common.Base.Data;
+using Core.Common.Gui.PropertyBag;
+using Ringtoets.Common.Data.Probabilistics;
+
+namespace Ringtoets.Common.Forms.PropertyClasses
+{
+ ///
+ /// A read-only implementation for
+ /// properties.
+ ///
+ public class ReadOnlyLognormalDistributionProperties : LognormalDistributionProperties
+ {
+ ///
+ /// Creates a new instance of the class.
+ ///
+ public ReadOnlyLognormalDistributionProperties() : base(null) {}
+
+ public override string DistributionType
+ {
+ get
+ {
+ return "Lognormaal";
+ }
+ }
+
+ [ReadOnly(true)]
+ public override RoundedDouble Mean
+ {
+ get
+ {
+ return base.Mean;
+ }
+ }
+
+ [ReadOnly(true)]
+ public override RoundedDouble StandardDeviation
+ {
+ get
+ {
+ return base.StandardDeviation;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj
===================================================================
diff -u -rb9d20365707e77623054f96f0c8b544e86658e67 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision b9d20365707e77623054f96f0c8b544e86658e67)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -62,8 +62,8 @@
Resources.resx
-
-
+
+
Fisheye: Tag c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/LogNormalDistributionPropertiesTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/LognormalDistributionPropertiesTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/LognormalDistributionPropertiesTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/LognormalDistributionPropertiesTest.cs (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -0,0 +1,186 @@
+// 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;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using Core.Common.Base;
+using Core.Common.Base.Data;
+using Core.Common.Gui.PropertyBag;
+using Core.Common.Utils.Attributes;
+using NUnit.Framework;
+using Rhino.Mocks;
+using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Forms.PropertyClasses;
+
+namespace Ringtoets.Common.Forms.Test.PropertyClasses
+{
+ [TestFixture]
+ public class LognormalDistributionPropertiesTest
+ {
+ private MockRepository mockRepository;
+
+ [SetUp]
+ public void SetUp()
+ {
+ mockRepository = new MockRepository();
+ }
+
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Setup
+ var observerable = mockRepository.StrictMock();
+ mockRepository.ReplayAll();
+
+ // Call
+ var properties = new LognormalDistributionProperties(observerable);
+
+ // Assert
+ Assert.IsInstanceOf(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Lognormaal", properties.DistributionType);
+ mockRepository.VerifyAll();
+ }
+
+ [Test]
+ public void PropertyAttributes_ReturnExpectedValues()
+ {
+ // Setup
+ var observerable = mockRepository.StrictMock();
+ mockRepository.ReplayAll();
+
+ // Call
+ var properties = new LognormalDistributionProperties(observerable);
+
+ // Assert
+ TypeConverter classTypeConverter = TypeDescriptor.GetConverter(properties, true);
+ Assert.IsInstanceOf(classTypeConverter);
+
+ var dynamicPropertyBag = new DynamicPropertyBag(properties);
+ PropertyDescriptorCollection dynamicProperties = dynamicPropertyBag.GetProperties();
+ Assert.AreEqual(4, dynamicProperties.Count);
+
+ var meanAttributes = Attribute.GetCustomAttributes(properties.GetType().GetProperty("Mean"));
+ Assert.IsNotNull(meanAttributes);
+ AssertAttributesOfType(meanAttributes, "Verwachtingswaarde",
+ attribute => attribute.DisplayName);
+ AssertAttributesOfType(meanAttributes,
+ "De gemiddelde waarde van de lognormale verdeling.",
+ attribute => attribute.Description);
+
+ var standardAttributes = Attribute.GetCustomAttributes(properties.GetType().GetProperty("StandardDeviation"));
+ Assert.IsNotNull(standardAttributes);
+ AssertAttributesOfType(standardAttributes, "Standaardafwijking",
+ attribute => attribute.DisplayName);
+ AssertAttributesOfType(standardAttributes,
+ "De standaardafwijking van de lognormale verdeling.",
+ attribute => attribute.Description);
+
+ mockRepository.VerifyAll();
+ }
+
+ [Test]
+ public void SetProperties_MeanWithoutObserverable_ThrowsArgumentException()
+ {
+ // Setup
+ var properties = new LognormalDistributionProperties(null)
+ {
+ Data = new LognormalDistribution(2),
+ };
+
+ // Call
+ TestDelegate test = () => properties.Mean = new RoundedDouble(2, 20);
+
+ // Assert
+ Assert.Throws(test);
+ }
+
+ [Test]
+ public void SetProperties_StandardDeviationWithoutObserverable_ThrowsArgumentException()
+ {
+ // Setup
+ var properties = new LognormalDistributionProperties(null)
+ {
+ Data = new LognormalDistribution(2)
+ };
+
+ // Call
+ TestDelegate test = () => properties.StandardDeviation = new RoundedDouble(2, 20);
+
+ // Assert
+ Assert.Throws(test);
+ }
+
+ [Test]
+ public void SetProperties_MeanWithObserverable_ValueSetNotifyObservers()
+ {
+ // Setup
+ var observerableMock = mockRepository.StrictMock();
+ observerableMock.Expect(o => o.NotifyObservers()).Repeat.Once();
+ var properties = new LognormalDistributionProperties(observerableMock)
+ {
+ Data = new LognormalDistribution(3)
+ };
+ mockRepository.ReplayAll();
+ RoundedDouble newMeanValue = new RoundedDouble(3, 20);
+
+ // Call
+ properties.Mean = newMeanValue;
+
+ // Assert
+ Assert.AreEqual(newMeanValue, properties.Mean);
+ mockRepository.VerifyAll();
+ }
+
+ [Test]
+ public void SetProperties_StandardDeviationWithObserverable_ValueSetNotifyObservers()
+ {
+ // Setup
+ var observerableMock = mockRepository.StrictMock();
+ observerableMock.Expect(o => o.NotifyObservers()).Repeat.Once();
+ var properties = new LognormalDistributionProperties(observerableMock)
+ {
+ Data = new LognormalDistribution(3)
+ };
+ mockRepository.ReplayAll();
+ RoundedDouble newStandardDeviationValue = new RoundedDouble(3, 20);
+
+ // Call
+ properties.StandardDeviation = newStandardDeviationValue;
+
+ // Assert
+ Assert.AreEqual(newStandardDeviationValue, properties.StandardDeviation);
+ mockRepository.VerifyAll();
+ }
+
+ private static void AssertAttributesOfType(IEnumerable attributes, TR expectedValue,
+ Func action)
+ {
+ var meanDisplayNameAttribute = attributes.OfType();
+ Assert.IsNotNull(meanDisplayNameAttribute);
+ var e = meanDisplayNameAttribute.FirstOrDefault();
+ Assert.IsNotNull(e);
+ Assert.AreEqual(expectedValue, action(e));
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/ReadOnlyLogNormalDistributionPropertiesTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/ReadOnlyLognormalDistributionPropertiesTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/ReadOnlyLognormalDistributionPropertiesTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/ReadOnlyLognormalDistributionPropertiesTest.cs (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -0,0 +1,99 @@
+// 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;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using Core.Common.Gui.PropertyBag;
+using Core.Common.Utils.Attributes;
+using Core.Common.Utils.Reflection;
+
+using NUnit.Framework;
+using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Forms.PropertyClasses;
+
+namespace Ringtoets.Common.Forms.Test.PropertyClasses
+{
+ [TestFixture]
+ public class ReadOnlyLognormalDistributionPropertiesTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var properties = new ReadOnlyLognormalDistributionProperties();
+
+ // Assert
+ Assert.IsInstanceOf(properties);
+ Assert.IsNull(properties.Data);
+ Assert.AreEqual("Lognormaal", properties.DistributionType);
+ }
+
+ [Test]
+ public void PropertyAttributes_ReturnExpectedValues()
+ {
+ // Call
+ var properties = new ReadOnlyLognormalDistributionProperties
+ {
+ Data = new LognormalDistribution(1)
+ };
+
+ // Assert
+ TypeConverter classTypeConverter = TypeDescriptor.GetConverter(properties, true);
+ Assert.IsInstanceOf(classTypeConverter);
+
+ var dynamicPropertyBag = new DynamicPropertyBag(properties);
+ PropertyDescriptorCollection dynamicProperties = dynamicPropertyBag.GetProperties();
+ Assert.AreEqual(4, dynamicProperties.Count);
+
+ string meanPropertyName = TypeUtils.GetMemberName(d => d.Mean);
+ var meanAttributes = Attribute.GetCustomAttributes(properties.GetType().GetProperty(meanPropertyName));
+ Assert.IsNotNull(meanAttributes);
+ AssertAttributesOfType(meanAttributes, true, attribute => attribute.IsReadOnly);
+ AssertAttributesOfType(meanAttributes, "Verwachtingswaarde",
+ attribute => attribute.DisplayName);
+ AssertAttributesOfType(meanAttributes,
+ "De gemiddelde waarde van de lognormale verdeling.",
+ attribute => attribute.Description);
+
+ string standardDeviationPropertyName = TypeUtils.GetMemberName(d => d.StandardDeviation);
+ var standardAttributes = Attribute.GetCustomAttributes(properties.GetType().GetProperty(standardDeviationPropertyName));
+ Assert.IsNotNull(standardAttributes);
+ AssertAttributesOfType(standardAttributes, true, attribute => attribute.IsReadOnly);
+ AssertAttributesOfType(standardAttributes, "Standaardafwijking",
+ attribute => attribute.DisplayName);
+ AssertAttributesOfType(standardAttributes,
+ "De standaardafwijking van de lognormale verdeling.",
+ attribute => attribute.Description);
+ }
+
+ private static void AssertAttributesOfType(IEnumerable attributes, TR expectedValue,
+ Func action)
+ {
+ var meanDisplayNameAttribute = attributes.OfType();
+ Assert.IsNotNull(meanDisplayNameAttribute);
+ var e = meanDisplayNameAttribute.FirstOrDefault();
+ Assert.IsNotNull(e);
+ Assert.AreEqual(expectedValue, action(e));
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj
===================================================================
diff -u -rb9d20365707e77623054f96f0c8b544e86658e67 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision b9d20365707e77623054f96f0c8b544e86658e67)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -67,8 +67,8 @@
-
-
+
+
Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs
===================================================================
diff -u -re33142dbef9179542701614bc0585df5e3c1bae5 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs (.../GrassCoverErosionInwardsInputContextProperties.cs) (revision e33142dbef9179542701614bc0585df5e3c1bae5)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs (.../GrassCoverErosionInwardsInputContextProperties.cs) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -130,11 +130,11 @@
[ResourcesCategory(typeof(Resources), "Categories_CriticalValues")]
[ResourcesDisplayName(typeof(Resources), "CriticalFlowRate_DisplayName")]
[ResourcesDescription(typeof(Resources), "CriticalFlowRate_Description")]
- public LogNormalDistributionProperties CriticalFlowRate
+ public LognormalDistributionProperties CriticalFlowRate
{
get
{
- return new LogNormalDistributionProperties(data.WrappedData)
+ return new LognormalDistributionProperties(data.WrappedData)
{
Data = data.WrappedData.CriticalFlowRate
};
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/DikeGeometryPropertiesTest.cs
===================================================================
diff -u -r954df4af6d46b3b5a9d7c2522f692923d2f6a716 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/DikeGeometryPropertiesTest.cs (.../DikeGeometryPropertiesTest.cs) (revision 954df4af6d46b3b5a9d7c2522f692923d2f6a716)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PropertyClasses/DikeGeometryPropertiesTest.cs (.../DikeGeometryPropertiesTest.cs) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -103,13 +103,8 @@
new Point2D(0, 0),
new Point2D(1, 1)
};
- Assert.AreEqual(expectedCoordinates.Length, properties.Coordinates.Length);
- for (var i = 0; i < expectedCoordinates.Length; i++)
- {
- Assert.AreEqual(expectedCoordinates[i].X, properties.Coordinates[i].X);
- Assert.AreEqual(expectedCoordinates[i].Y, properties.Coordinates[i].Y);
- }
CollectionAssert.AreEqual(expectedCoordinates, properties.Coordinates);
+
var expectedRoughness = new[]
{
new RoundedDouble(2, 2)
Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs
===================================================================
diff -u -r2dc3f17db9958ee4146f90efd7d38eb335ef822f -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs (.../HeightStructuresFailureMechanismContextProperties.cs) (revision 2dc3f17db9958ee4146f90efd7d38eb335ef822f)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs (.../HeightStructuresFailureMechanismContextProperties.cs) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -109,11 +109,11 @@
[ResourcesCategory(typeof(Resources), "Categories_ModelSettings")]
[ResourcesDisplayName(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorOvertoppingFlow_DisplayName")]
[ResourcesDescription(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorOvertoppingFlow_Description")]
- public ReadOnlyLogNormalDistributionProperties ModelFactorOvertoppingFlow
+ public ReadOnlyLognormalDistributionProperties ModelFactorOvertoppingFlow
{
get
{
- return new ReadOnlyLogNormalDistributionProperties
+ return new ReadOnlyLognormalDistributionProperties
{
Data = data.WrappedData.GeneralInput.ModelFactorOvertoppingFlow
};
@@ -124,11 +124,11 @@
[ResourcesCategory(typeof(Resources), "Categories_ModelSettings")]
[ResourcesDisplayName(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorForStorageVolume_DisplayName")]
[ResourcesDescription(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorForStorageVolume_Description")]
- public ReadOnlyLogNormalDistributionProperties ModelFactorForStorageVolume
+ public ReadOnlyLognormalDistributionProperties ModelFactorForStorageVolume
{
get
{
- return new ReadOnlyLogNormalDistributionProperties
+ return new ReadOnlyLognormalDistributionProperties
{
Data = data.WrappedData.GeneralInput.ModelFactorForStorageVolume
};
Index: Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.Designer.cs
===================================================================
diff -u -r915d8a66e5d294a18f9452775406e36a3f8fbdc0 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 915d8a66e5d294a18f9452775406e36a3f8fbdc0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -169,15 +169,6 @@
}
///
- /// Looks up a localized string similar to Gemiddelde moet groter zijn dan 0..
- ///
- public static string LognormalDistribution_Mean_must_be_greater_equal_to_zero {
- get {
- return ResourceManager.GetString("LognormalDistribution_Mean_must_be_greater_equal_to_zero", resourceCulture);
- }
- }
-
- ///
/// Looks up a localized string similar to Nieuwe berekening.
///
public static string PipingCalculation_DefaultName {
Index: Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.resx
===================================================================
diff -u -r915d8a66e5d294a18f9452775406e36a3f8fbdc0 -rc4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf
--- Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.resx (.../Resources.resx) (revision 915d8a66e5d294a18f9452775406e36a3f8fbdc0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Primitives/Properties/Resources.resx (.../Resources.resx) (revision c4575c18c9ec585bd4cdc0edb2142c8a5ae9bacf)
@@ -132,9 +132,6 @@
Kans moet in het bereik van [0, 1] opgegeven worden.
-
- Gemiddelde moet groter zijn dan 0.
-
Kan geen hoogte bepalen op het punt L={0}, omdat de profielschematisatie verticaal loopt op dat punt.