ECS-1245 Added C2nRths Controller and Bridge

This commit is contained in:
Andrew Welker
2020-01-23 13:02:42 -07:00
parent 8f530aa7fe
commit 09bc84346d
7 changed files with 128 additions and 1 deletions

View File

@@ -66,6 +66,13 @@ namespace PepperDash.Essentials.Core
var cresnetId = control.CresnetIdInt;
return new StatusSignController(key, name, new StatusSign(cresnetId, Global.ControlSystem));
}
if (typeName == "c2nrths")
{
var control = CommFactory.GetControlPropertiesConfig(dc);
var cresnetId = control.CresnetIdInt;
return new C2nRthsController(key, name, new C2nRths(cresnetId, Global.ControlSystem));
}
// then check for types that have been added by plugin dlls.