From 2a70fc678e0394eca70489abdf33672c5d934344 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Fri, 11 Jul 2025 13:13:52 -0500 Subject: [PATCH] fix: add IStateFeedback interface --- .../DeviceTypeInterfaces/IStateFeedback.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IStateFeedback.cs diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IStateFeedback.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IStateFeedback.cs new file mode 100644 index 00000000..e4070594 --- /dev/null +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IStateFeedback.cs @@ -0,0 +1,18 @@ +using System; + +namespace PepperDash.Essentials.Core.DeviceTypeInterfaces +{ + + /// + /// Interface for devices that provide audio meter feedback. + /// This interface is used to standardize access to meter feedback across different devices. + /// + public interface IStateFeedback + { + /// + /// Gets the state feedback for the device. + /// This property provides a BoolFeedback that represents the current state (on/off) of the device. + /// + BoolFeedback StateFeedback { get; } + } +}