using System.Collections;
using System.Xml.Serialization;

namespace QC.MultiplexManager;

public class Group
{
	private int id = -1;

	private ArrayList dutList = new ArrayList();

	[XmlAttribute("ID")]
	public int GroupID
	{
		get
		{
			return id;
		}
		set
		{
			id = value;
		}
	}

	[XmlElement("DUT")]
	public Dut[] DutList
	{
		get
		{
			Dut[] array = new Dut[dutList.Count];
			dutList.CopyTo(array);
			return array;
		}
		set
		{
			if (value != null)
			{
				dutList.Clear();
				foreach (Dut value2 in value)
				{
					dutList.Add(value2);
				}
			}
		}
	}
}
