using Newtonsoft.Json; using PepperDash.Essentials.Core; namespace PepperDash.Essentials.AppServer { /// /// Represents the content of a source selection message /// public class SourceSelectMessageContent { /// /// Gets or sets the key of the source list item to select /// [JsonProperty("sourceListItemKey")] public string SourceListItemKey { get; set; } /// /// Gets or sets the key of the source list containing the item /// [JsonProperty("sourceListKey")] public string SourceListKey { get; set; } } /// /// Represents a direct routing operation between a source and destination /// public class DirectRoute { /// /// Gets or sets the key of the source device /// [JsonProperty("sourceKey")] public string SourceKey { get; set; } /// /// Gets or sets the key of the destination device /// [JsonProperty("destinationKey")] public string DestinationKey { get; set; } /// /// Gets or sets the type of routing signal (Audio, Video, etc.) /// [JsonProperty("signalType")] public eRoutingSignalType SignalType { get; set; } } /// /// Delegate for press and hold actions with boolean state parameter /// /// The state of the press and hold action public delegate void PressAndHoldAction(bool b); }