整理代码
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace ShrlAlgo.RvKits.RvIndependent.MetroGauges.LandXMLData
|
||||
{
|
||||
[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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user