diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs new file mode 100644 index 00000000..b0d14e9c --- /dev/null +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; + +namespace PepperDash.Essentials.Core.DeviceTypeInterfaces +{ + public interface IHasInputs + { + event EventHandler InputsUpdated; + IDictionary Inputs { get; } + } +} \ No newline at end of file diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IInput.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IInput.cs new file mode 100644 index 00000000..fc49e390 --- /dev/null +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IInput.cs @@ -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(); + } +} \ No newline at end of file