mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Updates device factory methodology for Essentials Core and Essential DM libraries
This commit is contained in:
parent
f75d884986
commit
c5232ca6b8
12 changed files with 242 additions and 124 deletions
|
|
@ -365,10 +365,9 @@ namespace PepperDash.Essentials
|
|||
// Then associated library factories
|
||||
if (newDev == null)
|
||||
newDev = PepperDash.Essentials.Core.DeviceFactory.GetDevice(devConf);
|
||||
|
||||
if (newDev == null)
|
||||
newDev = PepperDash.Essentials.Devices.Common.DeviceFactory.GetDevice(devConf);
|
||||
if (newDev == null)
|
||||
newDev = PepperDash.Essentials.DM.DeviceFactory.GetDevice(devConf);
|
||||
if (newDev == null)
|
||||
newDev = PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory.GetDevice(devConf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue