Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/DikeAssessmentSection.cs =================================================================== diff -u -r71fa16075699948cabba65c56d646e0268fd2b89 -r34955c174d61a12249d526629093343389c8c8ca --- Ringtoets/Integration/src/Ringtoets.Integration.Data/DikeAssessmentSection.cs (.../DikeAssessmentSection.cs) (revision 71fa16075699948cabba65c56d646e0268fd2b89) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/DikeAssessmentSection.cs (.../DikeAssessmentSection.cs) (revision 34955c174d61a12249d526629093343389c8c8ca) @@ -6,7 +6,7 @@ namespace Ringtoets.Integration.Data { /// - /// The section to be assessed by the user for safety in regards of various failure mechanisms. + /// The dike-based section to be assessed by the user for safety in regards of various failure mechanisms. /// public class DikeAssessmentSection : Observable { Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs (revision 34955c174d61a12249d526629093343389c8c8ca) @@ -0,0 +1,51 @@ +using Core.Common.Base; + +using Ringtoets.Integration.Data.Placeholders; +using Ringtoets.Integration.Data.Properties; + +namespace Ringtoets.Integration.Data +{ + /// + /// The dune-based section to be assessed by the user for safety in regards of various failure mechanisms. + /// + public class DuneAssessmentSection : Observable + { + /// + /// Initializes a new instance of the class. + /// + public DuneAssessmentSection() + { + Name = Resources.DuneAssessmentSection_DisplayName; + ReferenceLine = new InputPlaceholder(Resources.ReferenceLine_DisplayName); + FailureMechanismContribution = new InputPlaceholder(Resources.FailureMechanismContribution_DisplayName); + HydraulicBoundaryDatabase = new InputPlaceholder(Resources.HydraulicBoundaryDatabase_DisplayName); + + DuneErosionFailureMechanism = new FailureMechanismPlaceholder(Resources.DuneErosionFailureMechanism_DisplayName); + } + + /// + /// Gets or sets the name of the dune assessment section. + /// + public string Name { get; set; } + + /// + /// Gets or sets the reference line defining the geometry of the dike assessment section. + /// + public InputPlaceholder ReferenceLine { get; private set; } + + /// + /// Gets or sets the contribution of each failure mechanism available in this assessment section. + /// + public InputPlaceholder FailureMechanismContribution { get; private set; } + + /// + /// Gets or sets the hydraulic boundary database. + /// + public InputPlaceholder HydraulicBoundaryDatabase { get; private set; } + + /// + /// Gets the "Duin erosie" failure mechanism. + /// + public FailureMechanismPlaceholder DuneErosionFailureMechanism { get; private set; } + } +} \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.Designer.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.Designer.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.Designer.cs (revision 34955c174d61a12249d526629093343389c8c8ca) @@ -0,0 +1,108 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18444 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Ringtoets.Integration.Data.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ringtoets.Integration.Data.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Duintraject. + /// + internal static string DuneAssessmentSection_DisplayName { + get { + return ResourceManager.GetString("DuneAssessmentSection_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duinen - Erosie. + /// + internal static string DuneErosionFailureMechanism_DisplayName { + get { + return ResourceManager.GetString("DuneErosionFailureMechanism_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Faalkansverdeling. + /// + internal static string FailureMechanismContribution_DisplayName { + get { + return ResourceManager.GetString("FailureMechanismContribution_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HR locatiedatabase. + /// + internal static string HydraulicBoundaryDatabase_DisplayName { + get { + return ResourceManager.GetString("HydraulicBoundaryDatabase_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Referentielijn. + /// + internal static string ReferenceLine_DisplayName { + get { + return ResourceManager.GetString("ReferenceLine_DisplayName", resourceCulture); + } + } + } +} Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.resx =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.resx (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Properties/Resources.resx (revision 34955c174d61a12249d526629093343389c8c8ca) @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Duintraject + + + Referentielijn + + + Faalkansverdeling + + + HR locatiedatabase + + + Duinen - Erosie + + \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj =================================================================== diff -u -rfcf04bfe765cc56c90a010b4b4790cab0ac5b2c6 -r34955c174d61a12249d526629093343389c8c8ca --- Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision fcf04bfe765cc56c90a010b4b4790cab0ac5b2c6) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision 34955c174d61a12249d526629093343389c8c8ca) @@ -48,9 +48,15 @@ Properties\GlobalAssembly.cs + + + True + True + Resources.resx + @@ -70,6 +76,12 @@ Ringtoets.Piping.Data + + + ResXFileCodeGenerator + Resources.Designer.cs + +