using System; using System.Collections.Generic; using Crestron.SimplSharpPro.DM; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PepperDash.Core; using PepperDash.Essentials.Core; namespace PepperDash.Essentials.DM.Config { /// /// Represents the "properties" property of a DM device config /// public class DMChassisPropertiesConfig { [JsonProperty("control")] public ControlPropertiesConfig Control { get; set; } [JsonProperty("volumeControls")] public Dictionary VolumeControls { get; set; } [JsonProperty("inputSlots")] public Dictionary InputSlots { get; set; } [JsonProperty("outputSlots")] public Dictionary OutputSlots { get; set; } [JsonProperty("inputNames")] public Dictionary InputNames { get; set; } [JsonProperty("outputNames")] public Dictionary OutputNames { get; set; } [JsonProperty("noRouteText")] public string NoRouteText { get; set; } [JsonProperty("inputSlotSupportsHdcp2")] public Dictionary InputSlotSupportsHdcp2 { get; set; } public DMChassisPropertiesConfig() { InputSlotSupportsHdcp2 = new Dictionary(); } } /// /// /// public class DmCardAudioPropertiesConfig { [JsonProperty("outLevel")] public int OutLevel { get; set; } [JsonProperty("isVolumeControlPoint")] public bool IsVolumeControlPoint { get; set; } } }