Finishes converting all existing types to new DeviceFactory mechanism. #106

This commit is contained in:
Neil Dorin
2020-04-22 16:17:07 -06:00
parent d3562bf22d
commit 56c339bb08
29 changed files with 626 additions and 336 deletions

View File

@@ -100,7 +100,7 @@ namespace PepperDash.Essentials
new BridgeFactory();
new PepperDash.Essentials.Devices.Common.DeviceFactory();
new PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory();
}
@@ -378,8 +378,8 @@ namespace PepperDash.Essentials
newDev = PepperDash.Essentials.Core.DeviceFactory.GetDevice(devConf);
//
if (newDev == null)
newDev = PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory.GetDevice(devConf);
//if (newDev == null)
// newDev = PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory.GetDevice(devConf);
//
if (newDev != null)