ClosingStructuresCalculationService.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Implement validation service: - Implemented validation rules for the ClosingStructuresCalculationService Related to Issue [WTI-927]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6300 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7374bcf7bc271ac3908eb5fd9224251d5d528dfb

Former-commit-id: 22326ff17213d83e8d2d2c368acdbcdd857d3840

    • -101
    • +85
    ./ClosingStructuresCalculationService.cs
* Made variabletype explicit. * Added xml docs to method to make it clear what it's behavior is. * Added InvalidEnumArgumentException to default sections of switch statements. * Renamed resource (and reused it)

Related to Issue [WTI-926]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6299 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bc454db9c282f8f142b9ddd4e0d6b2f7141a5ef6

Former-commit-id: f83d1d7387f86e9c8cb1edf2cf839799e3180065

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 14 more files in changeset.
- Introduced AssessmentSectionHelper to create assessment section stubs. - Introduced service for stability point structures. - Introduced test calculation for stability point structures. Related to Issue [WTI-568]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6259 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 341b4d67f97ea9ff66407a2f408577674c7c948d

Former-commit-id: f2f1c210714d43fbde39a88be94cd95599efd5b7

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 19 more files in changeset.
Implement validation: - Added validation for the flooded culvert calculations Related to Issue [WTI-926]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6257 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b06381fe2f4d7951d2e79f2a9cd51192c1af9274

Former-commit-id: 2c11dfa81411bf8f924cd9872d30244715f7d6c9

    • -5
    • +34
    ./ClosingStructuresCalculationService.cs
  1. … 1 more file in changeset.
Implement validation: - Resource was removed while file out of date: fixed Related to Issue [WTI-926]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6251 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a90a035a9b302fc410f3ac7a6a476c2de0d8cbe4

Former-commit-id: f50bfecf910d01ff1a8ea6cfdd6976b4427eb33b

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
Implement validation: - Added validation for the inputs that are required for a low sill calculation - Simplified tests: introduced a method that sets all the input parameters of the calculation object to invalid values - Added documentation Related to Issue [WTI-926]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6250 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7bd5a770ac99355474ab8d75af6ffc088944770e

Former-commit-id: 69a68ed124717f26cb8c6538a40a84f57f927188

    • -0
    • +45
    ./ClosingStructuresCalculationService.cs
  1. … 1 more file in changeset.
Moved some resources Related to Issue [WTI-570]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6249 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c795294f2e378a89a95f3808dfe0c98ca3f73eef

Former-commit-id: a7a95f864bbed2edfd542508171fa2abcd856704

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 11 more files in changeset.
Changes after review. Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6233 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: aa525712740ea4d4c290bb2be7d7f91c8f1e8fa7

Former-commit-id: 59b6c1d9951a51610a60068228326a1f588c9aeb

    • -1
    • +3
    ./ClosingStructuresCalculationService.cs
  1. … 11 more files in changeset.
Implement validation: - Removed obsolete function in HeightStructuresCalculationService - Added validation for the inputs that are required for a vertical wall calculation Related to Issue [WTI-926]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6230 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1753103e36b04f9785289770d1608b2a57e33381

Former-commit-id: eacc706ca5a543c3040a37c45700fe2f8f02d1e1

    • -5
    • +74
    ./ClosingStructuresCalculationService.cs
  1. … 4 more files in changeset.
Incorporated review comments 1129 - Adjusted exception when invalid enum of ClosingStructureInflowModelType is set Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6212 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3853885913d6298a9a3ec973f2b6badff2bcb7a0

Former-commit-id: d313b923eeca0fafe0af9ce8ad4c5e3d10fd791a

    • -3
    • +5
    ./ClosingStructuresCalculationService.cs
  1. … 1 more file in changeset.
Incorporated review comments 1129 - Renamed CalculationInputParser to something more generic and applicable - Adjusted XML doc of the StructuresClosureCalculator

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6208 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 2f00137a4aa30d9fe3f4ef3e42636185f40d54b3

Former-commit-id: 38f78612d2e68c2b03f3c1887cf43226076d4179

    • -6
    • +6
    ./ClosingStructuresCalculationService.cs
  1. … 11 more files in changeset.
Templated the StructuresHelper class. Related to Issue [WTI-594]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6204 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9af2ee4c370f0472857b45b41fd796b579f50619

Former-commit-id: d9c3e22d99ef39196a54806e55d1fd577a29f574

    • -3
    • +3
    ./ClosingStructuresCalculationService.cs
  1. … 38 more files in changeset.
Incorporated review comments 1129 - Extracted ParseBreakWater and ParseForeshore in a static class: implementation is now generic for StructuresCalculations and GrassCoverErosionInwardsCalculations Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6188 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7bf60fe98b88dc42b5a967de92f8775357b805f8

Former-commit-id: baca4f930a848196d1113d4987971b6a042a6a73

    • -36
    • +26
    ./ClosingStructuresCalculationService.cs
  1. … 6 more files in changeset.
Incorporated review comments 1129 - Editorial changes - Ensured that the output is cleared before a calculation starts

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6184 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f79443262092233e3b3416e49441046c09ba3837

Former-commit-id: f2b6382e18c1ae0bbf69f206c64202da00a124b3

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 7 more files in changeset.
Incorporated review comments 1129 - Changed method call signature of the Calculate methods in the HeightStructures and ClosingStructures services: service extracts the necessary information, not the activity Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6174 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 79566144bc44d8b7d4a1f435453d3321ee598df7

Former-commit-id: e73b7a124a7b3e44631e862bf7dcd5db00cd6425

    • -25
    • +36
    ./ClosingStructuresCalculationService.cs
  1. … 5 more files in changeset.
Incorporated review comments 1129 - Moved the responsibility of determining the directory of the HLCD filepath from the plugin to the service (fixed for all structures calculations) Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6171 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 50ef699096c94b2a5bd589bfdd8a4499d0cfb07c

Former-commit-id: 40fa4afce33f65e13e23ac0125c57d33044e7739

    • -3
    • +6
    ./ClosingStructuresCalculationService.cs
  1. … 11 more files in changeset.
Incorporated review comments 1129 - Make all Validation methods of the services static

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6168 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c2c1dfa6ae053ad7643e226bab6babdcccdf32c8

Former-commit-id: bfac9a2e7e59a3da068ccea7378d8c8bd4cde47a

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 29 more files in changeset.
Changed name of calculation routine in GrassCoverErosionInwardsCalculationService

Paired with tangerma

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6166 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 25f58d379a9eb6a426f9f53fffdfa9b573b57b43

Former-commit-id: 1b987b3e8b06a4dd720be621dbf857054c804d92

    • -1
    • +1
    ./ClosingStructuresCalculationService.cs
  1. … 5 more files in changeset.
Generalized three structures Calculations to StructuresCalculation class. Related to Issue [WTI-594]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6151 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a8405ee298bf3c641f426352c072744f2e3685cb

Former-commit-id: 5968cf3a46e1b19065199c498dbd525ef5f26552

    • -8
    • +9
    ./ClosingStructuresCalculationService.cs
  1. … 93 more files in changeset.
Connecting ClosingStructureCalculationActivity with relevant services: - Implemented functionality in the plugin as specified by the CalculationContextTreeNodeInfoTests (Note: one function is still missing) - Added basic functionality for the validation of input parameters: validate hydraulic boundary location and DB connection - Renamed inconsistent names in the ClosingStructuresCalculationServiceTest - Adjusted TestClosingStructuresCalculation: one probability value was uninitialized

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6118 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d67f48b0cf39e9911bf89af66c4c9d59d2180130

Former-commit-id: 0985bcd17011fc22fb933332858adc5420bc039e

    • -3
    • +26
    ./ClosingStructuresCalculationService.cs
  1. … 8 more files in changeset.
Connecting ClosingStructureCalculationActivity with relevant services: - Extracted string Resources for the service - Added missing license headers - Connected the calculation activity with the plugin

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6092 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c62b7744f24ebb093e3a759c16f217bab3698c90

Former-commit-id: dce6c1b5b4b81088b1e55f7877040c5e91f42de5

    • -2
    • +3
    ./ClosingStructuresCalculationService.cs
  1. … 7 more files in changeset.
Connecting ClosingStructureCalculationActivity with relevant services: - Finalizing ClosingStructuresCalculationActivity: introduced Validation placeholder - Extended tests for Activity and renamed them to reflect the what is being tested

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6091 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4af55b9dda2b07623f3e3cad5e05b941668a61bc

Former-commit-id: 96b85be6f5754a5f21818c67ed8c3dadeb427098

    • -0
    • +9
    ./ClosingStructuresCalculationService.cs
  1. … 3 more files in changeset.
Added ClosingStructuresCalculationService: - Implemented cancel and calculation functionality

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6080 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3203c25c11e395928dffed45dde755a0c3cec1ef

Former-commit-id: 7b921c0f57de6ca4815dd64aa418fee5bbd8a928

    • -3
    • +43
    ./ClosingStructuresCalculationService.cs
  1. … 2 more files in changeset.
Added ClosingStructuresCalculationService: - Input feedthrough created for flooded culvert

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6067 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c35d2e1e5be3a476df18cf241b7c0d70ca583f59

Former-commit-id: 69d7819d51383bd4b2b794c8f1b4d5d7bf2eded8

    • -5
    • +34
    ./ClosingStructuresCalculationService.cs
  1. … 1 more file in changeset.
Added ClosingStructuresCalculationService: - Input feedthrough created for low sill - Added test and handling for unsupported enum types

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6066 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 63345b4b1bf553eef4d22563713b1e0b53cdbc40

Former-commit-id: 572760b77093587e4199e57dbcad03814b2cbfba

    • -1
    • +35
    ./ClosingStructuresCalculationService.cs
  1. … 1 more file in changeset.
Connecting Hydraring: - Added IStructuresClosureCalculator to the HydraRingCalculatorFactory and TestHydraRingCalculatorFactory - Overloaded AreEqual method to assess Hydraring StructuresClosureInput

Added ClosingStructuresCalculationService:

- Input feedthrough created for vertical wall

Related to Issue [WTI-554]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6062 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a18caebf7a86a0477f185121f157329d0d7b5e2d

Former-commit-id: a1b3d86ee680cd975e669ea4ecda0f6eab1307cd

    • -0
    • +122
    ./ClosingStructuresCalculationService.cs
  1. … 11 more files in changeset.