refactor: remove MC bridge creation

This commit is contained in:
Andrew Welker
2024-02-20 09:23:32 -06:00
parent 812dd0e771
commit 7a5dc29946

View File

@@ -366,11 +366,11 @@ namespace PepperDash.Essentials
LoadTieLines(); LoadTieLines();
var mobileControl = GetMobileControlDevice(); /*var mobileControl = GetMobileControlDevice();
if (mobileControl == null) return; if (mobileControl == null) return;
mobileControl.LinkSystemMonitorToAppServer(); mobileControl.LinkSystemMonitorToAppServer();*/
} }
@@ -480,14 +480,14 @@ namespace PepperDash.Essentials
continue; continue;
} }
BuildMC(room as IEssentialsRoom); // BuildMC(room as IEssentialsRoom);
} }
Debug.Console(0, Debug.ErrorLogLevel.Notice, "All Rooms Loaded."); Debug.Console(0, Debug.ErrorLogLevel.Notice, "All Rooms Loaded.");
} }
private static void BuildMC(IEssentialsRoom room) /*private static void BuildMC(IEssentialsRoom room)
{ {
Debug.Console(0, Debug.ErrorLogLevel.Notice, $"Attempting to build Mobile Control Bridge for {room?.Key}"); Debug.Console(0, Debug.ErrorLogLevel.Notice, $"Attempting to build Mobile Control Bridge for {room?.Key}");
@@ -528,7 +528,7 @@ namespace PepperDash.Essentials
Debug.Console(0, Debug.ErrorLogLevel.Notice, "Mobile Control not enabled for this system"); Debug.Console(0, Debug.ErrorLogLevel.Notice, "Mobile Control not enabled for this system");
return null; return null;
} }*/
/// <summary> /// <summary>
/// Fires up a logo server if not already running /// Fires up a logo server if not already running