mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 13:14:49 +00:00
Renamed property to DoNotLoadOnNextBoot for more clarity
This commit is contained in:
@@ -28,7 +28,7 @@ namespace PepperDash.Core
|
|||||||
|
|
||||||
public static int Level { get; private set; }
|
public static int Level { get; private set; }
|
||||||
|
|
||||||
public static bool DoNotStartOnNextBoot { get; private set; }
|
public static bool DoNotLoadOnNextBoot { get; private set; }
|
||||||
|
|
||||||
static DebugContextCollection Contexts;
|
static DebugContextCollection Contexts;
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ namespace PepperDash.Core
|
|||||||
|
|
||||||
var context = Contexts.GetOrCreateItem("DEFAULT");
|
var context = Contexts.GetOrCreateItem("DEFAULT");
|
||||||
Level = context.Level;
|
Level = context.Level;
|
||||||
DoNotStartOnNextBoot = context.DoNotStartOnNextBoot;
|
DoNotLoadOnNextBoot = context.DoNotLoadOnNextBoot;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -248,12 +248,12 @@ namespace PepperDash.Core
|
|||||||
/// <param name="state"></param>
|
/// <param name="state"></param>
|
||||||
public static void SetDoNotStartOnNextBoot(bool state)
|
public static void SetDoNotStartOnNextBoot(bool state)
|
||||||
{
|
{
|
||||||
DoNotStartOnNextBoot = state;
|
DoNotLoadOnNextBoot = state;
|
||||||
Contexts.GetOrCreateItem("DEFAULT").DoNotStartOnNextBoot = state;
|
Contexts.GetOrCreateItem("DEFAULT").DoNotLoadOnNextBoot = state;
|
||||||
SaveMemoryOnTimeout();
|
SaveMemoryOnTimeout();
|
||||||
|
|
||||||
CrestronConsole.PrintLine("[Application {0}], Do Not Start on Next Boot set to {1}",
|
CrestronConsole.PrintLine("[Application {0}], Do Not Start on Next Boot set to {1}",
|
||||||
InitialParametersClass.ApplicationNumber, DoNotStartOnNextBoot);
|
InitialParametersClass.ApplicationNumber, DoNotLoadOnNextBoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ namespace PepperDash.Core.DebugThings
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Property to tell the program not to intitialize when it boots, if desired
|
/// Property to tell the program not to intitialize when it boots, if desired
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("doNotStartOnNextBoot")]
|
[JsonProperty("doNotLoadOnNextBoot")]
|
||||||
public bool DoNotStartOnNextBoot { get; set; }
|
public bool DoNotLoadOnNextBoot { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public DebugContextItem(DebugContextCollection parent)
|
public DebugContextItem(DebugContextCollection parent)
|
||||||
|
|||||||
Reference in New Issue
Block a user