mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 12:37:07 +00:00
Progress on abstract base classes and interfaces
This commit is contained in:
parent
657b9f1f54
commit
f0299729e6
4 changed files with 11 additions and 7 deletions
|
|
@ -30,7 +30,6 @@ namespace PepperDash.Essentials.Core.Room.Components
|
|||
/// </summary>
|
||||
public interface IComponentFactory : IDeviceFactory
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static class ComponentFactory
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
|
||||
using PepperDash.Core;
|
||||
using PepperDash.Essentials.Core.Config;
|
||||
using PepperDash.Essentials.Core.Interfaces.Components;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Room.Components
|
||||
|
|
@ -11,6 +13,7 @@ namespace PepperDash.Essentials.Core.Room.Components
|
|||
/// <summary>
|
||||
/// The base class from which Room Components should be derived
|
||||
/// </summary>
|
||||
[Description("The base Essentials Device Class")]
|
||||
public abstract class RoomComponentBase : IRoomComponent
|
||||
{
|
||||
private string _componentKey;
|
||||
|
|
@ -108,5 +111,4 @@ namespace PepperDash.Essentials.Core.Room.Components
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue