// Copyright (C) Stichting Deltares 2018. All rights reserved.
//
// This file is part of the Dam Engine.
//
// The Dam Engine is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero 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;
namespace Deltares.DamEngine.Data.General
{
public enum DamLicenseType
{
None = 0,
Dongle = 1,
FlexNet = 2,
FlexLm = 3,
LicFile = 4,
LFM = 5
}
public enum DamType
{
Primary,
Regional
}
public enum FullAnalysisType
{
Normal,
WV21
};
public enum DamProjectType
{
AssessmentRegional,
Operational,
Design
}
public enum ProgramType
{
MStab,
SlopeW
};
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
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
{
NoAdaption,
AdaptGeometry
};
public enum FailureMechanismSystemType
{
StabilityInside,
StabilityOutside,
Piping,
HorizontalBalance
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
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
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum PipingModelType
{
Bligh,
SellmeijerVnk,
Sellmeijer4Forces,
Wti2017
};
public enum PlLineAssignment
{
NoPlLines,
ExpertKnowledge,
DikeFlow,
OrginalPlLines
}
public enum SoilProfileType
{
ProfileType1D,
ProfileType2D,
ProfileTypeStiFile
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum MStabShearStrength
{
CPhi,
StressTables,
CuCalculated,
CuMeasured,
CuGradient,
Default
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum MStabSearchMethod
{
Grid,
GeneticAlgorithm
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum MStabGridPosition
{
Left,
Right
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum MStabZonesType
{
NoZones = 0,
ZoneAreas = 1,
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.
};
// TODO: RW this is regional specific code and should be moved to its own class
public enum DikeDrySensitivity //RWScenarios
{
None,
Dry
}
// TODO: RW this is regional specific code and should be moved to its own class
public enum HydraulicShortcutType //RWScenarios
{
HydraulicShortcut,
NoHydraulicShortcut
}
// TODO: RW this is regional specific code and should be moved to its own class
public enum RegionalResultType //RWScenarios
{
ProbabilityOfFailure,
SafetyFactor
}
// TODO: RW this is regional specific code and should be moved to its own class
public enum ResultEvaluation //RWScenarios
{
Accepted,
Rejected,
NotEvaluated
}
// TODO: RW this is regional specific code and should be moved to its own class
public enum LoadSituation //RWScenarios
{
Dry,
Wet
}
// TODO: RW this is regional specific code and should be moved to its own class
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
}
// TODO: RW this is regional specific code and should be moved to its own class
public enum SchematizationType //Schematizationfactor
{
MacroStabilityInnerSideWet,
MacroStabilityInnerSideDry,
PipingWet,
PipingDry,
HorizontalBalanceDry
}
// TODO: Operational. This is operational specific code and should be moved to its own class
public enum DataSourceTypeSensors //Sensors
{
Ignore,
LocationData,
Sensor
}
// TODO: Operational. This is operational specific code and should be moved to its own class
public enum SensorType //Sensors
{
PiezometricHead,
WaterLevel,
PolderLevel
}
// TODO: Operational. This is operational specific code and should be moved to its own class
///
/// 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,
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
{
NoRun,
Failed,
Good,
Bad,
Mixed
}
// TODO: Operational. This is operational specific code and should be moved to its own class
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)
}
// TODO: FM this is failure mechanism specific code and should be moved to ..\KernelWrappers
public enum IntrusionVerticalWaterPressureType
{
Standard,
Linear,
FullHydroStatic,
HydroStatic,
SemiTimeDependent
}
}