Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs
===================================================================
diff -u -rfdac52e3f5d96b98aebf00e516ea9cf77b449da3 -re570ba372fafe1802a4caae2ef9410b64457198b
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs (.../GeneralClosingStructuresInput.cs) (revision fdac52e3f5d96b98aebf00e516ea9cf77b449da3)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs (.../GeneralClosingStructuresInput.cs) (revision e570ba372fafe1802a4caae2ef9410b64457198b)
@@ -30,14 +30,12 @@
///
public class GeneralClosingStructuresInput
{
- private RoundedDouble c;
-
///
/// Initializes a new instance of the class.
///
public GeneralClosingStructuresInput()
{
- c = new RoundedDouble(2, 0.5);
+ C = new RoundedDouble(2, 0.5);
N2A = 1;
GravitationalAcceleration = new RoundedDouble(2, 9.81);
@@ -78,17 +76,7 @@
///
/// Gets or sets the 'C' parameter used to factor in the 'length effect'.
///
- public RoundedDouble C
- {
- get
- {
- return c;
- }
- set
- {
- c = value.ToPrecision(c.NumberOfDecimalPlaces);
- }
- }
+ public RoundedDouble C { get; private set; }
///
/// Gets or sets the 'N2A' parameter used to factor in the 'length effect'.
@@ -102,7 +90,7 @@
{
get
{
- return new RoundedDouble(2, Math.Max(1, c*N2A));
+ return new RoundedDouble(2, Math.Max(1, C*N2A));
}
}