mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
feat: RKST-161 add IHasInputs & IInputs interfaces
This commit is contained in:
parent
882f41d8bd
commit
693d4f8723
2 changed files with 23 additions and 0 deletions
|
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue