mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
refactor: move DGE200 factory out of DGE200 class
This commit is contained in:
parent
bc64ee37cb
commit
a9fe8bbb10
1 changed files with 32 additions and 32 deletions
|
|
@ -58,6 +58,7 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
|||
HdmiOut.Port = _dge.HdmiOut; ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class DmDge200CControllerFactory : EssentialsDeviceFactory<DmDge200CController>
|
||||
{
|
||||
|
|
@ -85,10 +86,9 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
|||
return null;
|
||||
}
|
||||
|
||||
var dgeController = new DmDge200CController(dc.Key , dc.Name, dgeDevice, dc, props);
|
||||
var dgeController = new DmDge200CController(dc.Key, dc.Name, dgeDevice, dc, props);
|
||||
|
||||
return dgeController;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue