uBIMEarthTools/地质建模/DataClass/Borehole.cs
2018-10-22 19:28:56 +08:00

66 lines
1.6 KiB
C#

using System.Collections.Generic;
namespace uBIM_EarthTools
{
/// <summary>
/// 钻孔数据
/// </summary>
class Borehole
{
/// <summary>
/// 构造函数
/// </summary>
/// <param name="name">钻孔编号</param>
/// <param name="valueList">分层数据</param>
public Borehole(string name, List<GeologyLayer> valueList)
{
Name = name;
ValueList = valueList;
CurrentIndex = 0;
CurrentType = string.Empty;
}
/// <summary>
/// 构造函数
/// </summary>
public Borehole()
{
Name = string.Empty;
ValueList = new List<GeologyLayer>();
CurrentIndex = 0;
CurrentType = string.Empty;
}
/// <summary>
/// 构造函数
/// </summary>
public Borehole(Borehole borehole)
{
Name = borehole.Name;
ValueList = borehole.ValueList;
CurrentIndex = 0;
CurrentType = string.Empty;
}
/// <summary>
/// 钻孔编号
/// </summary>
public string Name { get; set; }
/// <summary>
/// 钻孔分层数据
/// </summary>
internal List<GeologyLayer> ValueList { get; set; }
/// <summary>
/// 当前地层索引
/// </summary>
public int CurrentIndex { get; set; }
/// <summary>
/// 当前地层类型
/// </summary>
public string CurrentType { get; set; }
}
}