Attempt at modifying device factory mechanism

This commit is contained in:
Neil Dorin
2020-03-26 16:10:54 -06:00
parent ca27e01f94
commit a403a8b81f
7 changed files with 120 additions and 12 deletions

View File

@@ -87,4 +87,17 @@ namespace PepperDash.Essentials.Core
return null;
}
}
/// <summary>
/// Responsible for loading all of the device types
/// </summary>
public class CoreDeviceFactory
{
public CoreDeviceFactory()
{
var genComm = new GenericComm.Factory() as IDeviceFactory;
genComm.LoadTypeFactories();
}
}
}