Index: DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/Deltares.LayerOnSlopeTool.StiFileCreator.csproj =================================================================== diff -u -r3089 -r3093 --- DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/Deltares.LayerOnSlopeTool.StiFileCreator.csproj (.../Deltares.LayerOnSlopeTool.StiFileCreator.csproj) (revision 3089) +++ DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/Deltares.LayerOnSlopeTool.StiFileCreator.csproj (.../Deltares.LayerOnSlopeTool.StiFileCreator.csproj) (revision 3093) @@ -46,6 +46,7 @@ + Index: DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreator.cs =================================================================== diff -u -r3090 -r3093 --- DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreator.cs (.../StiFileCreator.cs) (revision 3090) +++ DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreator.cs (.../StiFileCreator.cs) (revision 3093) @@ -19,13 +19,15 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using Deltares.LayerOnSlopeTool.Data; - namespace Deltares.LayerOnSlopeTool.StiFileCreator { + /// Class for creating a *.sti file with DGSMStabDam.dll public class StiFileCreator { - public void ProcessFile(string inputFilename, SurfaceLine surfaceline, double xOffset, string dikeMaterialName, string outputFilename) + /// Createng a new .sti file based on the defined input. + /// The sti file creator input. + /// The output filename. + public void ProcessFile(StiFileCreatorInput stiFileCreatorInput, string outputFilename) { // TODO process file throw new System.NotImplementedException(); Index: DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreatorInput.cs =================================================================== diff -u --- DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreatorInput.cs (revision 0) +++ DamTools/LayerOnSlopeTool/trunk/src/Deltares.LayerOnSlopeTool.StiFileCreator/StiFileCreatorInput.cs (revision 3093) @@ -0,0 +1,42 @@ +// Copyright (C) Stichting Deltares 2020. 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 Deltares.LayerOnSlopeTool.Data; + +namespace Deltares.LayerOnSlopeTool.StiFileCreator +{ + /// Input class for StiFileCreator + public class StiFileCreatorInput + { + /// Gets or sets the input filename. + /// The input filename. + public string InputFilename { get; set; } + /// Gets or sets the surfaceline. + /// The surfaceline. + public SurfaceLine Surfaceline { get; set; } + /// Gets or sets the x offset. + /// The x offset. + public double XOffset { get; set; } + /// Gets or sets the name of the dike material. + /// The name of the dike material. + public string DikeMaterialName { get; set; } + } +} \ No newline at end of file