Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.Designer.cs
===================================================================
diff -u -r3575dc7abc98e41eb34414aa10fd414765f54bd6 -ra020d9f06d0b1d22b0576ea8a7ad67d9410026a8
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 3575dc7abc98e41eb34414aa10fd414765f54bd6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision a020d9f06d0b1d22b0576ea8a7ad67d9410026a8)
@@ -863,6 +863,15 @@
}
///
+ /// Looks up a localized string similar to Vaknummer.
+ ///
+ public static string SectionNumber_DisplayName {
+ get {
+ return ResourceManager.GetString("SectionNumber_DisplayName", resourceCulture);
+ }
+ }
+
+ ///
/// Looks up a localized string similar to Overstromingskans van het dijktraject waarvan overschrijding gemeld moet worden aan de Minister van I en M..
///
public static string SignalingNorm_Description {
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.resx
===================================================================
diff -u -r3575dc7abc98e41eb34414aa10fd414765f54bd6 -ra020d9f06d0b1d22b0576ea8a7ad67d9410026a8
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.resx (.../Resources.resx) (revision 3575dc7abc98e41eb34414aa10fd414765f54bd6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Properties/Resources.resx (.../Resources.resx) (revision a020d9f06d0b1d22b0576ea8a7ad67d9410026a8)
@@ -382,4 +382,7 @@
Categoriegrenzen voor de gecombineerde toetssporen 1 en 2
+
+ Vaknummer
+
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultPerSectionView.cs
===================================================================
diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -ra020d9f06d0b1d22b0576ea8a7ad67d9410026a8
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultPerSectionView.cs (.../AssemblyResultPerSectionView.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultPerSectionView.cs (.../AssemblyResultPerSectionView.cs) (revision a020d9f06d0b1d22b0576ea8a7ad67d9410026a8)
@@ -159,6 +159,9 @@
private void InitializeDataGridView()
{
+ dataGridViewControl.AddTextBoxColumn(nameof(CombinedFailureMechanismSectionAssemblyResultRow.SectionNumber),
+ Resources.SectionNumber_DisplayName,
+ true);
dataGridViewControl.AddTextBoxColumn(nameof(CombinedFailureMechanismSectionAssemblyResultRow.SectionStart),
RingtoetsCommonFormsResources.SectionStart_DisplayName,
true);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultPerSectionViewTest.cs
===================================================================
diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -ra020d9f06d0b1d22b0576ea8a7ad67d9410026a8
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultPerSectionViewTest.cs (.../AssemblyResultPerSectionViewTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultPerSectionViewTest.cs (.../AssemblyResultPerSectionViewTest.cs) (revision a020d9f06d0b1d22b0576ea8a7ad67d9410026a8)
@@ -49,28 +49,29 @@
[TestFixture]
public class AssemblyResultPerSectionViewTest
{
- private const int sectionStartColumnIndex = 0;
- private const int sectionEndColumnIndex = 1;
- private const int sectionTotalAssemblyResultColumnIndex = 2;
- private const int pipingColumnIndex = 3;
- private const int grassCoverErosionInwardsColumnIndex = 4;
- private const int macroStabilityInwardsColumnIndex = 5;
- private const int macroStabilityOutwardsColumnIndex = 6;
- private const int microStabilityColumnIndex = 7;
- private const int stabilityStoneCoverColumnIndex = 8;
- private const int waveImpactAsphaltCoverColumnIndex = 9;
- private const int waterPressureAsphaltCoverColumnIndex = 10;
- private const int grassCoverErosionOutwardsColumnIndex = 11;
- private const int grassCoverSlipOffOutwardsColumnIndex = 12;
- private const int grassCoverSlipOffInwardsColumnIndex = 13;
- private const int heightStructuresColumnIndex = 14;
- private const int closingStructures = 15;
- private const int pipingStructures = 16;
- private const int stabilityPointStructuresColumnIndex = 17;
- private const int strengthStabilityLengthwiseColumnIndex = 18;
- private const int duneErosionColumnIndex = 19;
- private const int technicalInnovationColumnIndex = 20;
- private const int expectedColumnCount = 21;
+ private const int sectionNumberColumnIndex = 0;
+ private const int sectionStartColumnIndex = 1;
+ private const int sectionEndColumnIndex = 2;
+ private const int sectionTotalAssemblyResultColumnIndex = 3;
+ private const int pipingColumnIndex = 4;
+ private const int grassCoverErosionInwardsColumnIndex = 5;
+ private const int macroStabilityInwardsColumnIndex = 6;
+ private const int macroStabilityOutwardsColumnIndex = 7;
+ private const int microStabilityColumnIndex = 8;
+ private const int stabilityStoneCoverColumnIndex = 9;
+ private const int waveImpactAsphaltCoverColumnIndex = 10;
+ private const int waterPressureAsphaltCoverColumnIndex = 11;
+ private const int grassCoverErosionOutwardsColumnIndex = 12;
+ private const int grassCoverSlipOffOutwardsColumnIndex = 13;
+ private const int grassCoverSlipOffInwardsColumnIndex = 14;
+ private const int heightStructuresColumnIndex = 15;
+ private const int closingStructures = 16;
+ private const int pipingStructures = 17;
+ private const int stabilityPointStructuresColumnIndex = 18;
+ private const int strengthStabilityLengthwiseColumnIndex = 19;
+ private const int duneErosionColumnIndex = 20;
+ private const int technicalInnovationColumnIndex = 21;
+ private const int expectedColumnCount = 22;
private const string assemblyResultOutdatedWarning = "Toetsoordeel is verouderd. Druk op de \"Toetsoordeel verversen\" knop om opnieuw te berekenen.";
private const string assemblyResultManualWarning = "Toetsoordeel is (deels) gebaseerd op handmatig overschreven toetsoordelen.";
@@ -162,6 +163,7 @@
DataGridViewColumnCollection dataGridViewColumns = dataGridView.Columns;
+ AssertColumn(dataGridViewColumns[sectionNumberColumnIndex], "Vaknummer");
AssertColumn(dataGridViewColumns[sectionStartColumnIndex], "Metrering van* [m]");
AssertColumn(dataGridViewColumns[sectionEndColumnIndex], "Metrering tot* [m]");
AssertColumn(dataGridViewColumns[sectionTotalAssemblyResultColumnIndex], "Gecombineerd vakoordeel");