You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.6 KiB
C#
76 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using GeoSigma.SigmaDrawerStyle;
|
|
using GeoSigma.SigmaDrawerStyle.Converter;
|
|
using SigmaDrawerStyle;
|
|
|
|
namespace WellGroupEditor
|
|
{
|
|
public class WellGroupItemEdit
|
|
{
|
|
[DisplayName("长度"), PropertyOrder(1)]
|
|
[TypeConverter(typeof(DoubleTrimConverter))]
|
|
public double HorizonLength { get; set; }
|
|
[Browsable(false)]
|
|
public long Position { get; set; } = 0;
|
|
public WellGroupItemEdit()
|
|
{
|
|
|
|
}
|
|
}
|
|
[TypeConverter(typeof(PropertySorter))]
|
|
public class WellGroupSetting
|
|
{
|
|
/// <summary>
|
|
/// 井支个数
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("右侧井支个数"), PropertyOrder(1)]
|
|
public int BranchCountRight { get; set; }
|
|
/// <summary>
|
|
/// 靶前位移长度
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("右侧垂直靶前距"), PropertyOrder(2)]
|
|
public double BranchDistanceRight { get; set; }
|
|
/// <summary>
|
|
/// 井支个数
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("左侧井支个数"), PropertyOrder(3)]
|
|
public int BranchCountLeft { get; set; }
|
|
/// <summary>
|
|
/// 靶前位移长度
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("左侧垂直靶前距"), PropertyOrder(4)]
|
|
public double BranchDistanceLeft { get; set; }
|
|
/// <summary>
|
|
/// 水平段长度
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("水平段长度"), PropertyOrder(5)]
|
|
public double HoriLength { get; set; }
|
|
/// <summary>
|
|
/// 水平段长度
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("井支间距"), PropertyOrder(6)]
|
|
public double BranchSpace { get; set; }
|
|
/// <summary>
|
|
/// 井支角度
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("井支角度"), PropertyOrder(7)]
|
|
public double BranchAngle { get; set; }
|
|
/// <summary>
|
|
/// 靶前位移颜色
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("靶前位移颜色"), PropertyOrder(8)]
|
|
public Color WellOffsetColor { get; set; } = Color.Black;
|
|
/// <summary>
|
|
/// 水平段颜色
|
|
/// </summary>
|
|
[Category("整体参数"), DisplayName("水平段颜色"), PropertyOrder(9)]
|
|
public Color WellHoriColor { get; set; } = Color.Black;
|
|
}
|
|
}
|