diff --git a/Lib.Driver/Xml/XmlButton.cs b/Lib.Driver/Xml/XmlButton.cs index 85035b1..4035278 100644 --- a/Lib.Driver/Xml/XmlButton.cs +++ b/Lib.Driver/Xml/XmlButton.cs @@ -10,6 +10,6 @@ namespace Lib.Driver.Xml public class XmlButton { [XmlElement("Type")] - public string ButtonType { get; set; } + public string? ButtonType { get; set; } } } \ No newline at end of file diff --git a/Lib.Driver/Xml/XmlChannel.cs b/Lib.Driver/Xml/XmlChannel.cs index bec90b1..3b0d29a 100644 --- a/Lib.Driver/Xml/XmlChannel.cs +++ b/Lib.Driver/Xml/XmlChannel.cs @@ -11,13 +11,13 @@ namespace Lib.Driver.Xml public class XmlChannel { [XmlElement("Fader")] - public XmlFader Fader { get; set; } + public XmlFader? Fader { get; set; } [XmlElement("Knob")] - public XmlKnob Knob { get; set; } + public XmlKnob? Knob { get; set; } [XmlArray("Buttons")] [XmlArrayItem("Button", typeof(XmlButton))] - public List Buttons { get; set; } + public List? Buttons { get; set; } } } \ No newline at end of file