using System.Collections.Generic; using Newtonsoft.Json; namespace PepperDash.Essentials.Room.Config { public class EssentialsTechRoomConfig { /// /// The key of the dummy device used to enable routing /// [JsonProperty("dummySourceKey")] public string DummySourceKey { get; set; } /// /// The keys of the displays assigned to this room /// [JsonProperty("displays")] public List Displays { get; set; } /// /// The keys of the tuners assinged to this room /// [JsonProperty("tuners")] public List Tuners { get; set; } /// /// PIN to access the room as a normal user /// [JsonProperty("userPin")] public string UserPin { get; set; } /// /// PIN to access the room as a tech user /// [JsonProperty("techPin")] public string TechPin { get; set; } /// /// Name of the presets file. Path prefix is assumed to be /html/presets/lists/ /// [JsonProperty("presetsFileName")] public string PresetsFileName { get; set; } [JsonProperty("scheduledEvents")] public List ScheduledEvents { get; set; } /// /// Indicates that the room is the primary when true /// [JsonProperty("isPrimary")] public bool IsPrimary { get; set; } /// /// Indicates which tuners should mirror preset recall when two rooms are configured in a primary->secondary scenario /// [JsonProperty("mirroredTuners")] public Dictionary MirroredTuners { get; set; } [JsonProperty("helpMessage")] public string HelpMessage { get; set; } /// /// Indicates the room /// [JsonProperty("isTvPresetsProvider")] public bool IsTvPresetsProvider; public EssentialsTechRoomConfig() { Displays = new List(); Tuners = new List(); ScheduledEvents = new List(); } } }