Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs =================================================================== diff -u -r7a466d4ccb9d859b47f565b400808eb6933b18f0 -r90d46f7d803d51c0a68ee35569cf3c918e5387fd --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (.../WaveConditionsCalculationConfigurationReader.cs) (revision 7a466d4ccb9d859b47f565b400808eb6933b18f0) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Readers/WaveConditionsCalculationConfigurationReader.cs (.../WaveConditionsCalculationConfigurationReader.cs) (revision 90d46f7d803d51c0a68ee35569cf3c918e5387fd) @@ -80,26 +80,19 @@ Name = calculationElement.Attribute(ConfigurationSchemaIdentifiers.NameAttribute)?.Value, HydraulicBoundaryLocation = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement, ConfigurationSchemaIdentifiers.HydraulicBoundaryLocationElement), - UpperBoundaryRevetment = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - WaveConditionsCalculationConfigurationSchemaIdentifiers.UpperBoundaryRevetment), - LowerBoundaryRevetment = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryRevetment), - UpperBoundaryWaterLevels = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - WaveConditionsCalculationConfigurationSchemaIdentifiers.UpperBoundaryWaterLevels), - LowerBoundaryWaterLevels = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryWaterLevels), - StepSize = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - WaveConditionsCalculationConfigurationSchemaIdentifiers.StepSize), + UpperBoundaryRevetment = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.UpperBoundaryRevetment), + LowerBoundaryRevetment = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryRevetment), + UpperBoundaryWaterLevels = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.UpperBoundaryWaterLevels), + LowerBoundaryWaterLevels = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.LowerBoundaryWaterLevels), + StepSize = calculationElement.GetDoubleValueFromDescendantElement(WaveConditionsCalculationConfigurationSchemaIdentifiers.StepSize), ForeshoreProfile = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement, WaveConditionsCalculationConfigurationSchemaIdentifiers.ForeshoreProfile), - Orientation = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - ConfigurationSchemaIdentifiers.Orientation), + Orientation = calculationElement.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.Orientation), UseBreakWater = CalculationConfigurationReaderHelper.GetBoolValueFromDescendantElement(calculationElement, ConfigurationSchemaIdentifiers.UseBreakWater), BreakWaterType = CalculationConfigurationReaderHelper.GetStringValueFromDescendantElement(calculationElement, ConfigurationSchemaIdentifiers.BreakWaterType), - BreakWaterHeight = CalculationConfigurationReaderHelper.GetDoubleValueFromDescendantElement(calculationElement, - ConfigurationSchemaIdentifiers.BreakWaterHeight), + BreakWaterHeight = calculationElement.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.BreakWaterHeight), UseForeshore = CalculationConfigurationReaderHelper.GetBoolValueFromDescendantElement(calculationElement, ConfigurationSchemaIdentifiers.UseForeshore) };