feat: RKST-161 add IHasInputs & IInputs interfaces

This commit is contained in:
Andrew Welker
2024-03-08 20:26:13 -06:00
parent 882f41d8bd
commit 693d4f8723
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
{
public interface IHasInputs
{
event EventHandler InputsUpdated;
IDictionary<string, IInput> Inputs { get; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
using PepperDash.Core;
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
{
public interface IInput : IKeyName
{
event EventHandler InputUpdated;
bool IsSelected { get; }
void Select();
}
}