using System.ComponentModel;
using Deltares.Geotechnics;
using Deltares.Standard;
using Deltares.Standard.Attributes;
using Deltares.Standard.Units;
namespace Deltares.DeltaModel
{
///
/// Asphalt revetment region for dike locations.
///
public class AsphaltRegion
{
private AsphaltRegionWaterSystemType asphaltRegionWaterSystemType = AsphaltRegionWaterSystemType.Other;
private double tideDuration = 44712; // 12.42 h
private double waterDensity = 1000;
///
/// The (Hydra-Ring) region which the asphalt region is mapped to.
///
[ReadOnly(true)]
[Category("Region")]
[PropertyOrder(1, 1)]
public Region Region { get; set; }
///
/// The water system type of the asphalt region.
///
[ReadOnly(true)]
[Category("Region")]
[PropertyOrder(1, 2)]
public AsphaltRegionWaterSystemType AsphaltRegionWaterSystemType
{
get
{
return asphaltRegionWaterSystemType;
}
set
{
asphaltRegionWaterSystemType = value;
}
}
///
/// The water density of the asphalt region (Kg/m3).
///
[ReadOnly(true)]
[Format("F2")]
[Unit(UnitType.Density)]
[Category("Region")]
[PropertyOrder(1, 3)]
public double WaterDensity
{
get
{
return waterDensity;
}
set
{
waterDensity = value;
}
}
///
/// The tide duration of the asphalt region (s).
///
[Browsable(false)]
[Unit(UnitType.Time)]
public double TideDuration
{
get
{
return tideDuration;
}
set
{
tideDuration = value;
}
}
}
}