using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace QSEQ;

[Serializable]
public class DeviceGroup
{
	private string id;

	private Resources resources;

	private string deviceLogFileNameTemplate;

	private BindingList<Device> device;

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

	[XmlElement(Type = typeof(Resources))]
	public Resources Resources
	{
		get
		{
			return resources;
		}
		set
		{
			resources = value;
		}
	}

	[XmlElement("DeviceLogFileNameTemplate")]
	public string DeviceLogFileNameTemplate
	{
		get
		{
			return deviceLogFileNameTemplate;
		}
		set
		{
			deviceLogFileNameTemplate = value;
		}
	}

	[XmlElement(Type = typeof(Device))]
	public BindingList<Device> Device
	{
		get
		{
			return device;
		}
		set
		{
			device = value;
		}
	}

	public DeviceGroup()
	{
		Resources = new Resources();
		Device = new BindingList<Device>();
	}
}
