From 37052bdee980c54d2b3c73c11d74532e6057bfff Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Wed, 27 Sep 2017 10:13:41 -0400 Subject: [PATCH] Reducing dependency on crestron --- ICD.Common.Utils/CrestronUtils.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ICD.Common.Utils/CrestronUtils.cs b/ICD.Common.Utils/CrestronUtils.cs index 64aed9d..588aa38 100644 --- a/ICD.Common.Utils/CrestronUtils.cs +++ b/ICD.Common.Utils/CrestronUtils.cs @@ -45,7 +45,7 @@ namespace ICD.Common.Utils { if (string.IsNullOrEmpty(s_VersionResult)) { - if (!CrestronConsole.SendControlSystemCommand("version", ref s_VersionResult)) + if (!IcdConsole.SendControlSystemCommand("version", ref s_VersionResult)) { ServiceProvider.TryGetService() .AddEntry(eSeverity.Warning, "{0} - Failed to send console command \"{1}\"", @@ -174,7 +174,7 @@ namespace ICD.Common.Utils { string consoleResult = string.Empty; string command = string.Format("progreset -p:{0:D2}", ProgramUtils.ProgramNumber); - CrestronConsole.SendControlSystemCommand(command, ref consoleResult); + IcdConsole.SendControlSystemCommand(command, ref consoleResult); } /// @@ -184,7 +184,7 @@ namespace ICD.Common.Utils public static void Reboot() { string consoleResult = string.Empty; - CrestronConsole.SendControlSystemCommand("reboot", ref consoleResult); + IcdConsole.SendControlSystemCommand("reboot", ref consoleResult); } #endregion @@ -196,7 +196,7 @@ namespace ICD.Common.Utils private static string GetRamFree() { string ramfree = null; - if (!CrestronConsole.SendControlSystemCommand(RAMFREE_COMMAND, ref ramfree)) + if (!IcdConsole.SendControlSystemCommand(RAMFREE_COMMAND, ref ramfree)) { ServiceProvider.TryGetService() .AddEntry(eSeverity.Warning, "{0} - Failed to send console command \"{1}\"",