mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Fixed to DGE to allow use of Com ports via EfS bridge. Updates PD.Core version
This commit is contained in:
parent
bd4bb24945
commit
5fc93ca251
3 changed files with 18 additions and 5 deletions
|
|
@ -30,12 +30,17 @@ namespace PepperDash.Essentials
|
|||
tsw.SigChange += Panel_SigChange;
|
||||
}
|
||||
|
||||
public EssentialsTouchpanelController(string key, string name, Dge100 panel, string projectName, string sgdPath)
|
||||
public EssentialsTouchpanelController(string key, string name, Dge100 dge, string projectName, string sgdPath)
|
||||
: base(key, name)
|
||||
{
|
||||
Panel = panel;
|
||||
panel.LoadSmartObjects(sgdPath);
|
||||
panel.SigChange += Panel_SigChange;
|
||||
Panel = dge;
|
||||
|
||||
if (!string.IsNullOrEmpty(sgdPath))
|
||||
dge.LoadSmartObjects(sgdPath);
|
||||
else
|
||||
Debug.Console(1, this, "No SGD file path defined");
|
||||
|
||||
dge.SigChange += Panel_SigChange;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue