Index: dam engine/branches/Initial Source/Deltares.DamEngine.Data/General/DamFailureMechanismeCalculationSpecification.cs =================================================================== diff -u -r276 -r303 --- dam engine/branches/Initial Source/Deltares.DamEngine.Data/General/DamFailureMechanismeCalculationSpecification.cs (.../DamFailureMechanismeCalculationSpecification.cs) (revision 276) +++ dam engine/branches/Initial Source/Deltares.DamEngine.Data/General/DamFailureMechanismeCalculationSpecification.cs (.../DamFailureMechanismeCalculationSpecification.cs) (revision 303) @@ -1,29 +1,36 @@ -//----------------------------------------------------------------------- -// -// Copyright (c) 2010 Deltares. All rights reserved. -// -// B.S.T.I.M. The -// tom.the@deltares.nl -// 18-05-2010 -// -// data class for specifying one single calculation -// data class for xml file creator for DGSMStabDam.dll -// Note: this is a single class with dual purpose; maybe refactor -// Pull out the XML specific things into DamMStabInput -// -//----------------------------------------------------------------------- +// Copyright (C) Stichting Deltares 2017. 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; using System.Collections; using System.ComponentModel; using System.Xml.Serialization; +using Deltares.DamEngine.Data.Standard.Validation; namespace Deltares.DamEngine.Data.General { /// /// /// - public class DamFailureMechanismeCalculationSpecification: IDomain, IVisibleEnabled + public class DamFailureMechanismeCalculationSpecification { private FailureMechanismSystemType failureMechanismSystemType; private PipingModelType pipingModelType = PipingModelType.Sellmeijer4Forces; @@ -43,16 +50,13 @@ ReadUserSettingsSlipCircleDefinition(); } - [Browsable(false)] [Validate] public FailureMechanismeParamatersMStab FailureMechanismeParamatersMStab { get { return failureMechanismeParamatersMStab; } set { failureMechanismeParamatersMStab = value; } } - [Label("Failure mechanism")] - [PropertyOrder(1, 0)] public FailureMechanismSystemType FailureMechanismSystemType { get { return failureMechanismSystemType; }