mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 01:35:02 +00:00
feature: removed everything that had obsolete marked
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
|
||||
using PepperDash.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Shades
|
||||
{
|
||||
@@ -16,16 +11,6 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
List<ShadeBase> Shades { get; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Requirements for a device that implements basic Open/Close shade control
|
||||
/// </summary>
|
||||
[Obsolete("Please use IShadesOpenCloseStop instead")]
|
||||
public interface IShadesOpenClose
|
||||
{
|
||||
void Open();
|
||||
void Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Requirements for a device that implements basic Open/Close/Stop shade control (Uses 3 relays)
|
||||
/// </summary>
|
||||
@@ -45,15 +30,6 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
event EventHandler PresetSaved;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Requirements for a shade that implements press/hold raise/lower functions
|
||||
/// </summary>
|
||||
[Obsolete("Please use IShadesOpenCloseStop instead")]
|
||||
public interface IShadesRaiseLower
|
||||
{
|
||||
void Raise(bool state);
|
||||
void Lower(bool state);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Requirements for a shade device that provides raising/lowering feedback
|
||||
@@ -73,15 +49,6 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
BoolFeedback ShadeIsClosedFeedback { get; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Obsolete("Please use IShadesOpenCloseStop instead")]
|
||||
public interface IShadesStop
|
||||
{
|
||||
void Stop();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used to implement raise/stop/lower/stop from single button
|
||||
/// </summary>
|
||||
@@ -125,7 +92,7 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
BoolFeedback AllAreAtSceneFeedback { get; }
|
||||
}
|
||||
|
||||
public interface ICrestronBasicShade : IShadesOpenClosedFeedback, IShadesStop,
|
||||
public interface ICrestronBasicShade : IShadesOpenClosedFeedback,
|
||||
IShadesStopOrMove, IShadesFeedback, IShadesRaiseLowerFeedback
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user