#1145 moves LoadTieLines() to after device activation sequence

This commit is contained in:
Neil Dorin
2023-10-18 15:28:22 -06:00
parent 75895604ed
commit 23a37ebb37

View File

@@ -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