fix: mark IHasMultipleDisplays and associated enum as obsolete

Fixes #1219
This commit is contained in:
Andrew Welker
2025-07-25 09:14:45 -05:00
parent 31143f56df
commit f0af9f8d19
2 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PepperDash.Core;
@@ -248,6 +249,7 @@ namespace PepperDash.Essentials.Core
/// <summary>
/// Defines the valid destination types for SourceListItems in a room
/// </summary>
[Obsolete]
public enum eSourceListItemDestinationTypes
{
/// <summary>

View File

@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Core;
@@ -28,6 +25,7 @@ namespace PepperDash.Essentials.Core
/// <summary>
/// For rooms with multiple displays
/// </summary>
[Obsolete("Will be removed in a future version")]
public interface IHasMultipleDisplays
{
Dictionary<eSourceListItemDestinationTypes, IRoutingSink> Displays { get; }
@@ -40,7 +38,7 @@ namespace PepperDash.Essentials.Core
{
void RunRouteAction(string routeKey, string sourceListKey);
void RunRouteAction(string routeKey, string sourceListKey, Action successCallback);
void RunRouteAction(string routeKey, string sourceListKey, Action successCallback);
}
/// <summary>
@@ -50,7 +48,7 @@ namespace PepperDash.Essentials.Core
{
void RunDirectRoute(string sourceKey, string destinationKey, eRoutingSignalType type = eRoutingSignalType.AudioVideo);
}
/// <summary>
/// Describes a room with matrix routing
/// </summary>
@@ -139,7 +137,7 @@ namespace PepperDash.Essentials.Core
bool HasEnvironmentalControlDevices { get; }
}
public interface IRoomOccupancy:IKeyed
public interface IRoomOccupancy : IKeyed
{
IOccupancyStatusProvider RoomOccupancy { get; }
bool OccupancyStatusProviderIsRemote { get; }