Updated Essentials Architecture (markdown)

hvolmer
2020-02-11 19:16:50 -07:00
parent 9ac5b121b9
commit c59eca32c0

@@ -83,7 +83,7 @@ At startup, the configuration file is read, and a ReadyEvent is fired. Upon bein
For example, a `DeviceConfig` object:
```
```chasrp
namespace PepperDash.Essentials.Core.Config
{
public class DeviceConfig
@@ -123,7 +123,7 @@ This ordering ensures that all devices are at least present before building tie
In each device/room step, a device factory process is called. We call subsequent device factory methods in the various libraries that make up Essentials until one of them returns a functional device. This allows us to break up the factory process into individual libraries, and not have a huge master list of types and build procedures. Here's part of the code:
```
```csharp
// Try local factories first
var newDev = DeviceFactory.GetDevice(devConf);