mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-13 11:44:54 +00:00
25 lines
649 B
C#
25 lines
649 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Core.CrestronIO
|
|
{
|
|
/// <summary>
|
|
/// Represents a device that provides digital input
|
|
/// </summary>
|
|
public interface IDigitalOutput
|
|
{
|
|
/// <summary>
|
|
/// Feedback to indicate the state of the output
|
|
/// </summary>
|
|
BoolFeedback OutputStateFeedback { get; }
|
|
|
|
/// <summary>
|
|
/// Sets the output state
|
|
/// </summary>
|
|
/// <param name="state">The desired state of the output</param>
|
|
void SetOutput(bool state);
|
|
}
|
|
} |