using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using PepperDash.Essentials.Core; namespace PepperDash.Essentials.Core.CrestronIO { /// /// Describes an output capable of switching on and off /// public interface ISwitchedOutput { /// /// Feedback to indicate whether the output is on /// BoolFeedback OutputIsOnFeedback {get;} /// /// Turns the output on /// void On(); /// /// Turns the output off /// void Off(); } /// /// Describes a collection of switched outputs /// public interface ISwitchedOutputCollection { /// /// Dictionary of switched outputs by their port number /// Dictionary SwitchedOutputs { get; } } }