Changes to CrestronGenericBridgeableBaseDevice and CrestronGenericBaseDevice to allow it to take a func<DeviceConfig, GenericBase> in an overloaded constructor

Addresses #292
This commit is contained in:
Trevor Payne
2020-06-30 14:46:46 -05:00
parent f6286cb5c1
commit 495bf70d3a
2 changed files with 28 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ namespace PepperDash.Essentials.Core.CrestronIO
public IntFeedback TemperatureFeedback { get; private set; }
public IntFeedback HumidityFeedback { get; private set; }
public C2nRthsController(string key, string name, GenericBase hardware) : base(key, name, hardware)
public C2nRthsController(string key, string name, GenericBase hardware)
: base(key, name, hardware)
{
_device = hardware as C2nRths;