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.
kev/Drawer/UCDraw/SigmaDrawerWellElement/WellFaultPointDataSetting.cs

183 lines
5.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Drawing.Design;
using System.Xml.Serialization;
using GeoSigma.SigmaDrawerStyle;
using SigmaDrawerStyle;
using System.Drawing;
namespace GeoSigma.SigmaDrawerElement
{
#pragma warning disable SA1402 // File may only contain a single type
#pragma warning disable SA1600 // Elements should be documented
#pragma warning disable SA1649 // File name should match first type name
[XmlRoot("Pcg")]
[TypeConverter(typeof(PropertySorter))]
public class WellFaultPointDataSetting
{
private const string LayerCategory = "设置断点";
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("深度")]
[PropertyOrder(0)]
public double TopDepth
{
get => faultLayer.Depth;
set => faultLayer.Depth = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("断层名称")]
[PropertyOrder(1)]
public string name
{
get => faultLayer.Name;
set => faultLayer.Name = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("断距")]
[PropertyOrder(2)]
public double fthrow
{
get => faultLayer.Throw;
set => faultLayer.Throw = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("断距层位")]
[PropertyOrder(3)]
public string faultHoriz
{
get => faultLayer.FaultedHori;
set => faultLayer.FaultedHori = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("对比井")]
[PropertyOrder(4)]
public string CompareWell
{
get => faultLayer.CompareWell;
set => faultLayer.CompareWell = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("对比井顶深")]
[PropertyOrder(5)]
public double CompareWellTop
{
get => faultLayer.CompareWellTop;
set => faultLayer.CompareWellTop = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("对比井底深")]
[PropertyOrder(6)]
public double CompareWellBottom
{
get => faultLayer.CompareWellBottom;
set => faultLayer.CompareWellBottom = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("断失顶层")]
[PropertyOrder(7)]
public string FaultTopLayer
{
get => faultLayer.FaultTopLayer;
set => faultLayer.FaultTopLayer = value;
}
[XmlIgnore]
[Category(LayerCategory)]
[DisplayName("断失底层")]
[PropertyOrder(8)]
public string FaultBottomLayer
{
get => faultLayer.FaultBottomLayer;
set => faultLayer.FaultBottomLayer = value;
}
[XmlAttribute("Version")]
[Browsable(false)]
public int Version { get; set; }
[XmlElement("FaultPoint")]
[Browsable(false)]
public WellFaultPointDataEntity faultLayer { get; set; }
}
public class WellFaultPointDataEntity
{
[XmlAttribute("Name")]
public string Name { get; set; }
[XmlAttribute("Depth")]
public double Depth { get; set; }
[XmlAttribute("Throw")]
public double Throw { get; set; }
[XmlAttribute("PointNum")]
public int PointNum { get; set; }
[XmlAttribute("FaultedHori")]
public string FaultedHori { get; set; }
[XmlAttribute("CompareWell")]
public string CompareWell { get; set; }
[XmlAttribute("CompareWellTop")]
public double CompareWellTop { get; set; }
[XmlAttribute("CompareWellBottom")]
public double CompareWellBottom { get; set; }
[XmlAttribute("Throw1")]
public double Throw1 { get; set; }
[XmlAttribute("FaulteHori1")]
public string FaulteHori1 { get; set; }
[XmlAttribute("CompareWell1")]
public string CompareWell1 { get; set; }
[XmlAttribute("CompareWellTop1")]
public double CompareWellTop1 { get; set; }
[XmlAttribute("CompareWellBottom1")]
public double CompareWellBottom1 { get; set; }
[XmlAttribute("FaultTopLayer")]
public string FaultTopLayer { get; set; }
[XmlAttribute("FaultBottomLayer")]
public string FaultBottomLayer { get; set; }
[XmlElement("Style")]
public WellLineStyle Style { get; set; }
[XmlElement("Font")]
public WellFontEx Font { get; set; }
}
#pragma warning restore SA1649 // File name should match first type name
#pragma warning restore SA1600 // Elements should be documented
#pragma warning restore SA1402 // File may only contain a single type
}