Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj
===================================================================
diff -u -r14de3deecd2cff7f6abe41ed6dc5dc016c4c81e0 -r0c3a6dc145f279be07c2deb3ef190ea81c6d3e13
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj (.../Ringtoets.Piping.Forms.csproj) (revision 14de3deecd2cff7f6abe41ed6dc5dc016c4c81e0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Ringtoets.Piping.Forms.csproj (.../Ringtoets.Piping.Forms.csproj) (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -39,9 +39,16 @@
MinimumRecommendedRules.ruleset
+
+ False
+
+
+
..\..\..\..\packages\log4net.2.0.4\lib\net40-full\log4net.dll
+
+
@@ -92,6 +99,12 @@
+
+ UserControl
+
+
+ PipingCalculationInputView.cs
+
UserControl
@@ -144,6 +157,11 @@
Core.Common.Version
False
+
+ {2465CCA1-C505-4827-9454-4FD5FD9194CD}
+ Core.Components.Charting.Forms
+ False
+
{5A91174A-FB95-4C9D-9CA5-81C0B8D4361A}
Core.Components.DotSpatial.Forms
@@ -204,6 +222,9 @@
Resources.Designer.cs
Designer
+
+ PipingCalculationInputView.cs
+
PipingCalculationsView.cs
Designer
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.Designer.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.Designer.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.Designer.cs (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -0,0 +1,58 @@
+namespace Ringtoets.Piping.Forms.Views
+{
+ partial class PipingCalculationInputView
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.chartControl = new Core.Components.OxyPlot.Forms.ChartControl();
+ this.SuspendLayout();
+ //
+ // chartControl
+ //
+ this.chartControl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.chartControl.Location = new System.Drawing.Point(0, 0);
+ this.chartControl.MinimumSize = new System.Drawing.Size(50, 75);
+ this.chartControl.Name = "chartControl";
+ this.chartControl.Size = new System.Drawing.Size(150, 150);
+ this.chartControl.TabIndex = 0;
+ this.chartControl.Text = "chartControl1";
+ //
+ // PipingCalculationInputView
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.chartControl);
+ this.Name = "PipingCalculationInputView";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private Core.Components.OxyPlot.Forms.ChartControl chartControl;
+ }
+}
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.cs
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.cs (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.cs (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -0,0 +1,50 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets 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.Windows.Forms;
+using Core.Components.Charting.Forms;
+
+namespace Ringtoets.Piping.Forms.Views
+{
+ ///
+ /// This class is a view to show the piping input.
+ ///
+ public partial class PipingCalculationInputView : UserControl, IChartView
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ public PipingCalculationInputView()
+ {
+ InitializeComponent();
+ }
+
+ public object Data { get; set; }
+
+ public IChartControl Chart
+ {
+ get
+ {
+ return chartControl;
+ }
+ }
+ }
+}
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.resx
===================================================================
diff -u
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.resx (revision 0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationInputView.resx (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj
===================================================================
diff -u -r14de3deecd2cff7f6abe41ed6dc5dc016c4c81e0 -r0c3a6dc145f279be07c2deb3ef190ea81c6d3e13
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision 14de3deecd2cff7f6abe41ed6dc5dc016c4c81e0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -98,6 +98,7 @@
+
@@ -135,6 +136,10 @@
{d749ee4c-ce50-4c17-bf01-9a953028c126}
Core.Common.TestUtil
+
+ {2465CCA1-C505-4827-9454-4FD5FD9194CD}
+ Core.Components.Charting.Forms
+
{5A91174A-FB95-4C9D-9CA5-81C0B8D4361A}
Core.Components.DotSpatial.Forms
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationInputViewTest.cs
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationInputViewTest.cs (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationInputViewTest.cs (revision 0c3a6dc145f279be07c2deb3ef190ea81c6d3e13)
@@ -0,0 +1,45 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets 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.Windows.Forms;
+using Core.Components.Charting.Forms;
+using NUnit.Framework;
+using Ringtoets.Piping.Forms.Views;
+
+namespace Ringtoets.Piping.Forms.Test.Views
+{
+ [TestFixture]
+ public class PipingCalculationInputViewTest
+ {
+ [Test]
+ public void DefaultConstructor_DefaultValues()
+ {
+ // Call
+ var view = new PipingCalculationInputView();
+
+ // Assert
+ Assert.IsInstanceOf(view);
+ Assert.IsInstanceOf(view);
+ Assert.IsNotNull(view.Chart);
+ Assert.IsNull(view.Data);
+ }
+ }
+}
\ No newline at end of file