Finalized IHasExternalSourceSwitching adding method for setting the ExternalSource State

Adds arguments for External Source type it the AddExternalSource()
Adds subscription and parsing for External Source events
This commit is contained in:
Jason Alborough
2020-08-17 14:52:49 -04:00
parent aea6942a1f
commit f0d10fb1f9
5 changed files with 193 additions and 136 deletions

View File

@@ -4,12 +4,15 @@ using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Essentials.Core;
using PepperDash.Essentials.Devices.Common.VideoCodec.Cisco;
namespace PepperDash.Essentials.Devices.Common.Codec
{
public interface IHasExternalSourceSwitching
{
bool ExternalSourceListEnabled { get; }
void AddExternalSource(string connectorId, string name);
void AddExternalSource(string connectorId, string key, string name, eExternalSourceType type);
void SetExternalSourceState(string key, eExternalSourceMode mode);
void ClearExternalSources();
Action<string, string> RunRouteAction { set;}
}