mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
Progress on comm bridge
This commit is contained in:
parent
d98b7e837a
commit
6ec0295aba
8 changed files with 125 additions and 111 deletions
|
|
@ -231,9 +231,12 @@ namespace PepperDash.Essentials
|
|||
continue;
|
||||
}
|
||||
|
||||
// Try local factory first
|
||||
// Try local factories first
|
||||
var newDev = DeviceFactory.GetDevice(devConf);
|
||||
|
||||
if (newDev == null)
|
||||
newDev = BridgeFactory.GetDevice(devConf);
|
||||
|
||||
// Then associated library factories
|
||||
if (newDev == null)
|
||||
newDev = PepperDash.Essentials.Core.DeviceFactory.GetDevice(devConf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue