mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-11 18:54:52 +00:00
feat(wip): removing base classes from Essentials.Core
This commit is contained in:
@@ -8,7 +8,7 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
/// </summary>
|
||||
public interface IShades
|
||||
{
|
||||
List<ShadeBase> Shades { get; }
|
||||
List<IShadesOpenCloseStop> Shades { get; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -16,14 +16,14 @@ namespace PepperDash.Essentials.Core.Shades
|
||||
{
|
||||
ShadeControllerConfigProperties Config;
|
||||
|
||||
public List<ShadeBase> Shades { get; private set; }
|
||||
public List<IShadesOpenCloseStop> Shades { get; private set; }
|
||||
|
||||
public ShadeController(string key, string name, ShadeControllerConfigProperties config)
|
||||
: base(key, name)
|
||||
{
|
||||
Config = config;
|
||||
|
||||
Shades = new List<ShadeBase>();
|
||||
Shades = new List<IShadesOpenCloseStop>();
|
||||
}
|
||||
|
||||
public override bool CustomActivate()
|
||||
|
||||
Reference in New Issue
Block a user