Index: Ringtoets/Piping/src/Ringtoets.Piping.Calculation/Piping/PipingSemiProbabilisticDesignValueFactory.cs
===================================================================
diff -u -r8ab8e38488feea6de520f6d58ec664acb28ee8a1 -r5076e379f409c3b5ba41eb98256e3dd5d140571c
--- Ringtoets/Piping/src/Ringtoets.Piping.Calculation/Piping/PipingSemiProbabilisticDesignValueFactory.cs (.../PipingSemiProbabilisticDesignValueFactory.cs) (revision 8ab8e38488feea6de520f6d58ec664acb28ee8a1)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Calculation/Piping/PipingSemiProbabilisticDesignValueFactory.cs (.../PipingSemiProbabilisticDesignValueFactory.cs) (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -8,22 +8,6 @@
///
public static class PipingSemiProbabilisticDesignValueFactory
{
- #region Uplift parameters
-
- ///
- /// Creates the design variable for .
- ///
- public static DesignVariable GetSandParticlesVolumicWeight(PipingData pipingData)
- {
- return new DesignVariable
- {
- Distribution = pipingData.SandParticlesVolumicWeight,
- Percentile = 0.05
- };
- }
-
- #endregion
-
#region General parameters
///
Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingData.cs
===================================================================
diff -u -r8ab8e38488feea6de520f6d58ec664acb28ee8a1 -r5076e379f409c3b5ba41eb98256e3dd5d140571c
--- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingData.cs (.../PipingData.cs) (revision 8ab8e38488feea6de520f6d58ec664acb28ee8a1)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingData.cs (.../PipingData.cs) (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -20,8 +20,10 @@
// Defaults as they have been defined in 'functional design semi-probabilistic assessments 1209431-008-ZWS-0009 Version 2 Final'
UpliftModelFactor = 1.0;
+ SellmeijerModelFactor = 1.0;
WaterVolumetricWeight = 10.0;
WhitesDragCoefficient = 0.25;
+ SandParticlesVolumicWeight = 16.5;
WaterKinematicViscosity = 1.33e-6;
Gravity = 9.81;
MeanDiameter70 = 2.08e-4;
@@ -32,7 +34,6 @@
PhreaticLevelExit = new NormalDistribution();
DampingFactorExit = new LognormalDistribution { Mean = 1.0 };
ThicknessCoverageLayer = new LognormalDistribution();
- SandParticlesVolumicWeight = new ShiftedLognormalDistribution { Mean = 16.5 };
SeepageLength = new LognormalDistribution();
Diameter70 = new LognormalDistribution();
DarcyPermeability = new LognormalDistribution();
@@ -56,6 +57,12 @@
public double WaterVolumetricWeight { get; set; }
///
+ /// Gets or sets the (lowerbound) volumic weight of sand grain material of a sand layer under water.
+ /// [kN/m³]
+ ///
+ public double SandParticlesVolumicWeight { get; set; }
+
+ ///
/// Gets or sets the White's drag coefficient.
///
public double WhitesDragCoefficient { get; set; }
@@ -157,12 +164,6 @@
public LognormalDistribution ThicknessCoverageLayer { get; set; }
///
- /// Gets or sets the (lowerbound) volumic weight of sand grain material of a sand layer under water.
- /// [kN/m³]
- ///
- public ShiftedLognormalDistribution SandParticlesVolumicWeight { get; set; }
-
- ///
/// Gets or sets the damping factor at the exit point.
///
public LognormalDistribution DampingFactorExit { get; set; }
Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingSoilLayer.cs
===================================================================
diff -u -r6692dc3480971fe1c017aef633382c40eb37056f -r5076e379f409c3b5ba41eb98256e3dd5d140571c
--- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingSoilLayer.cs (.../PipingSoilLayer.cs) (revision 6692dc3480971fe1c017aef633382c40eb37056f)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingSoilLayer.cs (.../PipingSoilLayer.cs) (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -26,12 +26,14 @@
public double? IsAquifer { get; set; }
///
- /// Gets or sets the above phreatic level for the .
+ /// Gets or sets the volumic weight of the above the phreatic level.
+ /// [kN/m³]
///
public double? AbovePhreaticLevel { get; set; }
///
- /// Gets or sets the below phreatic level for the .
+ /// Gets or sets the volumic weight of the below the phreatic level.
+ /// [kN/m³]
///
public double? BelowPhreaticLevel { get; set; }
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingCalculationInputsProperties.cs
===================================================================
diff -u -r8ab8e38488feea6de520f6d58ec664acb28ee8a1 -r5076e379f409c3b5ba41eb98256e3dd5d140571c
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingCalculationInputsProperties.cs (.../PipingCalculationInputsProperties.cs) (revision 8ab8e38488feea6de520f6d58ec664acb28ee8a1)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingCalculationInputsProperties.cs (.../PipingCalculationInputsProperties.cs) (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -3,6 +3,8 @@
using System.Drawing.Design;
using Core.Common.Gui;
using Core.Common.Utils;
+
+using Ringtoets.Piping.Calculation.Piping;
using Ringtoets.Piping.Data;
using Ringtoets.Piping.Data.Probabilistics;
using Ringtoets.Piping.Forms.PresentationObjects;
@@ -95,36 +97,36 @@
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_DampingFactorExit_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_DampingFactorExit_Description")]
- public LognormalDistribution DampingFactorExit
+ public DesignVariable DampingFactorExit
{
get
{
- return data.PipingData.DampingFactorExit;
+ return PipingSemiProbabilisticDesignValueFactory.GetDampingFactorExit(data.PipingData);
}
set
{
- data.PipingData.DampingFactorExit = value;
+ data.PipingData.DampingFactorExit = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
- [TypeConverter(typeof(NormalDistributionTypeConverter))]
+ [TypeConverter(typeof(NormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_PhreaticLevelExit_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_PhreaticLevelExit_Description")]
- public NormalDistribution PhreaticLevelExit
+ public DesignVariable PhreaticLevelExit
{
get
{
- return data.PipingData.PhreaticLevelExit;
+ return PipingSemiProbabilisticDesignValueFactory.GetPhreaticLevelExit(data.PipingData);
}
set
{
- data.PipingData.PhreaticLevelExit = value;
+ data.PipingData.PhreaticLevelExit = (NormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
@@ -156,19 +158,19 @@
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_ThicknessCoverageLayer_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_ThicknessCoverageLayer_Description")]
- public LognormalDistribution ThicknessCoverageLayer
+ public DesignVariable ThicknessCoverageLayer
{
get
{
- return data.PipingData.ThicknessCoverageLayer;
+ return PipingSemiProbabilisticDesignValueFactory.GetThicknessCoverageLayer(data.PipingData);
}
set
{
- data.PipingData.ThicknessCoverageLayer = value;
+ data.PipingData.ThicknessCoverageLayer = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
@@ -205,28 +207,27 @@
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_SeepageLength_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_SeepageLength_Description")]
- public LognormalDistribution SeepageLength
+ public DesignVariable SeepageLength
{
get
{
- return data.PipingData.SeepageLength;
+ return PipingSemiProbabilisticDesignValueFactory.GetSeepageLength(data.PipingData);
}
set
{
- data.PipingData.SeepageLength = value;
+ data.PipingData.SeepageLength = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
- [TypeConverter(typeof(ShiftedLognormalDistributionTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_SandParticlesVolumicWeight_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_SandParticlesVolumicWeight_Description")]
- public ShiftedLognormalDistribution SandParticlesVolumicWeight
+ public double SandParticlesVolumicWeight
{
get
{
@@ -255,36 +256,36 @@
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_Diameter70_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_Diameter70_Description")]
- public LognormalDistribution Diameter70
+ public DesignVariable Diameter70
{
get
{
- return data.PipingData.Diameter70;
+ return PipingSemiProbabilisticDesignValueFactory.GetDiameter70(data.PipingData);
}
set
{
- data.PipingData.Diameter70 = value;
+ data.PipingData.Diameter70 = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_DarcyPermeability_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_DarcyPermeability_Description")]
- public LognormalDistribution DarcyPermeability
+ public DesignVariable DarcyPermeability
{
get
{
- return data.PipingData.DarcyPermeability;
+ return PipingSemiProbabilisticDesignValueFactory.GetDarcyPermeability(data.PipingData);
}
set
{
- data.PipingData.DarcyPermeability = value;
+ data.PipingData.DarcyPermeability = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
@@ -321,19 +322,19 @@
}
}
- [TypeConverter(typeof(LognormalDistributionTypeConverter))]
+ [TypeConverter(typeof(LognormalDistributionDesignVariableTypeConverter))]
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "PipingData_ThicknessAquiferLayer_DisplayName")]
[ResourcesDescription(typeof(Resources), "PipingData_ThicknessAquiferLayer_Description")]
- public LognormalDistribution ThicknessAquiferLayer
+ public DesignVariable ThicknessAquiferLayer
{
get
{
- return data.PipingData.ThicknessAquiferLayer;
+ return PipingSemiProbabilisticDesignValueFactory.GetThicknessAquiferLayer(data.PipingData);
}
set
{
- data.PipingData.ThicknessAquiferLayer = value;
+ data.PipingData.ThicknessAquiferLayer = (LognormalDistribution)value.Distribution;
data.PipingData.NotifyObservers();
}
}
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj
===================================================================
diff -u -r21c58fc28e5675736f50be6e06b2605120991478 -r5076e379f409c3b5ba41eb98256e3dd5d140571c
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj (.../Ringtoets.Piping.Forms.csproj) (revision 21c58fc28e5675736f50be6e06b2605120991478)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj (.../Ringtoets.Piping.Forms.csproj) (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -74,11 +74,13 @@
-
-
-
-
-
+
+
+
+
+
+
+
@@ -110,6 +112,10 @@
Core.Common.Version
False
+
+ {d64e4f0e-e341-496f-82b2-941ad202b4e3}
+ Ringtoets.Piping.Calculation
+
{10B8D63D-87E8-46DF-ACA9-A8CF22EE8FB5}
Ringtoets.Piping.Service
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/DesignVariableTypeConverter.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/DesignVariableTypeConverter.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/DesignVariableTypeConverter.cs (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -0,0 +1,150 @@
+using System;
+using System.ComponentModel;
+using System.Globalization;
+using System.Linq;
+using System.Linq.Expressions;
+using Core.Common.Base;
+using Core.Common.Utils.PropertyBag.Dynamic;
+
+using Ringtoets.Piping.Data.Probabilistics;
+using Ringtoets.Piping.Forms.PresentationObjects;
+using Ringtoets.Piping.Forms.PropertyClasses;
+using Ringtoets.Piping.Forms.TypeConverters.PropertyDescriptors;
+
+namespace Ringtoets.Piping.Forms.TypeConverters
+{
+ ///
+ /// Base class for shared implementation of to provide probabilistic
+ /// distributions to the property editor.
+ ///
+ /// Type of distributionci
+ public abstract class DesignVariableTypeConverter : TypeConverter where T:IDistribution
+ {
+ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
+ {
+ if (destinationType == typeof(string))
+ {
+ var designVariable = (DesignVariable)value;
+ var variablesText = string.Join(", ", Parameters.Select(p => p.GetSummary((T)designVariable.Distribution, culture)));
+ return String.Format("{0} ({1})", designVariable.GetDesignValue(), variablesText);
+ }
+ return base.ConvertTo(context, culture, value, destinationType);
+ }
+
+ public override bool GetPropertiesSupported(ITypeDescriptorContext context)
+ {
+ return true;
+ }
+
+ public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
+ {
+ IObservable observableParent = GetObservableOwnerOfDistribution(context);
+
+ var designVariable = (DesignVariable)value;
+ PropertyDescriptorCollection propertyDescriptorCollection = TypeDescriptor.GetProperties(designVariable.Distribution);
+ var properties = new PropertyDescriptor[Parameters.Length+2];
+ properties[0] = new SimpleReadonlyPropertyDescriptorItem("Type verdeling", "De soort kansverdeling waarin deze parameter in gedefiniëerd wordt.", "DistributionType", DistributionName);
+ for (int i = 0; i < Parameters.Length; i++)
+ {
+ properties[i+1] = CreatePropertyDescriptor(propertyDescriptorCollection, Parameters[i], observableParent);
+ }
+ properties[Parameters.Length + 1] = new SimpleReadonlyPropertyDescriptorItem("Rekenwaarde", "De representatieve waarde die gebruikt wordt door de berekening.", "DesignValue", designVariable.GetDesignValue());
+
+ return new PropertyDescriptorCollection(properties);
+ }
+
+ ///
+ /// Gets the name of the distribution.
+ ///
+ protected abstract string DistributionName { get; }
+
+ ///
+ /// Gets all parameters available for the given distribution.
+ ///
+ protected abstract ParameterDefinition[] Parameters { get; }
+
+ private static PropertyDescriptor CreatePropertyDescriptor(PropertyDescriptorCollection originalProperties, ParameterDefinition parameter, IObservable observableParent)
+ {
+ PropertyDescriptor originalMeanPropertyDescriptor = originalProperties.Find(parameter.PropertyName, false);
+ var reroutedPropertyDescriptor = new RoutedPropertyDescriptor(originalMeanPropertyDescriptor, o => ((DesignVariable)o).Distribution);
+ return new TextPropertyDescriptorDecorator(reroutedPropertyDescriptor,
+ parameter.Symbol,
+ parameter.Description)
+ {
+ ObservableParent = observableParent,
+ };
+ }
+
+ private static IObservable GetObservableOwnerOfDistribution(ITypeDescriptorContext context)
+ {
+ if (context == null)
+ {
+ return null;
+ }
+ // Sadly, we need this hack in order to update the correct class
+ var dynamicPropertyBag = context.Instance as DynamicPropertyBag;
+ if (dynamicPropertyBag == null)
+ {
+ return null;
+ }
+
+ // Note: If this type converter is going to be reused for other classes, we
+ // might want to reconsider how we want to propagate IObservable updates!
+ var pipingCalculationInputProperties = dynamicPropertyBag.WrappedObject as PipingCalculationInputsProperties;
+ return pipingCalculationInputProperties != null ?
+ ((PipingCalculationInputs)pipingCalculationInputProperties.Data).PipingData :
+ null;
+ }
+
+ ///
+ /// A generic parameter description class.
+ ///
+ /// Type of object which as the parameter.
+ protected class ParameterDefinition
+ {
+ ///
+ /// Instantiates a new instance of for a
+ /// given parameter.
+ ///
+ /// The parameter expression.
+ public ParameterDefinition(Expression> expression)
+ {
+ PropertyName = ((MemberExpression)expression.Body).Member.Name;
+ GetValue = expression.Compile();
+ }
+
+ ///
+ /// The symbol of name of the parameter.
+ ///
+ public string Symbol { get; set; }
+
+ ///
+ /// Name of the property holding the parameter
+ ///
+ public string PropertyName { get; private set; }
+
+ ///
+ /// Method to retrieve the value of the parameter from a distribution.
+ ///
+ public Func GetValue { get; private set; }
+
+ ///
+ /// Description text of the parameter.
+ ///
+ public string Description { get; set; }
+
+ ///
+ /// Retrieves the 'symbol = value' text.
+ ///
+ /// The distribution of evaluate.
+ /// The culture used to print text in.
+ /// The summay text of the parameter.
+ public string GetSummary(DistributionType distribution, CultureInfo culture)
+ {
+ return String.Format("{0} = {1}",
+ Symbol,
+ GetValue(distribution).ToString(culture));
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/LognormalDistributionDesignVariableTypeConverter.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/LognormalDistributionDesignVariableTypeConverter.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/LognormalDistributionDesignVariableTypeConverter.cs (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -0,0 +1,59 @@
+using System;
+using System.ComponentModel;
+
+using Ringtoets.Piping.Data.Probabilistics;
+using Ringtoets.Piping.Forms.Properties;
+using Ringtoets.Piping.Forms.PropertyClasses;
+
+namespace Ringtoets.Piping.Forms.TypeConverters
+{
+ ///
+ /// A implementation for
+ /// properties.
+ ///
+ /// This class has been designed to be used in .
+ /// If its reused somewhere else, change notification might not work properly.
+ public sealed class LognormalDistributionDesignVariableTypeConverter : DesignVariableTypeConverter
+ {
+ private readonly ParameterDefinition[] parameters;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public LognormalDistributionDesignVariableTypeConverter()
+ {
+ var lowerCaseDistributionName = DistributionName.ToLower();
+ parameters = new[]
+ {
+ new ParameterDefinition(d => d.Mean)
+ {
+ Symbol = Resources.Probabilistics_Mean_Symbol,
+ Description = String.Format(Resources.Probabilistics_Mean_description_for_Distribution_0_,
+ lowerCaseDistributionName)
+ },
+ new ParameterDefinition(d => d.StandardDeviation)
+ {
+ Symbol = Resources.Probabilistics_StandardDeviation_Symbol,
+ Description = String.Format(Resources.Probabilistics_StandardDeviation_description_for_Distribution_0_,
+ lowerCaseDistributionName)
+ }
+ };
+ }
+
+ protected override string DistributionName
+ {
+ get
+ {
+ return Resources.LognormalDistribution_DisplayName;
+ }
+ }
+
+ protected override ParameterDefinition[] Parameters
+ {
+ get
+ {
+ return parameters;
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 5076e379f409c3b5ba41eb98256e3dd5d140571c refers to a dead (removed) revision in file `Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/LognormalDistributionTypeConverter.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/NormalDistributionDesignVariableTypeConverter.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/NormalDistributionDesignVariableTypeConverter.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/NormalDistributionDesignVariableTypeConverter.cs (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -0,0 +1,59 @@
+using System;
+using System.ComponentModel;
+
+using Ringtoets.Piping.Data.Probabilistics;
+using Ringtoets.Piping.Forms.Properties;
+using Ringtoets.Piping.Forms.PropertyClasses;
+
+namespace Ringtoets.Piping.Forms.TypeConverters
+{
+ ///
+ /// A implementation for
+ /// properties.
+ ///
+ /// This class has been designed to be used in .
+ /// If its reused somewhere else, change notification might not work properly.
+ public sealed class NormalDistributionDesignVariableTypeConverter : DesignVariableTypeConverter
+ {
+ private readonly ParameterDefinition[] parameters;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public NormalDistributionDesignVariableTypeConverter()
+ {
+ var lowerCaseDistributionName = DistributionName.ToLower();
+ parameters = new[]
+ {
+ new ParameterDefinition(d => d.Mean)
+ {
+ Symbol = Resources.Probabilistics_Mean_Symbol,
+ Description = String.Format(Resources.Probabilistics_Mean_description_for_Distribution_0_,
+ lowerCaseDistributionName)
+ },
+ new ParameterDefinition(d => d.StandardDeviation)
+ {
+ Symbol = Resources.Probabilistics_StandardDeviation_Symbol,
+ Description = String.Format(Resources.Probabilistics_StandardDeviation_description_for_Distribution_0_,
+ lowerCaseDistributionName)
+ }
+ };
+ }
+
+ protected override string DistributionName
+ {
+ get
+ {
+ return Resources.NormalDistribution_DisplayName;
+ }
+ }
+
+ protected override ParameterDefinition[] Parameters
+ {
+ get
+ {
+ return parameters;
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag 5076e379f409c3b5ba41eb98256e3dd5d140571c refers to a dead (removed) revision in file `Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/NormalDistributionTypeConverter.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 5076e379f409c3b5ba41eb98256e3dd5d140571c refers to a dead (removed) revision in file `Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/ProbabilisticDistributionTypeConverter.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/PropertyDescriptors/RoutedPropertyDescriptor.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/PropertyDescriptors/RoutedPropertyDescriptor.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/TypeConverters/PropertyDescriptors/RoutedPropertyDescriptor.cs (revision 5076e379f409c3b5ba41eb98256e3dd5d140571c)
@@ -0,0 +1,67 @@
+using System;
+using System.ComponentModel;
+
+namespace Ringtoets.Piping.Forms.TypeConverters.PropertyDescriptors
+{
+ public class RoutedPropertyDescriptor : PropertyDescriptor
+ {
+ private readonly Func