添加项目文件。

This commit is contained in:
GG Z
2024-09-22 11:05:41 +08:00
parent fb5d55723a
commit 49ceaae6a8
764 changed files with 78850 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Xml.Serialization;
namespace Sai.Toolkit.Core.LandXMLData
{
[XmlType]
[Serializable]
public abstract class ObjectWithNameSideSegmentPart : ObjectWithNameSideSegment
{
public ObjectWithNameSideSegmentPart() { }
public ObjectWithNameSideSegmentPart(ObjectWithNameSideSegmentPart reference)
: base(reference)
{
Part = reference.Part;
}
[XmlIgnore]
public string NameSidePart => NameSide + (Part != 0 ? " p" + Part : string.Empty);
[XmlIgnore]
public string NameSideSegmentPart => NameSideSegment + (Part != 0 ? " p" + Part : string.Empty);
[XmlAttribute("p")]
public int Part { get; set; }
}
}