Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs
===================================================================
diff -u -rd82fa09fe9ae053ce7702ba89ef23ae029640d1b -r49f905d3363336d44ef828259692644dcf5f9edc
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs (.../SoilLayer1D.cs) (revision d82fa09fe9ae053ce7702ba89ef23ae029640d1b)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs (.../SoilLayer1D.cs) (revision 49f905d3363336d44ef828259692644dcf5f9edc)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System.Drawing;
using Ringtoets.Piping.Primitives;
namespace Ringtoets.Piping.IO.Builders
@@ -65,6 +66,16 @@
public double? DryUnitWeight { get; set; }
///
+ /// Gets or sets the name of the material that was assigned to the .
+ ///
+ public string MaterialName { get; set; }
+
+ ///
+ /// Gets or sets the value representing a color that was used to represent the .
+ ///
+ public double? Color { get; set; }
+
+ ///
/// Constructs a (1D) based on the properties set for the .
///
/// The with properties corresponding to those set on the .
@@ -75,7 +86,9 @@
AbovePhreaticLevel = AbovePhreaticLevel,
BelowPhreaticLevel = BelowPhreaticLevel,
DryUnitWeight = DryUnitWeight,
- IsAquifer = IsAquifer.HasValue && IsAquifer.Value.Equals(1.0)
+ IsAquifer = IsAquifer.HasValue && IsAquifer.Value.Equals(1.0),
+ MaterialName = MaterialName,
+ Color = SoilLayerColorConversionHelper.ColorFromNullableDouble(Color)
};
}
}