Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs =================================================================== diff -u -r0faea705e7f83205f8420c52edda8a5473485bcd -r614c1aa4bf54ed2852d93a58ba8d49b549d5f46c --- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 0faea705e7f83205f8420c52edda8a5473485bcd) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 614c1aa4bf54ed2852d93a58ba8d49b549d5f46c) @@ -46,7 +46,6 @@ private RoundedDouble exitPointL; private RoundedDouble entryPointL; private RingtoetsPipingSurfaceLine surfaceLine; - private StochasticSoilModel stochasticSoilModel; /// /// Initializes a new instance of the class. @@ -148,18 +147,7 @@ /// /// Gets or sets the stochastic soil model which is linked to the . /// - public StochasticSoilModel StochasticSoilModel - { - get - { - return stochasticSoilModel; - } - set - { - stochasticSoilModel = value; - UpdateStochasticSoilProfile(); - } - } + public StochasticSoilModel StochasticSoilModel { get; set; } /// /// Gets or sets the profile which contains a 1 dimensional definition of soil layers with properties. @@ -171,25 +159,6 @@ /// public HydraulicBoundaryLocation HydraulicBoundaryLocation { get; set; } - private void UpdateStochasticSoilProfile() - { - if (stochasticSoilModel == null) - { - StochasticSoilProfile = null; - return; - } - if (stochasticSoilModel.StochasticSoilProfiles.Contains(StochasticSoilProfile)) - { - return; - } - if (stochasticSoilModel.StochasticSoilProfiles.Count == 1) - { - StochasticSoilProfile = stochasticSoilModel.StochasticSoilProfiles.First(); - return; - } - StochasticSoilProfile = null; - } - private void UpdateEntryAndExitPoint() { if (SurfaceLine == null)