添加项目文件。

This commit is contained in:
GG Z
2026-02-23 14:58:05 +08:00
parent ce96926220
commit 771d780d6c
342 changed files with 33470 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System.Xml.Serialization;
namespace ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroGauges.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; }
}
}