using System.ComponentModel;
using Deltares.Geotechnics;
using Deltares.Standard;
namespace Deltares.DeltaModel
{
///
/// A geographic region containing the same asphalt charateristics.
///
public class AsphaltZone : RevetmentZone, IStringIdentifier
{
public const string TYPE_REVETMENT = "Asfaltbeton";
private AsphaltDescription asphaltDescription = new AsphaltDescription();
private string type = string.Empty;
///
/// The asphalt characteristics.
///
[Browsable(false)]
public AsphaltDescription AsphaltDescription
{
get
{
return asphaltDescription;
}
private set
{
asphaltDescription = value;
}
}
[Browsable(false)]
public override ISegmentDescription Data
{
get
{
return AsphaltDescription;
}
}
public override string ToString()
{
return Name ?? string.Empty;
}
# region "Temp import keys"
///
/// Id of the toplayer
///
/// Only used during import
[Browsable(false)]
public string TopLayerId { get; set; }
///
/// Id of the basislayer
///
/// Only used during import
[Browsable(false)]
public string BasisLayerId { get; set; }
///
/// Type
///
/// Only used during import
[Browsable(false)]
public string Type
{
get
{
return type;
}
set
{
type = value;
}
}
///
/// Zonde Id
///
/// Only used during import
[Browsable(false)]
public string Id { get; set; }
# endregion
# region ICloneable Members
public override RevetmentZone Clone()
{
return new AsphaltZone
{
AsphaltDescription = AsphaltDescription.Clone() as AsphaltDescription
};
}
# endregion
}
}