add full implementation for LanguageLabel

This commit is contained in:
Andrew Welker
2020-10-15 16:37:41 -06:00
parent 81f27fcbde
commit 7bbdf43452
3 changed files with 15 additions and 13 deletions

View File

@@ -8,8 +8,8 @@ namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
string LocaleName { get; set; }
string FriendlyName { get; set; }
bool Enable { get; set; }
List<ILanguageLabel> UiLabels { get; set; }
List<ILanguageLabel> Sources { get; set; }
List<ILanguageLabel> Destinations { get; set; }
List<LanguageLabel> UiLabels { get; set; }
List<LanguageLabel> Sources { get; set; }
List<LanguageLabel> Destinations { get; set; }
}
}

View File

@@ -1,10 +0,0 @@
using PepperDash.Core;
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
{
public interface ILanguageLabel:IKeyed
{
string Description { get; set; }
string DisplayText { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using PepperDash.Core;
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
{
public class LanguageLabel
{
public string Key { get; set; }
public string Description { get; set; }
public string DisplayText { get; set; }
public uint JoinNumber { get; set; }
}
}