Deltares.Dam.Data

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reordered columns in the Location Scenarios tab

Related to Issue [MWDAM-1584]

Cleanup: Preparations to remove the PolderLevel from the location object:

- Rewired SensorLocation to use the first scenario data (consistent with other implementations)

- Changed tests: objects should always start with a clean state and not be initialized once for a whole test fixture

Related to Issue [MWDAM-1584]

  1. … 1 more file in changeset.
Cleanup: Preparations to remove the PolderLevel from the location object

Related to Issue [MWDAM-1584]

  1. … 6 more files in changeset.
Added test to verify functionality of Scenario.

Related to Issue [MWDAM-1584]

  1. … 2 more files in changeset.
Added data to be imported to the IO and importer datamodels:

- Added PolderLevel column to be read from the Scenarios.csv files when applicable

Related to Issue [MWDAM-1584]

    • -0
    • +10
    ./CsvImporters/CsvImporterScenarios.cs
  1. … 2 more files in changeset.
Adjusted data model to cope with new functionality:

- Context to make the new column visible for the scenarios

- Added property to scenarios to fill it with the required information

Related to Issue [MWDAM-1584]

  1. … 1 more file in changeset.
Fix unit tests

Related to Issue [MWDAM-1535]

Fixed some SonarQube bug alerts

Related to Issue [MWDAM-1535]

getValue for scenario data in SensorLocation now works. Also added check that there is only 1 scenario in SensorLocation

Related to Issue [MWDAM-1535]

  1. … 1 more file in changeset.
Update XSD for Calculation parameters

Related to Issue [MWDAM-1295]

    • -24
    • +0
    ./Xsd/CalculationParametersDefinition.xsd
Remove obsolete MStab parameters

Related to Issue [MWDAM-1295]

    • -35
    • +11
    ./Assemblers/CalculationParametersAssembler.cs
  1. … 2 more files in changeset.
Remove obsolete calculation modules

Related to Issue [MWDAM-1295]

    • -28
    • +22
    ./Assemblers/CalculationParametersAssembler.cs
  1. … 4 more files in changeset.
Fixed ThrowIfArgumentNull to give proper message.

Fixed use of message CsvHeaderNullOrEmpty (it was not found because name was different).

Improved tests to see if expected message was given for header and splitter.

Related to Issue [MWDAM-1556]

    • -12
    • +12
    ./DamEngineIo/FillXmlInputFromDamUi.cs
  1. … 2 more files in changeset.
Fix bug reported by SonarQube

Related to Issue [MWDAM-1514]

    • -3
    • +5
    ./Sensors/SensorImportFromExcelSheet.cs
Reverted revision(s) 2602 from DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Translations.xml: change of names accidentally lead to RequiredRequired in translation ids, I changed that back.

Related to Issue [MWDAM-1521]

Refactored; improved layout

Related to Issue [MWDAM-1295]

    • -16
    • +51
    ./Assemblers/CalculationParametersAssembler.cs
Cleanup code due to SonarCube analysis

- Use ArgumentNullException i.s.o. NullReferenceException (implement ThrowHelper)

- Move strings to resources

Related to Issue [MWDAM-1556]

    • -74
    • +38
    ./DamEngineIo/FillXmlInputFromDamUi.cs
    • -22
    • +154
    ./Properties/Resources.Designer.cs
  1. … 1 more file in changeset.
Improved handling of import errors for TimeDataSeries. Program no longer crashes, the error message now shows the relevant information.

Made sure that inner exception message is shown when program crashes.

Related to Issue [MWDAM-1457]

  1. … 2 more files in changeset.
Throw exception when River Level Low is not specified in case the calculation model is Stability Outside.

Related to Issue [MWDAM-1556]

    • -0
    • +15
    ./DamEngineIo/FillXmlInputFromDamUi.cs
  1. … 1 more file in changeset.
Do not set value of RiverLevel to RiverLevelLow in import from scenarios.csv when RiverLevelLow is not specified.

Related to Issue [MWDAM-1556]

    • -4
    • +0
    ./CsvImporters/CsvImporterScenarios.cs
Added tests for import of parameters that can be imported from scenarios.csv but also from locations.csv and shapefiles.

Related to Issue [MWDAM-1541]

    • -6
    • +6
    ./Importers/LocationShapeFileAttributeMap.cs
  1. … 44 more files in changeset.
Add import of uplift criteria and safety factors from locations.csv of shapefile to scenario.

Related to Issue [MWDAM-1521]

    • -6
    • +6
    ./CsvImporters/CsvImporterScenarios.cs
  1. … 1 more file in changeset.
Prepare to implement DamLicense object for DamLive

Related to Issue [MWDAM-890]

  1. … 2 more files in changeset.
2nd part of commit (oops not saved)

Modified UI for: Made RequiredSafetyFactorStabilityInnerSlope, RequiredSafetyFactorStabilityOuterSlope, RequiredSafetyFactorPiping, UpliftCriterionStability and UpliftCriterionPiping required in xsd/DamLocation.xsd

Set defaults when not specified in import.

Related to Issue [MWDAM-1537]

    • -34
    • +5
    ./CsvImporters/CsvImporterScenarios.cs
Modified UI for: Made RequiredSafetyFactorStabilityInnerSlope, RequiredSafetyFactorStabilityOuterSlope, RequiredSafetyFactorPiping, UpliftCriterionStability and UpliftCriterionPiping required in xsd/DamLocation.xsd

Set defaults when not specified in import.

Related to Issue [MWDAM-1537]

    • -5
    • +5
    ./DamEngineIo/FillDamUiFromXmlInput.cs
    • -10
    • +5
    ./DamEngineIo/FillXmlInputFromDamUi.cs
Reverted revision(s) 2573 from DamClients/DamUI/trunk/src that caused a stack overflow:

Refactored: removed ModelFactors as class.

Related to Issue [MWDAM-1537]

Refactored: removed ModelFactors as class.

Related to Issue [MWDAM-1537]

Refactored: use type double instead of double? for PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside in UI.

Related to Issue [MWDAM-1537]

    • -4
    • +4
    ./DamEngineIo/FillXmlInputFromDamUi.cs
Set proper defaults for PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside in UI.

Related to Issue [MWDAM-1537]

Modified UI for: Made PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside required in xsd/DamLocation.xsd

Set default 0.0 when not specified in import (proper defaults in next commit)

Related to Issue [MWDAM-1537]

    • -8
    • +4
    ./DamEngineIo/FillXmlInputFromDamUi.cs
    • -4
    • +4
    ./DamEngineIo/FillDamUiFromXmlInput.cs