using System.ComponentModel; using Deltares.Standard; using Deltares.Standard.Attributes; using Deltares.Standard.Units; namespace Deltares.Stability { public class SlidingHorizontalPlane : SlidingCurve { private double horizontalForceLeft; private double horizontalForceRight; private double resistingForce; private double xLeft; private double xRight; private double z; public SlidingHorizontalPlane() { Name = "Sliding horizontal plane"; } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Length)] public double XLeft { get { return xLeft; } set { xLeft = value; } } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Length)] public double XRight { get { return xRight; } set { xRight = value; } } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Length)] public double Z { get { return z; } set { z = value; } } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Force)] public double HorizontalForceLeft { get { return horizontalForceLeft; } set { horizontalForceLeft = value; } } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Force)] public double HorizontalForceRight { get { return horizontalForceRight; } set { horizontalForceRight = value; } } [ReadOnly(true)] [Format("F2")] [Unit(UnitType.Force)] public double ResistingForce { get { return resistingForce; } set { resistingForce = value; } } } }