mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
add logic to update device info when IP-ID comes online
This commit is contained in:
parent
3c60dfdf7b
commit
5076ba405e
2 changed files with 5 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
|||
_dgeEthernetInfo.DeviceExtenderSigChange += (extender, args) => UpdateDeviceInfo();
|
||||
_dgeEthernetInfo.Use();
|
||||
|
||||
DeviceInfo = new DeviceInfo();
|
||||
DeviceInfo = new DeviceInfo();
|
||||
|
||||
_dge.OnlineStatusChange += (currentDevice, args) => { if (args.DeviceOnLine) UpdateDeviceInfo(); };
|
||||
|
||||
_dc = dc;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue