Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs =================================================================== diff -u -r6098 -r6160 --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6098) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6160) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; @@ -458,18 +457,10 @@ inputSoil.AbovePhreaticLevel = soil.AbovePhreaticLevel; inputSoil.BelowPhreaticLevelSpecified = !Double.IsNaN(soil.BelowPhreaticLevel); inputSoil.BelowPhreaticLevel = soil.BelowPhreaticLevel; - inputSoil.DryUnitWeightSpecified = !Double.IsNaN(soil.DryUnitWeight); - inputSoil.DryUnitWeight = soil.DryUnitWeight; - inputSoil.BeddingAngleSpecified = !Double.IsNaN(soil.BeddingAngle); - inputSoil.BeddingAngle = soil.BeddingAngle; inputSoil.DiameterD70Specified = !Double.IsNaN(soil.DiameterD70); inputSoil.DiameterD70 = soil.DiameterD70; - inputSoil.DiameterD90Specified = !Double.IsNaN(soil.DiameterD90); - inputSoil.DiameterD90 = soil.DiameterD90; inputSoil.PermeabKxSpecified = !Double.IsNaN(soil.PermeabKx); inputSoil.PermeabKx = soil.PermeabKx; - inputSoil.WhitesConstantSpecified = !Double.IsNaN(soil.WhitesConstant); - inputSoil.WhitesConstant = soil.WhitesConstant; inputSoil.ShearStrengthModelSpecified = true; inputSoil.ShearStrengthModel = ConversionHelper.ConvertToSoilShearStrengthModel(soil.ShearStrengthModel); if (soil.ShearStrengthModel == ShearStrengthModel.StressTable) @@ -496,20 +487,12 @@ }; } } - inputSoil.UseDefaultShearStrengthModelSpecified = true; - inputSoil.UseDefaultShearStrengthModel = soil.UseDefaultShearStrengthModel; inputSoil.CohesionSpecified = !Double.IsNaN(soil.Cohesion); inputSoil.Cohesion = soil.Cohesion; inputSoil.FrictionAngleSpecified = !Double.IsNaN(soil.FrictionAngle); inputSoil.FrictionAngle = soil.FrictionAngle; inputSoil.OcrSpecified = !Double.IsNaN(soil.OCR); inputSoil.Ocr = soil.OCR; - inputSoil.SlopeRestProfileSpecified = !Double.IsNaN(soil.RestSlope); - inputSoil.SlopeRestProfile = soil.RestSlope; - inputSoil.DilatancyTypeSpecified = true; - inputSoil.DilatancyType = ConversionHelper.ConvertToSoilDilatancyType(soil.DilatancyType); - inputSoil.RRatioSpecified = !Double.IsNaN(soil.RRatio); - inputSoil.RRatio = soil.RRatio; inputSoil.StrengthIncreaseExponentSpecified = !Double.IsNaN(soil.StrengthIncreaseExponent); inputSoil.StrengthIncreaseExponent = soil.StrengthIncreaseExponent; inputSoil.RatioCuPcSpecified = !Double.IsNaN(soil.RatioCuPc);