last ...
This commit is contained in:
@@ -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 ...");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user