Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/CombinedAssemblyFailureMechanismSection.cs
===================================================================
diff -u -rce91892912bd362656333b21a50132f98e5c3905 -r31f41aab181d3009551b8568e4d5f734199de0cf
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/CombinedAssemblyFailureMechanismSection.cs (.../CombinedAssemblyFailureMechanismSection.cs) (revision ce91892912bd362656333b21a50132f98e5c3905)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/CombinedAssemblyFailureMechanismSection.cs (.../CombinedAssemblyFailureMechanismSection.cs) (revision 31f41aab181d3009551b8568e4d5f734199de0cf)
@@ -27,10 +27,10 @@
public class CombinedAssemblyFailureMechanismSection
{
///
- /// Creates a new instance of .
+ /// Creates a new instance of .
///
- /// The start of the section from the beginning of the reference line.
- /// The end of the section from the beginning of the reference line.
+ /// The start of the section from the beginning of the reference line in meters.
+ /// The end of the section from the beginning of the reference line in meters.
/// The category group assembly.
public CombinedAssemblyFailureMechanismSection(double sectionStart, double sectionEnd, FailureMechanismSectionAssemblyCategoryGroup categoryGroup)
{
@@ -41,13 +41,13 @@
///
/// Gets the start of the section from the beginning of the reference line.
- /// [km]
+ /// [m]
///
public double SectionStart { get; }
///
/// Gets the end of the section from the beginning of the reference line.
- /// [km]
+ /// [m]
///
public double SectionEnd { get; }
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResult.cs
===================================================================
diff -u -rf240aa827e5fb4876c0e80fe113f239ff7a2c589 -r31f41aab181d3009551b8568e4d5f734199de0cf
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResult.cs (.../CombinedFailureMechanismSectionAssemblyResult.cs) (revision f240aa827e5fb4876c0e80fe113f239ff7a2c589)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResult.cs (.../CombinedFailureMechanismSectionAssemblyResult.cs) (revision 31f41aab181d3009551b8568e4d5f734199de0cf)
@@ -32,8 +32,10 @@
///
/// Creates a new instance of .
///
- /// The start of the section from the beginning of the reference line.
- /// The end of the section from the beginning of the reference line.
+ /// The start of the section from the beginning of the reference line
+ /// in kilometers.
+ /// The end of the section from the beginning of the reference line
+ /// in kilometers.
/// The total result of the section.
/// The container of the properties for the
/// .
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResultFactory.cs
===================================================================
diff -u -r79526403f2ea0595349ceccf86eb829c67520018 -r31f41aab181d3009551b8568e4d5f734199de0cf
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResultFactory.cs (.../CombinedFailureMechanismSectionAssemblyResultFactory.cs) (revision 79526403f2ea0595349ceccf86eb829c67520018)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Assembly/CombinedFailureMechanismSectionAssemblyResultFactory.cs (.../CombinedFailureMechanismSectionAssemblyResultFactory.cs) (revision 31f41aab181d3009551b8568e4d5f734199de0cf)
@@ -61,8 +61,8 @@
}
return output.Select(assembly => new CombinedFailureMechanismSectionAssemblyResult(
- assembly.Section.SectionStart,
- assembly.Section.SectionEnd,
+ assembly.Section.SectionStart / 1000 ,
+ assembly.Section.SectionEnd / 1000,
assembly.Section.CategoryGroup,
CreateFailureMechanismResults(assembly.FailureMechanismResults,
failureMechanisms, assessmentSection)))
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/CombinedFailureMechanismSectionAssemblyResultRow.cs
===================================================================
diff -u -rf240aa827e5fb4876c0e80fe113f239ff7a2c589 -r31f41aab181d3009551b8568e4d5f734199de0cf
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/CombinedFailureMechanismSectionAssemblyResultRow.cs (.../CombinedFailureMechanismSectionAssemblyResultRow.cs) (revision f240aa827e5fb4876c0e80fe113f239ff7a2c589)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/CombinedFailureMechanismSectionAssemblyResultRow.cs (.../CombinedFailureMechanismSectionAssemblyResultRow.cs) (revision 31f41aab181d3009551b8568e4d5f734199de0cf)
@@ -81,7 +81,7 @@
///
/// Gets the start of the section from the beginning of the reference line.
- /// [m]
+ /// [km]
///
public RoundedDouble SectionStart
{
@@ -93,7 +93,7 @@
///
/// Gets the end of the section from the beginning of the reference line.
- /// [m]
+ /// [km]
///
public RoundedDouble SectionEnd
{
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/CombinedFailureMechanismSectionAssemblyResultFactoryTest.cs
===================================================================
diff -u -r79526403f2ea0595349ceccf86eb829c67520018 -r31f41aab181d3009551b8568e4d5f734199de0cf
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/CombinedFailureMechanismSectionAssemblyResultFactoryTest.cs (.../CombinedFailureMechanismSectionAssemblyResultFactoryTest.cs) (revision 79526403f2ea0595349ceccf86eb829c67520018)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/CombinedFailureMechanismSectionAssemblyResultFactoryTest.cs (.../CombinedFailureMechanismSectionAssemblyResultFactoryTest.cs) (revision 31f41aab181d3009551b8568e4d5f734199de0cf)
@@ -105,8 +105,8 @@
Assert.AreEqual(output.Length, results.Length);
for (var i = 0; i < output.Length; i++)
{
- Assert.AreEqual(output[i].Section.SectionStart, results[i].SectionStart);
- Assert.AreEqual(output[i].Section.SectionEnd, results[i].SectionEnd);
+ Assert.AreEqual(output[i].Section.SectionStart / 1000, results[i].SectionStart);
+ Assert.AreEqual(output[i].Section.SectionEnd / 1000, results[i].SectionEnd);
Assert.AreEqual(output[i].Section.CategoryGroup, results[i].TotalResult);
Assert.AreEqual(output[i].FailureMechanismResults.ElementAt(failureMechanisms[assessmentSection.Piping]), results[i].Piping);
@@ -162,8 +162,8 @@
Assert.AreEqual(output.Length, results.Length);
for (var i = 0; i < output.Length; i++)
{
- Assert.AreEqual(output[i].Section.SectionStart, results[i].SectionStart);
- Assert.AreEqual(output[i].Section.SectionEnd, results[i].SectionEnd);
+ Assert.AreEqual(output[i].Section.SectionStart / 1000, results[i].SectionStart);
+ Assert.AreEqual(output[i].Section.SectionEnd / 1000, results[i].SectionEnd);
Assert.AreEqual(output[i].Section.CategoryGroup, results[i].TotalResult);
Assert.AreEqual(FailureMechanismSectionAssemblyCategoryGroup.NotApplicable, results[i].Piping);