mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Merge remote-tracking branch 'origin/development' into feature/ecs-1209
This commit is contained in:
commit
eef5c41dfe
9 changed files with 116 additions and 75 deletions
|
|
@ -38,7 +38,13 @@ namespace PepperDash.Essentials
|
|||
else if (typeName == "dmdge200c")
|
||||
dgeDevice = new DmDge200C(comm.IpIdInt, Global.ControlSystem);
|
||||
|
||||
var dgeController = new DgeController(config.Key, config.Name, dgeDevice, config, props);
|
||||
if (dgeDevice == null)
|
||||
{
|
||||
Debug.Console(1, "Unable to create DGE device");
|
||||
return null;
|
||||
}
|
||||
|
||||
var dgeController = new DgeController(config.Key + "-comPorts", config.Name, dgeDevice, config, props);
|
||||
|
||||
DeviceManager.AddDevice(dgeController);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue