Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs =================================================================== diff -u -r9b6fa40a91299ecbbaffdbc79faf904b6c492d2f -r29289635457e7d05e24c8fb923e0c6f56f152add --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (.../WaveConditionsCalculationConfigurationReader.cs) (revision 9b6fa40a91299ecbbaffdbc79faf904b6c492d2f) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (.../WaveConditionsCalculationConfigurationReader.cs) (revision 29289635457e7d05e24c8fb923e0c6f56f152add) @@ -23,8 +23,11 @@ using System.Collections.Generic; using System.Xml.Linq; using Core.Common.Base.IO; +using Ringtoets.Common.Data.DikeProfiles; +using Ringtoets.Common.IO; using Ringtoets.Common.IO.Readers; using Ringtoets.Common.IO.Schema; +using Ringtoets.Revetment.Data; using Ringtoets.Revetment.IO.Properties; using RingtoestCommonIOResources = Ringtoets.Common.IO.Properties.Resources; @@ -83,11 +86,11 @@ LowerBoundaryRevetment = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryRevetment), UpperBoundaryWaterLevels = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.UpperBoundaryWaterLevels), LowerBoundaryWaterLevels = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryWaterLevels), - StepSize = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.StepSize), + StepSize = (WaveConditionsInputStepSize?) calculationElement.GetConvertedValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.StepSize), ForeshoreProfile = calculationElement.GetStringValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.ForeshoreProfile), Orientation = calculationElement.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.Orientation), UseBreakWater = calculationElement.GetBoolValueFromDescendantElement(ConfigurationSchemaIdentifiers.UseBreakWater), - BreakWaterType = calculationElement.GetStringValueFromDescendantElement(ConfigurationSchemaIdentifiers.BreakWaterType), + BreakWaterType = (BreakWaterType?)calculationElement.GetConvertedValueFromDescendantElement(ConfigurationSchemaIdentifiers.BreakWaterType), BreakWaterHeight = calculationElement.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.BreakWaterHeight), UseForeshore = calculationElement.GetBoolValueFromDescendantElement(ConfigurationSchemaIdentifiers.UseForeshore) };