mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Adds some comments, initializes JoinMaps in EiscApi and moves GenericComm factory to new methodology
This commit is contained in:
parent
9d7f5af26e
commit
43e57ab6d1
3 changed files with 15 additions and 9 deletions
|
|
@ -48,7 +48,6 @@ namespace PepperDash.Essentials.Core
|
|||
|
||||
var typeName = dc.Type.ToLower();
|
||||
|
||||
|
||||
// Check for types that have been added by plugin dlls.
|
||||
if (FactoryMethods.ContainsKey(typeName))
|
||||
{
|
||||
|
|
@ -57,11 +56,11 @@ namespace PepperDash.Essentials.Core
|
|||
}
|
||||
|
||||
// Check "core" types
|
||||
if (typeName == "genericcomm")
|
||||
{
|
||||
Debug.Console(1, "Factory Attempting to create new Generic Comm Device");
|
||||
return new GenericComm(dc);
|
||||
}
|
||||
//if (typeName == "genericcomm")
|
||||
//{
|
||||
// Debug.Console(1, "Factory Attempting to create new Generic Comm Device");
|
||||
// return new GenericComm(dc);
|
||||
//}
|
||||
if (typeName == "ceniodigin104")
|
||||
{
|
||||
var control = CommFactory.GetControlPropertiesConfig(dc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue