// Author: Gockner, Simon // Created: 2021-04-09 // Copyright(c) 2021 SimonG. All Rights Reserved. using System.Collections.Generic; using System.Xml.Serialization; namespace Lib.Driver.Xml { [XmlRoot("Channel")] public class XmlChannel { [XmlAttribute("Number")] public int ChannelNumber { get; set; } [XmlElement("Fader")] public XmlFader? Fader { get; set; } [XmlElement("Knob")] public XmlKnob? Knob { get; set; } [XmlArray("Buttons")] [XmlArrayItem("Button", typeof(XmlButton))] public List? Buttons { get; set; } } }