mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
#1145 moves LoadTieLines() to after device activation sequence
This commit is contained in:
parent
75895604ed
commit
23a37ebb37
1 changed files with 4 additions and 3 deletions
|
|
@ -337,19 +337,20 @@ namespace PepperDash.Essentials
|
|||
void Load()
|
||||
{
|
||||
LoadDevices();
|
||||
LoadTieLines();
|
||||
LoadRooms();
|
||||
LoadLogoServer();
|
||||
|
||||
DeviceManager.ActivateAll();
|
||||
|
||||
LoadTieLines();
|
||||
|
||||
var mobileControl = GetMobileControlDevice();
|
||||
|
||||
if (mobileControl == null) return;
|
||||
|
||||
mobileControl.LinkSystemMonitorToAppServer();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reads all devices from config and adds them to DeviceManager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue