Index: DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs
===================================================================
diff -u -r6266 -r6404
--- DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs (.../ConversionHelper.cs) (revision 6266)
+++ DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs (.../ConversionHelper.cs) (revision 6404)
@@ -1,4 +1,4 @@
-// Copyright (C) Stichting Deltares 2024. All rights reserved.
+// Copyright (C) Stichting Deltares 2025. All rights reserved.
//
// This file is part of the Dam Engine.
//
@@ -930,7 +930,7 @@
return translationTable[searchAreaType];
}
-
+
///
/// Converts to Uplift-Van input grid determination.
///
@@ -972,7 +972,6 @@
{
ShearStrengthModel.SuTable, SoilShearStrengthModel.SuTable
}
-
};
return translationTable[shearStrengthModel];
}
@@ -995,7 +994,7 @@
};
return translationTable[searchAreaType];
}
-
+
///
/// Converts to Uplift-Van grid determination.
///
@@ -1337,7 +1336,7 @@
};
return translationTable[dataSourceTypeSensors];
}
-
+
///
/// Converts the type FailureMechanismSystemType from Dam Engine type to output object type.
///
@@ -1349,6 +1348,7 @@
{
throw new NotImplementedException("Piping is not a valid failure mechanism system type for operational static data.");
}
+
var translationTable = new Dictionary
{
{
@@ -1360,7 +1360,7 @@
};
return translationTable[failureMechanismSystemType];
}
-
+
///
/// Converts the type MStabModelType from Dam Engine type to output object type.
///
@@ -1382,5 +1382,4 @@
};
return translationTable[stabilityModelType];
}
-
}
\ No newline at end of file