Index: DamClients/DamUI/branches/nwo/src/Dam/Data/DamFailureMechanismeCalculationSpecification.cs =================================================================== diff -u -r875 -r1533 --- DamClients/DamUI/branches/nwo/src/Dam/Data/DamFailureMechanismeCalculationSpecification.cs (.../CalcualtionIncluded/src/Dam/Data/DamFailureMechanismeCalculationSpecification.cs) (revision 875) +++ DamClients/DamUI/branches/nwo/src/Dam/Data/DamFailureMechanismeCalculationSpecification.cs (.../nwo/src/Dam/Data/DamFailureMechanismeCalculationSpecification.cs) (revision 1533) @@ -1,30 +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 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.Collections; using System.ComponentModel; using System.Xml.Serialization; using Deltares.Dam.Data.UISupport; +using Deltares.Standard; using Deltares.Standard.Attributes; using Deltares.Standard.EventPublisher; using Deltares.Standard.Validation; namespace Deltares.Dam.Data { using System; - using Deltares.Standard; /// /// @@ -171,9 +177,13 @@ public void Assign(DamFailureMechanismeCalculationSpecification damFailureMechanismeCalculation) { - this.FailureMechanismSystemType = damFailureMechanismeCalculation.failureMechanismSystemType; - this.FailureMechanismeParamatersMStab.Assign(damFailureMechanismeCalculation.FailureMechanismeParamatersMStab); - //assign interface + failureMechanismSystemType = damFailureMechanismeCalculation.FailureMechanismSystemType; + calculationModel = damFailureMechanismeCalculation.CalculationModel; + pipingModelType = damFailureMechanismeCalculation.pipingModelType; + failureMechanismeParamatersMStab.Assign(damFailureMechanismeCalculation.FailureMechanismeParamatersMStab); + StabilityModelType = damFailureMechanismeCalculation.StabilityModelType; + stabilityKernelType = damFailureMechanismeCalculation.StabilityKernelType; + //assign interface } public DamFailureMechanismeCalculationSpecification Clone()