mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 09:45:06 +00:00
42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
using PepperDash.Core;
|
|
|
|
namespace PepperDash.Essentials.Core.Shades
|
|
{
|
|
public interface IShades
|
|
{
|
|
List<ShadeBase> Shades { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Requirements for a device that implements basic Open/Close shade control
|
|
/// </summary>
|
|
public interface IShadesOpenClose
|
|
{
|
|
void Open();
|
|
void Close();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Requirements for a device that implements basic Open/Close/Stop shade control (Uses 3 relays)
|
|
/// </summary>
|
|
public interface IShadesOpenCloseStop : IShadesOpenClose
|
|
{
|
|
void StopOrPreset();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Requirements for a shade device that provides open/closed feedback
|
|
/// </summary>
|
|
public interface iShadesRaiseLowerFeedback
|
|
{
|
|
BoolFeedback ShadeIsOpenFeedback { get; }
|
|
BoolFeedback ShadeIsClosedFeedback { get; }
|
|
}
|
|
|
|
} |