Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs
===================================================================
diff -u -r4e0b333b9e7d89ba6563e1b2f9cb011c92c8015f -r602aa9de93c40ec9ca76e79530d13e7e32b45151
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs (.../MacroStabilityInwardsSoilLayerTransformer.cs) (revision 4e0b333b9e7d89ba6563e1b2f9cb011c92c8015f)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs (.../MacroStabilityInwardsSoilLayerTransformer.cs) (revision 602aa9de93c40ec9ca76e79530d13e7e32b45151)
@@ -23,8 +23,6 @@
using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.SoilProfile;
using Ringtoets.MacroStabilityInwards.Primitives;
-using CommonShearStrengthModel = Ringtoets.Common.IO.SoilProfile.ShearStrengthModel;
-using ShearStrengthModel = Ringtoets.MacroStabilityInwards.Primitives.ShearStrengthModel;
namespace Ringtoets.MacroStabilityInwards.IO.SoilProfiles
{
@@ -94,24 +92,24 @@
}
///
- /// Transforms the to .
+ /// Transforms the to .
///
/// The model to transform.
- /// A based on the given data.
+ /// A based on the given data.
/// Thrown when
/// has an invalid value.
- private static ShearStrengthModel TransformShearStrengthModel(CommonShearStrengthModel shearStrengthModel)
+ private static MacroStabilityInwardsShearStrengthModel TransformShearStrengthModel(ShearStrengthModel shearStrengthModel)
{
switch (shearStrengthModel)
{
- case CommonShearStrengthModel.None:
- return ShearStrengthModel.None;
- case CommonShearStrengthModel.SuCalculated:
- return ShearStrengthModel.SuCalculated;
- case CommonShearStrengthModel.CPhi:
- return ShearStrengthModel.CPhi;
- case CommonShearStrengthModel.CPhiOrSuCalculated:
- return ShearStrengthModel.CPhiOrSuCalculated;
+ case ShearStrengthModel.None:
+ return MacroStabilityInwardsShearStrengthModel.None;
+ case ShearStrengthModel.SuCalculated:
+ return MacroStabilityInwardsShearStrengthModel.SuCalculated;
+ case ShearStrengthModel.CPhi:
+ return MacroStabilityInwardsShearStrengthModel.CPhi;
+ case ShearStrengthModel.CPhiOrSuCalculated:
+ return MacroStabilityInwardsShearStrengthModel.CPhiOrSuCalculated;
default:
throw new NotSupportedException();
}