using System.Xml.Schema;
using System.Xml.Serialization;
using QC.CTDS.DM.DataStructures.FormatDescriptorStructure;

namespace QC.CTDS.DM.DataStructures.LimitDescriptorDataStructure;

public class Limit : BindableObject
{
	private string limitIndex;

	private string limitVal;

	[XmlAttribute("index", Form = XmlSchemaForm.Unqualified)]
	public string Index
	{
		get
		{
			return limitIndex;
		}
		set
		{
			limitIndex = value;
		}
	}

	[XmlAttribute("value", Form = XmlSchemaForm.Unqualified)]
	public string Val
	{
		get
		{
			return limitVal;
		}
		set
		{
			limitVal = value;
		}
	}

	public Limit()
	{
	}

	public Limit(Limit lim)
		: base(lim)
	{
		limitIndex = lim.limitIndex;
		limitVal = lim.limitVal;
	}
}
