feat: changes access modifiers to public on SystemMonitorController methods

This commit is contained in:
Neil Dorin
2024-05-28 14:25:34 -06:00
parent 6e05653c6c
commit b876b8123d

View File

@@ -110,7 +110,7 @@ namespace PepperDash.Essentials.Core.Monitoring
_uptimePollTimer = null; _uptimePollTimer = null;
} }
private void PollUptime(object obj) public void PollUptime(object obj)
{ {
var consoleResponse = string.Empty; var consoleResponse = string.Empty;
@@ -142,7 +142,7 @@ namespace PepperDash.Essentials.Core.Monitoring
_uptime = uptimeRaw.Substring(forIndex + 4); _uptime = uptimeRaw.Substring(forIndex + 4);
} }
private static void ProcessorReboot() public static void ProcessorReboot()
{ {
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return; if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return;
@@ -150,7 +150,7 @@ namespace PepperDash.Essentials.Core.Monitoring
CrestronConsole.SendControlSystemCommand("reboot", ref response); CrestronConsole.SendControlSystemCommand("reboot", ref response);
} }
private static void ProgramReset(uint index) public static void ProgramReset(uint index)
{ {
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return; if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return;