Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs =================================================================== diff -u -r50e7c9ffa6c528abd1a1ee61784f78d5983465fe -ra843a58b071689fc00a9859b93c28c80ca5931f3 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs (.../HeightStructuresCalculationEntityReadExtensions.cs) (revision 50e7c9ffa6c528abd1a1ee61784f78d5983465fe) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensions.cs (.../HeightStructuresCalculationEntityReadExtensions.cs) (revision a843a58b071689fc00a9859b93c28c80ca5931f3) @@ -82,6 +82,10 @@ inputParameters.FailureProbabilityStructureWithErosion = entity.FailureProbabilityStructureWithErosion; inputParameters.WidthFlowApertures.Mean = (RoundedDouble) entity.WidthFlowAperturesMean.ToNullAsNaN(); inputParameters.WidthFlowApertures.CoefficientOfVariation = (RoundedDouble) entity.WidthFlowAperturesCoefficientOfVariation.ToNullAsNaN(); + inputParameters.StormDuration.Mean = (RoundedDouble)entity.StormDurationMean.ToNullAsNaN(); + inputParameters.LevelCrestStructure.Mean = (RoundedDouble) entity.LevelCrestStructureMean.ToNullAsNaN(); + inputParameters.LevelCrestStructure.StandardDeviation = (RoundedDouble)entity.LevelCrestStructureStandardDeviation.ToNullAsNaN(); + inputParameters.DeviationWaveDirection = (RoundedDouble) entity.DeviationWaveDirection.ToNullAsNaN(); inputParameters.UseBreakWater = Convert.ToBoolean(entity.UseBreakWater); inputParameters.UseForeshore = Convert.ToBoolean(entity.UseForeshore); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -rcecb97ce5adb57cec9f89b557d6fafce09c9ed65 -ra843a58b071689fc00a9859b93c28c80ca5931f3 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs (.../HeightStructuresCalculationEntityReadExtensionsTest.cs) (revision cecb97ce5adb57cec9f89b557d6fafce09c9ed65) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/HeightStructures/HeightStructuresCalculationEntityReadExtensionsTest.cs (.../HeightStructuresCalculationEntityReadExtensionsTest.cs) (revision a843a58b071689fc00a9859b93c28c80ca5931f3) @@ -74,7 +74,11 @@ CriticalOvertoppingDischargeCoefficientOfVariation = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), FailureProbabilityStructureWithErosion = random.NextDouble(), WidthFlowAperturesMean = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), - WidthFlowAperturesCoefficientOfVariation = GetRandomDoubleFromRange(random, 1e-6, 9999.9999) + WidthFlowAperturesCoefficientOfVariation = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), + StormDurationMean = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), + LevelCrestStructureMean = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), + LevelCrestStructureStandardDeviation = GetRandomDoubleFromRange(random, 1e-6, 9999.9999), + DeviationWaveDirection = GetRandomDoubleFromRange(random, -360, 360) }; var collector = new ReadConversionCollector(); @@ -101,7 +105,11 @@ Assert.AreEqual(entity.FailureProbabilityStructureWithErosion, input.FailureProbabilityStructureWithErosion); AssertRoundedDouble(entity.WidthFlowAperturesMean, input.WidthFlowApertures.Mean); AssertRoundedDouble(entity.WidthFlowAperturesCoefficientOfVariation, input.WidthFlowApertures.CoefficientOfVariation); - + AssertRoundedDouble(entity.StormDurationMean, input.StormDuration.Mean); + AssertRoundedDouble(entity.LevelCrestStructureMean, input.LevelCrestStructure.Mean); + AssertRoundedDouble(entity.LevelCrestStructureStandardDeviation, input.LevelCrestStructure.StandardDeviation); + AssertRoundedDouble(entity.DeviationWaveDirection, input.DeviationWaveDirection); + Assert.IsEmpty(input.ForeshoreGeometry); Assert.IsNull(input.ForeshoreProfile); Assert.IsNull(input.HydraulicBoundaryLocation);