From 74cdd058ae9595bb4c0886758b83adcb09d588bc Mon Sep 17 00:00:00 2001 From: Simon G Date: Sat, 10 Apr 2021 17:49:37 +0200 Subject: [PATCH] - add product id --- Drivers/IconPlatformXPlus.myd | 1 + Lib.Driver/Interfaces/IDriver.cs | 1 + Lib.Driver/Xml/XmlDriver.cs | 3 +++ 3 files changed, 5 insertions(+) diff --git a/Drivers/IconPlatformXPlus.myd b/Drivers/IconPlatformXPlus.myd index 2b22cce..d976c74 100644 --- a/Drivers/IconPlatformXPlus.myd +++ b/Drivers/IconPlatformXPlus.myd @@ -1,5 +1,6 @@ Icon Platform X+ + 65535 diff --git a/Lib.Driver/Interfaces/IDriver.cs b/Lib.Driver/Interfaces/IDriver.cs index ee4f609..f174eb2 100644 --- a/Lib.Driver/Interfaces/IDriver.cs +++ b/Lib.Driver/Interfaces/IDriver.cs @@ -10,6 +10,7 @@ namespace Lib.Driver.Interfaces public interface IDriver { string? Name { get; } + int ProductId { get; } List? Channels { get; } } } \ No newline at end of file diff --git a/Lib.Driver/Xml/XmlDriver.cs b/Lib.Driver/Xml/XmlDriver.cs index 302ff76..a37c9a4 100644 --- a/Lib.Driver/Xml/XmlDriver.cs +++ b/Lib.Driver/Xml/XmlDriver.cs @@ -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? Channels { get; set; }