This commit is contained in:
2024-07-05 01:00:57 +03:30
parent ca1af4c98d
commit 09f90b5431
2 changed files with 7 additions and 24 deletions
+7 -4
View File
@@ -131,7 +131,7 @@ input bool x121EATerminalAlerts = false; // Terminal Alerts
// Local Variables ...
//
bool isInTestMode = false;
bool is121EAInTestMode = false;
XTimeTracker x121EATimeTracker;
//
@@ -158,6 +158,9 @@ int OnInit()
return INIT_PARAMETERS_INCORRECT;
}
//
is121EAInTestMode = IsRunningOnTestMode();
//
// Initializitation Succeed Message ...
x121EA.Alert("Initialized Successfully ...");
@@ -207,7 +210,7 @@ void OnTick()
if (x121EATimeTracker.IsNewHour())
{
//
if (!isInTestMode)
if (!is121EAInTestMode)
{
x121EA.Alert("New Hour ...");
}
@@ -217,7 +220,7 @@ void OnTick()
if (x121EATimeTracker.IsNewDay())
{
//
if (!isInTestMode)
if (!is121EAInTestMode)
{
x121EA.Alert("New Day ...");
}
@@ -227,7 +230,7 @@ void OnTick()
if (x121EATimeTracker.IsNewMonth())
{
//
if (!isInTestMode)
if (!is121EAInTestMode)
{
x121EA.Alert("New Mount ...");
}