mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
fix: mark IHasMultipleDisplays and associated enum as obsolete
Fixes #1219
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
@@ -248,6 +249,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines the valid destination types for SourceListItems in a room
|
/// Defines the valid destination types for SourceListItems in a room
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete]
|
||||||
public enum eSourceListItemDestinationTypes
|
public enum eSourceListItemDestinationTypes
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using Crestron.SimplSharp;
|
|
||||||
|
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
|
|
||||||
@@ -28,6 +25,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// For rooms with multiple displays
|
/// For rooms with multiple displays
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("Will be removed in a future version")]
|
||||||
public interface IHasMultipleDisplays
|
public interface IHasMultipleDisplays
|
||||||
{
|
{
|
||||||
Dictionary<eSourceListItemDestinationTypes, IRoutingSink> Displays { get; }
|
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);
|
||||||
|
|
||||||
void RunRouteAction(string routeKey, string sourceListKey, Action successCallback);
|
void RunRouteAction(string routeKey, string sourceListKey, Action successCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -50,7 +48,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
{
|
{
|
||||||
void RunDirectRoute(string sourceKey, string destinationKey, eRoutingSignalType type = eRoutingSignalType.AudioVideo);
|
void RunDirectRoute(string sourceKey, string destinationKey, eRoutingSignalType type = eRoutingSignalType.AudioVideo);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes a room with matrix routing
|
/// Describes a room with matrix routing
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -139,7 +137,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
bool HasEnvironmentalControlDevices { get; }
|
bool HasEnvironmentalControlDevices { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IRoomOccupancy:IKeyed
|
public interface IRoomOccupancy : IKeyed
|
||||||
{
|
{
|
||||||
IOccupancyStatusProvider RoomOccupancy { get; }
|
IOccupancyStatusProvider RoomOccupancy { get; }
|
||||||
bool OccupancyStatusProviderIsRemote { get; }
|
bool OccupancyStatusProviderIsRemote { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user