fix: fixed typenames for mockDisplay

This commit is contained in:
Neil Dorin
2024-06-06 12:09:35 -06:00
parent 027bdd5bf4
commit e61fd7777a
3 changed files with 7 additions and 228 deletions

View File

@@ -145,16 +145,19 @@ namespace PepperDash.Essentials.Core.Monitoring
public static void ProcessorReboot()
{
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return;
Debug.LogMessage(LogEventLevel.Information, "Rebooting...");
var response = string.Empty;
var response = string.Empty;
CrestronConsole.SendControlSystemCommand("reboot", ref response);
}
public static void ProgramReset(uint index)
{
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server) return;
Debug.LogMessage(LogEventLevel.Information, "Resetting Program {0}...", index);
if (index <= 0 || index > 10) return;
if (index <= 0 || index > 10) return;
var cmd = string.Format("progreset -p:{0}", index);