mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fixes types for base device Generic types
This commit is contained in:
parent
ae23eec005
commit
e55a647854
4 changed files with 4 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ namespace PepperDash.Essentials.Core.CrestronIO
|
|||
}
|
||||
}
|
||||
|
||||
public class C2nRthsControllerFactory : EssentialsDeviceFactory<GenericComm>
|
||||
public class C2nRthsControllerFactory : EssentialsDeviceFactory<C2nRthsController>
|
||||
{
|
||||
public C2nRthsControllerFactory()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace PepperDash.Essentials.Core
|
|||
#endregion
|
||||
}
|
||||
|
||||
public class CenIoDigIn104ControllerFactory : EssentialsDeviceFactory<GenericComm>
|
||||
public class CenIoDigIn104ControllerFactory : EssentialsDeviceFactory<CenIoDigIn104Controller>
|
||||
{
|
||||
public CenIoDigIn104ControllerFactory()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ namespace PepperDash.Essentials.Core.CrestronIO
|
|||
}
|
||||
}
|
||||
|
||||
public class StatusSignControllerFactory : EssentialsDeviceFactory<GenericComm>
|
||||
public class StatusSignControllerFactory : EssentialsDeviceFactory<StatusSignController>
|
||||
{
|
||||
public StatusSignControllerFactory()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
Debug.Console(1, "Essentials.Core Factory Adding Types...");
|
||||
|
||||
//cast to IDeviceFactory isn't explicitly required here...but will be when instantiating using reflection, which I'm assuming is the next step
|
||||
var genCommFactory = new GenericCommFactory() as IDeviceFactory;
|
||||
genCommFactory.LoadTypeFactories();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue