Index: Riskeer/DuneErosion/src/Riskeer.DuneErosion.Forms/Views/DuneLocationCalculationRow.cs =================================================================== diff -u -r9e9976818f1b446948c3bf815cafe2e023f98ac1 -re481686430276dd6f4304968ca4c2165a7eb8f8d --- Riskeer/DuneErosion/src/Riskeer.DuneErosion.Forms/Views/DuneLocationCalculationRow.cs (.../DuneLocationCalculationRow.cs) (revision 9e9976818f1b446948c3bf815cafe2e023f98ac1) +++ Riskeer/DuneErosion/src/Riskeer.DuneErosion.Forms/Views/DuneLocationCalculationRow.cs (.../DuneLocationCalculationRow.cs) (revision e481686430276dd6f4304968ca4c2165a7eb8f8d) @@ -136,6 +136,42 @@ } /// + /// Gets the . + /// + [TypeConverter(typeof(NoValueRoundedDoubleConverter))] + public RoundedDouble MeanTidalAmplitude + { + get + { + return CalculatableObject.Output?.MeanTidalAmplitude ?? RoundedDouble.NaN; + } + } + + /// + /// Gets the . + /// + [TypeConverter(typeof(NoValueRoundedDoubleConverter))] + public RoundedDouble WaveDirectionalSpread + { + get + { + return CalculatableObject.Output?.WaveDirectionalSpread ?? RoundedDouble.NaN; + } + } + + /// + /// Gets the . + /// + [TypeConverter(typeof(NoValueRoundedDoubleConverter))] + public RoundedDouble TideSurgePhaseDifference + { + get + { + return CalculatableObject.Output?.TideSurgePhaseDifference ?? RoundedDouble.NaN; + } + } + + /// /// Gets the . /// public RoundedDouble D50 Index: Riskeer/DuneErosion/test/Riskeer.DuneErosion.Forms.Test/Views/DuneLocationCalculationRowTest.cs =================================================================== diff -u -rc9fe0ccb76e6f14d7a4cb891349402a85c856d8b -re481686430276dd6f4304968ca4c2165a7eb8f8d --- Riskeer/DuneErosion/test/Riskeer.DuneErosion.Forms.Test/Views/DuneLocationCalculationRowTest.cs (.../DuneLocationCalculationRowTest.cs) (revision c9fe0ccb76e6f14d7a4cb891349402a85c856d8b) +++ Riskeer/DuneErosion/test/Riskeer.DuneErosion.Forms.Test/Views/DuneLocationCalculationRowTest.cs (.../DuneLocationCalculationRowTest.cs) (revision e481686430276dd6f4304968ca4c2165a7eb8f8d) @@ -53,7 +53,10 @@ { WaterLevel = 3.0, WaveHeight = 4.0, - WavePeriod = 5.0 + WavePeriod = 5.0, + MeanTidalAmplitude = 6.0, + WaveDirectionalSpread = 7.0, + TideSurgePhaseDifference = 8.0 }) }; @@ -72,13 +75,22 @@ Assert.AreEqual(duneLocationCalculation.Output.WaterLevel, row.WaterLevel); Assert.AreEqual(duneLocationCalculation.Output.WaveHeight, row.WaveHeight); Assert.AreEqual(duneLocationCalculation.Output.WavePeriod, row.WavePeriod); + Assert.AreEqual(duneLocationCalculation.Output.MeanTidalAmplitude, row.MeanTidalAmplitude); + Assert.AreEqual(duneLocationCalculation.Output.WaveDirectionalSpread, row.WaveDirectionalSpread); + Assert.AreEqual(duneLocationCalculation.Output.TideSurgePhaseDifference, row.TideSurgePhaseDifference); TestHelper.AssertTypeConverter( nameof(DuneLocationCalculationRow.WaterLevel)); TestHelper.AssertTypeConverter( nameof(DuneLocationCalculationRow.WaveHeight)); TestHelper.AssertTypeConverter( nameof(DuneLocationCalculationRow.WavePeriod)); + TestHelper.AssertTypeConverter( + nameof(DuneLocationCalculationRow.MeanTidalAmplitude)); + TestHelper.AssertTypeConverter( + nameof(DuneLocationCalculationRow.WaveDirectionalSpread)); + TestHelper.AssertTypeConverter( + nameof(DuneLocationCalculationRow.TideSurgePhaseDifference)); } [Test] @@ -94,6 +106,9 @@ Assert.IsNaN(row.WaterLevel); Assert.IsNaN(row.WaveHeight); Assert.IsNaN(row.WavePeriod); + Assert.IsNaN(row.MeanTidalAmplitude); + Assert.IsNaN(row.WaveDirectionalSpread); + Assert.IsNaN(row.TideSurgePhaseDifference); } } } \ No newline at end of file