Index: DamEngine/trunk/src/Deltares.DamEngine.Interface/FillXmlInputFromDam.cs =================================================================== diff -u -r6674 -r7077 --- DamEngine/trunk/src/Deltares.DamEngine.Interface/FillXmlInputFromDam.cs (.../FillXmlInputFromDam.cs) (revision 6674) +++ DamEngine/trunk/src/Deltares.DamEngine.Interface/FillXmlInputFromDam.cs (.../FillXmlInputFromDam.cs) (revision 7077) @@ -1,4 +1,4 @@ -// Copyright (C) Stichting Deltares 2025. All rights reserved. +// Copyright (C) Stichting Deltares 2026. All rights reserved. // // This file is part of the Dam Engine. // @@ -237,13 +237,13 @@ input.DamProjectType = ConversionHelper.ConvertToInputDamProjectType(damProjectData.DamProjectType); input.FailureMechanismSystemType = ConversionHelper.ConvertToInputFailureMechanismSystemType(damProjectData.DamProjectCalculationSpecification.CurrentSpecification.FailureMechanismSystemType); - input.AnalysisTypeSpecified = (input.DamProjectType == InputDamProjectType.Design); + input.AnalysisTypeSpecified = input.DamProjectType == InputDamProjectType.Design; if (input.AnalysisTypeSpecified) { input.AnalysisType = ConversionHelper.ConvertToInputAnalysisType(DamProjectCalculationSpecification.SelectedAnalysisType); } - input.PipingModelTypeSpecified = (input.FailureMechanismSystemType == InputFailureMechanismSystemType.Piping); + input.PipingModelTypeSpecified = input.FailureMechanismSystemType == InputFailureMechanismSystemType.Piping; if (input.PipingModelTypeSpecified) { input.PipingModelType = ConversionHelper.ConvertToInputPipingModelType(damProjectData.DamProjectCalculationSpecification.CurrentSpecification.PipingModelType); @@ -423,7 +423,7 @@ inputSoil.DiameterD70 = soil.DiameterD70; inputSoil.PermeabKxSpecified = !double.IsNaN(soil.PermeabKx); inputSoil.PermeabKx = soil.PermeabKx; - inputSoil.ShearStrengthModelSpecified = (soil.ShearStrengthModel != null); + inputSoil.ShearStrengthModelSpecified = soil.ShearStrengthModel != null; if (inputSoil.ShearStrengthModelSpecified) { inputSoil.ShearStrengthModel = ConversionHelper.ConvertToSoilShearStrengthModel(soil.ShearStrengthModel.Value);