Skip to content

Commit

Permalink
fix: add correct casing to base touchpanel config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed May 28, 2024
1 parent a8c36ba commit c755ecb
Showing 1 changed file with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,27 +1,57 @@
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; }


/// <summary>
/// The count of sources that will trigger the "additional" arrows to show on the SRL.
/// Defaults to 5
/// </summary>
[JsonProperty("sourcesOverflowCount")]
public int SourcesOverflowCount { get; set; }

public CrestronTouchpanelPropertiesConfig()
Expand Down Expand Up @@ -49,6 +79,7 @@ public CrestronTouchpanelPropertiesConfig()
/// </summary>
public class UiSetupPropertiesConfig
{
[JsonProperty("isVisible")]
public bool IsVisible { get; set; }
}
}

0 comments on commit c755ecb

Please sign in to comment.