Index: DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs
===================================================================
diff -u -r3617 -r3649
--- DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs (.../ConversionHelper.cs) (revision 3617)
+++ DamEngine/trunk/src/Deltares.DamEngine.Interface/ConversionHelper.cs (.../ConversionHelper.cs) (revision 3649)
@@ -545,9 +545,9 @@
public const int InputZoneTypeNoZones = 0;
///
- /// The input zone type zone areas
+ /// The input zone type old zone area, this now translates to No Zones as Zone Area is no longer to be used.
///
- public const int InputZoneTypeZoneAreas = 1;
+ public const int InputZoneTypeOldZoneArea = 1;
///
/// The input zone types forbidden zones
@@ -564,7 +564,6 @@
var translationTable = new Dictionary()
{
{MStabZonesType.NoZones, InputZoneTypeNoZones},
- {MStabZonesType.ZoneAreas, InputZoneTypeZoneAreas},
{MStabZonesType.ForbiddenZone, InputZoneTypesForbiddenZones}
};
return translationTable[zoneType];
@@ -580,7 +579,7 @@
var translationTable = new Dictionary()
{
{InputZoneTypeNoZones, MStabZonesType.NoZones},
- {InputZoneTypeZoneAreas, MStabZonesType.ZoneAreas},
+ {InputZoneTypeOldZoneArea, MStabZonesType.NoZones},
{InputZoneTypesForbiddenZones, MStabZonesType.ForbiddenZone}
};
return translationTable[inputZoneType];