diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/EssentialsDevice.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/EssentialsDevice.cs index 781101d4..4e77ce13 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/EssentialsDevice.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/EssentialsDevice.cs @@ -64,17 +64,19 @@ namespace PepperDash.Essentials.Core } /// - /// Devices the basic needs for a Device Factory + /// Defines the basic needs for a Device Factory /// public abstract class EssentialsDeviceFactory : IDeviceFactory where T:EssentialsDevice { - #region IDeviceFactory Members /// /// A list of strings that can be used in the type property of a DeviceConfig object to build an instance of this device /// public List TypeNames { get; protected set; } + + #region IDeviceFactory Members + /// /// Loads an item to the DeviceFactory.FactoryMethods dictionary for each entry in the TypeNames list /// @@ -90,6 +92,8 @@ namespace PepperDash.Essentials.Core } } + #endregion + /// /// The method that will build the device /// @@ -97,11 +101,10 @@ namespace PepperDash.Essentials.Core /// An instance of the device public abstract EssentialsDevice BuildDevice(DeviceConfig dc); - #endregion } /// - /// Devices the basic needs for a Device Factory + /// Defines the basic needs for a Device Factory /// public abstract class EssentialsPluginDeviceFactory : EssentialsDeviceFactory, IPluginDeviceFactory where T : EssentialsDevice { diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Factory/IDeviceFactory.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Factory/IDeviceFactory.cs index 91e073f2..b43a5d8b 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Factory/IDeviceFactory.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Factory/IDeviceFactory.cs @@ -16,7 +16,7 @@ namespace PepperDash.Essentials.Core public interface IDeviceFactory { /// - /// Loads all the types to the DeviceFactory + /// Loads all the types to the Factory /// void LoadTypeFactories(); } diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/ComponentFactory.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/ComponentFactory.cs index b9ad7574..cd4acd37 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/ComponentFactory.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/ComponentFactory.cs @@ -30,7 +30,6 @@ namespace PepperDash.Essentials.Core.Room.Components /// public interface IComponentFactory : IDeviceFactory { - } public static class ComponentFactory diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/RoomComponentBase.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/RoomComponentBase.cs index 3dd00efb..2a16b53b 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/RoomComponentBase.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Room/Components/RoomComponentBase.cs @@ -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 /// /// The base class from which Room Components should be derived /// + [Description("The base Essentials Device Class")] public abstract class RoomComponentBase : IRoomComponent { private string _componentKey; @@ -108,5 +111,4 @@ namespace PepperDash.Essentials.Core.Room.Components } } - } \ No newline at end of file