mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
Renamed property to DoNotLoadOnNextBoot for more clarity
This commit is contained in:
parent
7fdbf7c3a1
commit
b7c7513a18
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
|||
/// <param name="state"></param>
|
||||
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);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -56,8 +56,8 @@ namespace PepperDash.Core.DebugThings
|
|||
/// <summary>
|
||||
/// Property to tell the program not to intitialize when it boots, if desired
|
||||
/// </summary>
|
||||
[JsonProperty("doNotStartOnNextBoot")]
|
||||
public bool DoNotStartOnNextBoot { get; set; }
|
||||
[JsonProperty("doNotLoadOnNextBoot")]
|
||||
public bool DoNotLoadOnNextBoot { get; set; }
|
||||
|
||||
|
||||
public DebugContextItem(DebugContextCollection parent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue