mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
feat: RKST-161 add IHasInputs & IInputs interfaces
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user