- add product id

master
Simon G 5 years ago
parent 9430da8d4a
commit 74cdd058ae
  1. 1
      Drivers/IconPlatformXPlus.myd
  2. 1
      Lib.Driver/Interfaces/IDriver.cs
  3. 3
      Lib.Driver/Xml/XmlDriver.cs

@ -1,5 +1,6 @@
<MidiDevice>
<Name>Icon Platform X+</Name>
<ProductId>65535</ProductId>
<Channels>
<Channel>
<Fader/>

@ -10,6 +10,7 @@ namespace Lib.Driver.Interfaces
public interface IDriver
{
string? Name { get; }
int ProductId { get; }
List<XmlChannel>? Channels { get; }
}
}

@ -14,6 +14,9 @@ namespace Lib.Driver.Xml
[XmlElement("Name")]
public string? Name { get; set; }
[XmlElement("ProductId")]
public int ProductId { get; set; }
[XmlArray("Channels")]
[XmlArrayItem("Channel", typeof(XmlChannel))]
public List<XmlChannel>? Channels { get; set; }

Loading…
Cancel
Save