// Copyright (C) Stichting Deltares 2018. All rights reserved. // // This file is part of the application DAM - UI. // // DAM - UI is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // All names, logos, and references to "Deltares" are registered trademarks of // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. using System; using Deltares.Standard.Attributes; namespace Deltares.Dam.Data { public enum DamLicenseType { None = 0, Dongle = 1, FlexNet = 2, FlexLm = 3, LicFile = 4, LFM = 5 } public enum DamType { [Label("Primary dike")] Primary, [Label("Regional dike")] Regional } public enum FullAnalysisType { Normal, WV21 }; public enum DamProjectType { Calamity, Assessment, Design, DamLiveConfiguration } public enum ProgramType { MStab, SlopeW }; public enum StabilityKernelType { // The Classic models all use DGMStabDam.dll to generate a sti file from the input (so also pl-lines only) // DAM classic uses the Delphi version of DGS (as exe) to solve the calculation DamClassic, // DAM classic .Net uses the .Net version of DGS which is based on the old Delphi code to solve the calculation DamClassicDotNet, // DAM classic WTI uses the .Net version of DGS which is based on the new C# code to solve the calculation DamClassicWti, // The advanced models use the geotechnics and DGS classes to generate the required data from input, // using the waternet only. This requires the -rto option for starting // Advanced .Net uses the .Net version of DGS which is based on the old Delphi code to solve the calculation AdvancedDotNet, // Advanced WTI uses the .Net version of DGS which is based on the new C# code to solve the calculation AdvancedWti }; public enum AnalysisType { [Label("No adaptation")] [XmlOldName("Normal")] NoAdaption, [Label("Adapt geometry")] [XmlOldName("Design")] AdaptGeometry }; public enum ProbabilisticType { Deterministic, Probabilistic, ProbabilisticFragility }; public enum FailureMechanismSystemType { [XmlOldName("Stability", "StabilityInsideMStab")] StabilityInside, StabilityOutside, Piping, HorizontalBalance, FlowSlide, Sliding } public enum MStabModelType { Bishop, Spencer, Fellenius, UpliftVan, UpliftSpencer, BishopRandomField, HorizontalBalance, BishopUpliftVan, SpencerHigh, // #Bka added SpencerHigh/SpencerLow as quick fix. Should be replaced with options for Spencer later! These enums should be removed. SpencerLow } public enum PipingModelType { Bligh, Sellmeijer, Sellmeijer2Forces, Sellmeijer4Forces, Wti2017 }; public enum SlidingModelType { All, }; public enum FlowSlideModelType { All, }; public enum PLLineAssignment { NoPLLines, ExpertKnowledge, DikeFlow, OrginalPLLines } public enum SoilGeometryType { SoilGeometry1D, SoilGeometry2D } public enum MStabShearStrength { CPhi, StressTables, CuCalculated, CuMeasured, CuGradient, Default } public enum MStabSearchMethod { Grid, GeneticAlgorithm } public enum MStabGridPosition { Left, Right } public enum MStabZonesType { [Label("No zones")] NoZones = 0, [Label("Zone areas")] ZoneAreas = 1, [Label("Forbidden zones")] ForbiddenZone = 2 } public enum StabilityDesignMethod //Design { OptimizedSlopeAndShoulderAdaption, SlopeAdaptionBeforeShoulderAdaption } public enum PLLineType { PL1, PL2, PL3, PL4 } public enum PLLinePointPositionXzType { OnPLLine, AbovePLLine, BelowPLLine, BeyondPLLine // indicates that point is outside the scope of the pl line. }; public enum DikeDrySensitivity //RWScenarios { None, Dry } public enum HydraulicShortcutType //RWScenarios { HydraulicShortcut, NoHydraulicShortcut } public enum RWResultType //RWScenarios { [Label("Probability of failure")] ProbabilityOfFailure, [Label("Safety factor")] SafetyFactor } public enum ResultEvaluation //RWScenarios { [Label("Accepted")] Accepted, [Label("Rejected")] Rejected, [Label("Not evaluated")] NotEvaluated } public enum LoadSituation //RWScenarios { Dry, Wet } public enum ScenarioType //RWScenarios { Scenario01 = 1, Scenario02 = 2, Scenario03 = 3, Scenario04 = 4, Scenario05 = 5, Scenario06 = 6, Scenario07 = 7, Scenario08 = 8, Scenario09 = 9, Scenario10 = 10, Scenario11 = 11 } public enum SchematizationType //Schematizationfactor { MacroStabiltyInnerSideWet, MacroStabiltyInnerSideDry, PipingWet, PipingDry, HorzontalBalanceDry } public enum DataSourceTypeSensors //Sensors { Ignore, LocationData, Sensor } public enum SensorType //Sensors { PiezometricHead, WaterLevel, PolderLevel } /// /// Type of output series /// public enum TimeSerieParameters { [Obsolete("Use StabilityInsideFactor instead")] SafetyFactor, // <- Is same as StabilityInsideFactor, kept for legacy code PipingFactorWti, PipingFactorBligh, PipingFactorSellmeijer, ProbabilityOfFailurePipingSellmeijer, OvertoppingErosion, StabilityInsideFactor, StabilityOutsideFactor } public enum UpliftType { Uplift, NoUplift } public enum PLLineCreationMethod { ExpertKnowledgeRRD, ExpertKnowledgeLinearInDike, GaugesWithFallbackToExpertKnowledgeRRD, DupuitStatic, DupuitDynamic, Sensors, None } public enum ProjectPathLocation { // Other future possibilties: InProjectMap, InWindowsTemp InApplicationMap, InUserMap, InProjectMap } public enum StabMethodDupuit { None = 0, Fellenius = 1, Bishop = 2 } public enum DataSourceType { CsvFiles, Iris, DataShapeFiles, BackgroundShapeFiles, MSoilBase, MGeobase } public enum LayerType { Top, Dike, Cover, Aquifer1, Aquifer2, Aquitard } public enum JobResult { [Label("Not calculated")] NoRun, [Label("Failed")] Failed, [Label("Good")] Good, [Label("Bad")] Bad, [Label("Mixed")] Mixed } public enum TimeStepUnit { Second, Minute, Hour, Day, Week, Month, Year, Nonequidistant } public enum ConfigurationStatus { Available, // Option is implemented and available NotAvailable, // Option is implemented and available (can be used when combination is in development, so it will be hidden) NotImplemented // Option is not implemented (so also no available) } public enum IntrusionVerticalWaterPressureType { Standard, Linear, FullHydroStatic, HydroStatic, SemiTimeDependent } }