mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
refactor: Remove commented-out Config properties from Device class and add spacing in EssentialsDevice class
This commit is contained in:
parent
a1617fbeb2
commit
153922c3fe
2 changed files with 1 additions and 10 deletions
|
|
@ -24,16 +24,6 @@ public class Device : IKeyName
|
|||
/// </summary>
|
||||
public bool Enabled { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// A place to store reference to the original config object, if any. These values should
|
||||
/// NOT be used as properties on the device as they are all publicly-settable values.
|
||||
/// </summary>
|
||||
//public DeviceConfig Config { get; private set; }
|
||||
/// <summary>
|
||||
/// Helper method to check if Config exists
|
||||
/// </summary>
|
||||
//public bool HasConfig { get { return Config != null; } }
|
||||
|
||||
List<Action> _PreActivationActions;
|
||||
List<Action> _PostActivationActions;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ namespace PepperDash.Essentials.Core;
|
|||
[Description("The base Essentials Device Class")]
|
||||
public abstract class EssentialsDevice : Device
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Event that fires when the device has completed initialization. This is useful for any setup that needs to occur after all devices have been activated.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue