Index: src/Deltares.DSoilModel.Forms/DSoilModelContext.cs
===================================================================
diff -u -r560 -r603
--- src/Deltares.DSoilModel.Forms/DSoilModelContext.cs (.../DSoilModelContext.cs) (revision 560)
+++ src/Deltares.DSoilModel.Forms/DSoilModelContext.cs (.../DSoilModelContext.cs) (revision 603)
@@ -4,6 +4,7 @@
using Deltares.DSoilModel.Data;
using Deltares.Geotechnics;
using Deltares.Geotechnics.ConePenetrationTest;
+using Deltares.Probabilistic;
using Deltares.Standard.Attributes;
using Deltares.Standard.Forms.DExpress;
using Deltares.Standard.Reflection;
@@ -375,7 +376,6 @@
/// A collection of domain object; Null if no override.
public override ICollection GetDomain(object source, string member)
{
- // not yet implemented here (yet)
if (source is Soil && member == StaticReflection.GetMemberName(s => s.ShearStrengthModel))
{
return new List
@@ -385,6 +385,15 @@
ShearStrengthModel.None
};
}
+ if (source is Stochast && member == StaticReflection.GetMemberName(s => s.DistributionType))
+ {
+ return new List
+ {
+ DistributionType.Deterministic,
+ DistributionType.Normal,
+ DistributionType.LogNormal
+ };
+ }
return null;
}