添加项目文件。
This commit is contained in:
29
RevitKits/MetroGauges/LandXMLData/Definition.cs
Normal file
29
RevitKits/MetroGauges/LandXMLData/Definition.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroGauges.LandXMLData;
|
||||
|
||||
[XmlType("Definition")]
|
||||
[Serializable]
|
||||
public class Definition
|
||||
{
|
||||
[XmlAttribute("elevMin")]
|
||||
public double ElevationMin { get; set; }
|
||||
|
||||
[XmlAttribute("elevMax")]
|
||||
public double ElevationMax { get; set; }
|
||||
|
||||
[XmlAttribute("area3DSurf")]
|
||||
public double Area3DSurface { get; set; }
|
||||
|
||||
[XmlAttribute("area2DSurf")]
|
||||
public double Area2DSurface { get; set; }
|
||||
|
||||
[XmlArray("Faces")]
|
||||
public List<Face> Faces { get; set; } = new();
|
||||
|
||||
[XmlArray("Pnts")]
|
||||
public List<Point> Points { get; set; } = new();
|
||||
|
||||
[XmlAttribute("surfType")]
|
||||
public string SurfaceType { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user