ECS-1246 - Resolves issue where device factory was pulling CresnetIdInt instead of IpIdInt from config when trying to build CEN-IO-DIGIN-104

This commit is contained in:
Neil Dorin
2020-01-23 12:41:47 -07:00
parent 36cd356bc5
commit 61f24321c3

View File

@@ -55,7 +55,7 @@ namespace PepperDash.Essentials.Core
else if (typeName == "ceniodigin104")
{
var control = CommFactory.GetControlPropertiesConfig(dc);
var ipid = control.CresnetIdInt;
var ipid = control.IpIdInt;
return new CenIoDigIn104Controller(key, name, new Crestron.SimplSharpPro.GeneralIO.CenIoDi104(ipid, Global.ControlSystem));
}