2025-02-10 20:53:40 +08:00
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
2025-04-24 20:56:44 +08:00
|
|
|
|
namespace ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroGauges.LandXMLData
|
2025-02-10 20:53:40 +08:00
|
|
|
|
{
|
|
|
|
|
|
[XmlType("FeatureLine")]
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class FeatureLine
|
|
|
|
|
|
{
|
|
|
|
|
|
public FeatureLine()
|
|
|
|
|
|
{
|
|
|
|
|
|
Points = new List<FeatureLinePoint>();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("colorARGB")]
|
|
|
|
|
|
public int ColorARGB { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("type")]
|
|
|
|
|
|
public LineType Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlElement("Point")]
|
|
|
|
|
|
public List<FeatureLinePoint> Points { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("colorIndex")]
|
|
|
|
|
|
public short ColorIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
|
public string CodeName { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|