mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Finishes converting all existing types to new DeviceFactory mechanism. #106
This commit is contained in:
parent
2170a79399
commit
4f6ae386b4
29 changed files with 626 additions and 334 deletions
|
|
@ -32,7 +32,6 @@ namespace PepperDash.Essentials
|
|||
|
||||
}
|
||||
|
||||
|
||||
public class CommBridge : Device
|
||||
{
|
||||
public CommBridgeProperties Properties { get; private set; }
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ namespace PepperDash.Essentials
|
|||
new BridgeFactory();
|
||||
|
||||
new PepperDash.Essentials.Devices.Common.DeviceFactory();
|
||||
|
||||
new PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -379,8 +379,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue