Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs =================================================================== diff -u -r0e541f9ed4d56646332e86aea1b3c699c650563b -rcba6c270ea323936b751ca8f8572075298f594f9 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs (.../DikeProfileProperties.cs) (revision 0e541f9ed4d56646332e86aea1b3c699c650563b) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs (.../DikeProfileProperties.cs) (revision cba6c270ea323936b751ca8f8572075298f594f9) @@ -37,12 +37,12 @@ public class DikeProfileProperties : ObjectProperties { private const int namePropertyIndex = 1; - private const int orientationPropertyIndex = 2; - private const int breakWaterPropertyIndex = 3; - private const int foreshorePropertyIndex = 4; - private const int dikeGeometryPropertyIndex = 5; - private const int dikeHeightPropertyIndex = 6; - private const int worldReferencePointPropertyIndex = 7; + private const int worldReferencePointPropertyIndex = 2; + private const int orientationPropertyIndex = 3; + private const int breakWaterPropertyIndex = 4; + private const int foreshorePropertyIndex = 5; + private const int dikeGeometryPropertyIndex = 6; + private const int dikeHeightPropertyIndex = 7; [PropertyOrder(namePropertyIndex)] [ResourcesCategory(typeof(RingtoetsCommonDataResources), "Categories_General")] @@ -56,6 +56,20 @@ } } + [PropertyOrder(worldReferencePointPropertyIndex)] + [ResourcesCategory(typeof(GrassCoverErosionInwardsFormsResources), "Categories_Schematisation")] + [ResourcesDisplayName(typeof(GrassCoverErosionInwardsFormsResources), "WorldReferencePoint_DisplayName")] + [ResourcesDescription(typeof(GrassCoverErosionInwardsFormsResources), "WorldReferencePoint_Description")] + public Point2D WorldReferencePoint + { + get + { + return new Point2D( + new RoundedDouble(0, data.WorldReferencePoint.X), + new RoundedDouble(0, data.WorldReferencePoint.Y)); + } + } + [PropertyOrder(orientationPropertyIndex)] [ResourcesCategory(typeof(GrassCoverErosionInwardsFormsResources), "Categories_Schematisation")] [ResourcesDisplayName(typeof(GrassCoverErosionInwardsFormsResources), "Orientation_DisplayName")] @@ -127,19 +141,5 @@ return data.DikeHeight; } } - - [PropertyOrder(worldReferencePointPropertyIndex)] - [ResourcesCategory(typeof(GrassCoverErosionInwardsFormsResources), "Categories_Schematisation")] - [ResourcesDisplayName(typeof(GrassCoverErosionInwardsFormsResources), "WorldReferencePoint_DisplayName")] - [ResourcesDescription(typeof(GrassCoverErosionInwardsFormsResources), "WorldReferencePoint_Description")] - public Point2D WorldReferencePoint - { - get - { - return new Point2D( - new RoundedDouble(0, data.WorldReferencePoint.X), - new RoundedDouble(0, data.WorldReferencePoint.Y)); - } - } } } \ No newline at end of file