From b7c7513a183624880028501611fc624ff8316337 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Fri, 15 Nov 2019 16:46:25 -0700 Subject: [PATCH] Renamed property to DoNotLoadOnNextBoot for more clarity --- Pepperdash Core/Pepperdash Core/Logging/Debug.cs | 10 +++++----- Pepperdash Core/Pepperdash Core/Logging/DebugMemory.cs | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Pepperdash Core/Pepperdash Core/Logging/Debug.cs b/Pepperdash Core/Pepperdash Core/Logging/Debug.cs index ab5a3b5..737cf79 100644 --- a/Pepperdash Core/Pepperdash Core/Logging/Debug.cs +++ b/Pepperdash Core/Pepperdash Core/Logging/Debug.cs @@ -28,7 +28,7 @@ namespace PepperDash.Core public static int Level { get; private set; } - public static bool DoNotStartOnNextBoot { get; private set; } + public static bool DoNotLoadOnNextBoot { get; private set; } static DebugContextCollection Contexts; @@ -86,7 +86,7 @@ namespace PepperDash.Core var context = Contexts.GetOrCreateItem("DEFAULT"); Level = context.Level; - DoNotStartOnNextBoot = context.DoNotStartOnNextBoot; + DoNotLoadOnNextBoot = context.DoNotLoadOnNextBoot; try { @@ -248,12 +248,12 @@ namespace PepperDash.Core /// public static void SetDoNotStartOnNextBoot(bool state) { - DoNotStartOnNextBoot = state; - Contexts.GetOrCreateItem("DEFAULT").DoNotStartOnNextBoot = state; + DoNotLoadOnNextBoot = state; + Contexts.GetOrCreateItem("DEFAULT").DoNotLoadOnNextBoot = state; SaveMemoryOnTimeout(); CrestronConsole.PrintLine("[Application {0}], Do Not Start on Next Boot set to {1}", - InitialParametersClass.ApplicationNumber, DoNotStartOnNextBoot); + InitialParametersClass.ApplicationNumber, DoNotLoadOnNextBoot); } /// diff --git a/Pepperdash Core/Pepperdash Core/Logging/DebugMemory.cs b/Pepperdash Core/Pepperdash Core/Logging/DebugMemory.cs index 2312160..6dcb65f 100644 --- a/Pepperdash Core/Pepperdash Core/Logging/DebugMemory.cs +++ b/Pepperdash Core/Pepperdash Core/Logging/DebugMemory.cs @@ -56,8 +56,8 @@ namespace PepperDash.Core.DebugThings /// /// Property to tell the program not to intitialize when it boots, if desired /// - [JsonProperty("doNotStartOnNextBoot")] - public bool DoNotStartOnNextBoot { get; set; } + [JsonProperty("doNotLoadOnNextBoot")] + public bool DoNotLoadOnNextBoot { get; set; } public DebugContextItem(DebugContextCollection parent)