From c755ecb16cb9780860a21872330ff79a68e06fdd Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Tue, 28 May 2024 11:26:25 -0500 Subject: [PATCH] fix: add correct casing to base touchpanel config --- .../CrestronTouchpanelPropertiesConfig.cs | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/src/PepperDash.Essentials.Core/Touchpanels/CrestronTouchpanelPropertiesConfig.cs b/src/PepperDash.Essentials.Core/Touchpanels/CrestronTouchpanelPropertiesConfig.cs index 73b66bcec..5a42bcd19 100644 --- a/src/PepperDash.Essentials.Core/Touchpanels/CrestronTouchpanelPropertiesConfig.cs +++ b/src/PepperDash.Essentials.Core/Touchpanels/CrestronTouchpanelPropertiesConfig.cs @@ -1,20 +1,49 @@ -namespace PepperDash.Essentials.Core +using Newtonsoft.Json; + +namespace PepperDash.Essentials.Core { public class CrestronTouchpanelPropertiesConfig { + [JsonProperty("ipId")] public string IpId { get; set; } + + [JsonProperty("defaultRoomKey")] public string DefaultRoomKey { get; set; } + + [JsonProperty("roomListKey")] public string RoomListKey { get; set; } + + [JsonProperty("sgdFile")] public string SgdFile { get; set; } + + [JsonProperty("projectName")] public string ProjectName { get; set; } + + [JsonProperty("showVolumeGauge")] public bool ShowVolumeGauge { get; set; } + + [JsonProperty("usesSplashPage")] public bool UsesSplashPage { get; set; } + + [JsonProperty("showDate")] public bool ShowDate { get; set; } + + [JsonProperty("showTime")] public bool ShowTime { get; set; } + + [JsonProperty("setup")] public UiSetupPropertiesConfig Setup { get; set; } + + [JsonProperty("headerStyle")] public string HeaderStyle { get; set; } + + [JsonProperty("includeInFusionRoomHealth")] public bool IncludeInFusionRoomHealth { get; set; } + + [JsonProperty("screenSaverTimeoutMin")] public uint ScreenSaverTimeoutMin { get; set; } + + [JsonProperty("screenSaverMovePositionIntervalMs")] public uint ScreenSaverMovePositionIntervalMs { get; set; } @@ -22,6 +51,7 @@ public class CrestronTouchpanelPropertiesConfig /// The count of sources that will trigger the "additional" arrows to show on the SRL. /// Defaults to 5 /// + [JsonProperty("sourcesOverflowCount")] public int SourcesOverflowCount { get; set; } public CrestronTouchpanelPropertiesConfig() @@ -49,6 +79,7 @@ public CrestronTouchpanelPropertiesConfig() /// public class UiSetupPropertiesConfig { + [JsonProperty("isVisible")] public bool IsVisible { get; set; } } } \ No newline at end of file