Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
@@ -0,0 +1,50 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Base.Data;
+
+namespace Ringtoets.Common.Data.AssessmentSection
+{
+ ///
+ /// Class that holds information about configured background data.
+ ///
+ public class BackgroundMapData
+ {
+ ///
+ /// Creates a new .
+ ///
+ public BackgroundMapData()
+ {
+ IsVisible = true;
+ Transparency = new RoundedDouble(2);
+ }
+
+ ///
+ /// Gets or sets a value indicating whether the background is visible.
+ ///
+ public bool IsVisible { get; set; }
+
+ ///
+ /// Gets or sets the transparency of the background.
+ ///
+ public RoundedDouble Transparency { get; set; }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj
===================================================================
diff -u -r92d8502b4ffd316c6387a0b1378e4d097c43c58d -r709931efbca2f60911829a07dc275f19b2ad0af0
--- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 92d8502b4ffd316c6387a0b1378e4d097c43c58d)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
@@ -39,6 +39,7 @@
Properties\GlobalAssembly.cs
+
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
@@ -0,0 +1,42 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using NUnit.Framework;
+using Ringtoets.Common.Data.AssessmentSection;
+
+namespace Ringtoets.Common.Data.Test.AssessmentSection
+{
+ [TestFixture]
+ public class BackgroundMapDataTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var backgroundMapData = new BackgroundMapData();
+
+ // Assert
+ Assert.IsTrue(backgroundMapData.IsVisible);
+ Assert.AreEqual(2, backgroundMapData.Transparency.NumberOfDecimalPlaces);
+ Assert.AreEqual(0, backgroundMapData.Transparency.Value);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj
===================================================================
diff -u -r92d8502b4ffd316c6387a0b1378e4d097c43c58d -r709931efbca2f60911829a07dc275f19b2ad0af0
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 92d8502b4ffd316c6387a0b1378e4d097c43c58d)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
@@ -55,6 +55,7 @@
Properties\GlobalAssembly.cs
+