Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismContextProperties.cs =================================================================== diff -u -rc5f90c4f9b42d985f16f99ad8732576b9217267a -r77158a296743c3b3457336706fdbea047daf4886 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismContextProperties.cs (.../PipingFailureMechanismContextProperties.cs) (revision c5f90c4f9b42d985f16f99ad8732576b9217267a) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismContextProperties.cs (.../PipingFailureMechanismContextProperties.cs) (revision 77158a296743c3b3457336706fdbea047daf4886) @@ -13,9 +13,37 @@ /// public class PipingFailureMechanismContextProperties : ObjectProperties { - #region Model Factors + #region General [PropertyOrder(1)] + [ResourcesCategory(typeof(Common.Data.Properties.Resources), "Categories_General")] + [ResourcesDisplayName(typeof(Common.Data.Properties.Resources), "FailureMechanism_Name_DisplayName")] + [ResourcesDescription(typeof(Common.Data.Properties.Resources), "FailureMechanism_Name_Description")] + public string Name + { + get + { + return data.WrappedData.Name; + } + } + + [PropertyOrder(2)] + [ResourcesCategory(typeof(Common.Data.Properties.Resources), "Categories_General")] + [ResourcesDisplayName(typeof(Common.Data.Properties.Resources), "FailureMechanism_Code_DisplayName")] + [ResourcesDescription(typeof(Common.Data.Properties.Resources), "FailureMechanism_Code_Description")] + public string Code + { + get + { + return data.WrappedData.Code; + } + } + + #endregion + + #region Model Factors + + [PropertyOrder(11)] [ResourcesCategory(typeof(Resources), "Categories_ModelFactors")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_UpliftModelFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_UpliftModelFactor_Description")] @@ -27,7 +55,7 @@ } } - [PropertyOrder(2)] + [PropertyOrder(12)] [ResourcesCategory(typeof(Resources), "Categories_ModelFactors")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_SellmeijerModelFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_SellmeijerModelFactor_Description")] @@ -41,10 +69,10 @@ #endregion - #region General + #region General sub-failure mechanism parameters - [PropertyOrder(11)] - [ResourcesCategory(typeof(Resources), "Categories_General")] + [PropertyOrder(21)] + [ResourcesCategory(typeof(Common.Data.Properties.Resources), "Categories_General")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_WaterVolumetricWeight_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_WaterVolumetricWeight_Description")] public double WaterVolumetricWeight @@ -59,7 +87,7 @@ #region Heave - [PropertyOrder(21)] + [PropertyOrder(31)] [ResourcesCategory(typeof(Resources), "Categories_Heave")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_CriticalHeaveGradient_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_CriticalHeaveGradient_Description")] @@ -75,7 +103,7 @@ #region Sellmeijer - [PropertyOrder(31)] + [PropertyOrder(41)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_SandParticlesVolumicWeight_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_SandParticlesVolumicWeight_Description")] @@ -87,7 +115,7 @@ } } - [PropertyOrder(32)] + [PropertyOrder(42)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_WhitesDragCoefficient_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_WhitesDragCoefficient_Description")] @@ -99,7 +127,7 @@ } } - [PropertyOrder(33)] + [PropertyOrder(43)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_BeddingAngle_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_BeddingAngle_Description")] @@ -111,7 +139,7 @@ } } - [PropertyOrder(34)] + [PropertyOrder(44)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_WaterKinematicViscosity_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_WaterKinematicViscosity_Description")] @@ -123,7 +151,7 @@ } } - [PropertyOrder(35)] + [PropertyOrder(45)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_Gravity_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_Gravity_Description")] @@ -135,7 +163,7 @@ } } - [PropertyOrder(36)] + [PropertyOrder(46)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_MeanDiameter70_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_MeanDiameter70_Description")] @@ -147,7 +175,7 @@ } } - [PropertyOrder(37)] + [PropertyOrder(47)] [ResourcesCategory(typeof(Resources), "Categories_Sellmeijer")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_SellmeijerReductionFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_SellmeijerReductionFactor_Description")] @@ -163,7 +191,7 @@ #region Semi-probabilistic parameters - [PropertyOrder(41)] + [PropertyOrder(51)] [ResourcesCategory(typeof(Resources), "Categories_SemiProbabilisticParameters")] [ResourcesDisplayName(typeof(Resources), "GeneralPipingInput_A_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_A_Description")] @@ -175,7 +203,7 @@ } } - [PropertyOrder(42)] + [PropertyOrder(52)] [ResourcesCategory(typeof(Resources), "Categories_SemiProbabilisticParameters")] [ResourcesDisplayName(typeof(Resources), "GenerapPipingInput_B_DisplayName")] [ResourcesDescription(typeof(Resources), "GeneralPipingInput_B_Description")]