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]
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public abstract class GenerationRangeInstance : GenerationRange, IGenerationRangeInstance, IGenerationRange, IInstance
|
|
|
|
|
|
{
|
|
|
|
|
|
protected GenerationRangeInstance()
|
|
|
|
|
|
{
|
|
|
|
|
|
_instance = -1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected int _instance;
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("i")]
|
|
|
|
|
|
public int Instance
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _instance;
|
|
|
|
|
|
set => _instance = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|