mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
26 lines
588 B
C#
26 lines
588 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
using PepperDash.Essentials.Core;
|
|
|
|
namespace PepperDash.Essentials.Core.CrestronIO
|
|
{
|
|
/// <summary>
|
|
/// Describes an output capable of switching on and off
|
|
/// </summary>
|
|
public interface ISwitchedOutput
|
|
{
|
|
BoolFeedback OutputIsOnFeedback {get;}
|
|
|
|
void On();
|
|
void Off();
|
|
}
|
|
|
|
public interface ISwitchedOutputCollection
|
|
{
|
|
Dictionary<uint, ISwitchedOutput> SwitchedOutputs { get; }
|
|
}
|
|
} |