Last Works ...
This commit is contained in:
@@ -731,6 +731,25 @@ class XCBaseExpert : public XSCBaseAlert
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// Time Handlers ...
|
||||
|
||||
virtual void HandleOnNewMonth()
|
||||
{
|
||||
}
|
||||
|
||||
virtual void HandleOnNewWeek()
|
||||
{
|
||||
}
|
||||
|
||||
virtual void HandleOnNewDay()
|
||||
{
|
||||
}
|
||||
|
||||
virtual void HandleOnNewHour()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate Identifier Tag ...
|
||||
*
|
||||
@@ -798,50 +817,74 @@ class XCBaseExpert : public XSCBaseAlert
|
||||
{
|
||||
//
|
||||
// Monthly Report ....
|
||||
if (mReportNewMonths &&
|
||||
mTimeTracker.IsNewMonth())
|
||||
if (mTimeTracker.IsNewMonth())
|
||||
{
|
||||
//
|
||||
string msg = "New Month ...";
|
||||
HandleOnNewMonth();
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
if (mReportNewMonths)
|
||||
{
|
||||
//
|
||||
string msg = "New Month ...";
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Weekly Report ....
|
||||
if (mReportNewWeeks &&
|
||||
mTimeTracker.IsNewWeek())
|
||||
if (mTimeTracker.IsNewWeek())
|
||||
{
|
||||
//
|
||||
string msg = "New Week ...";
|
||||
HandleOnNewWeek();
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
if (mReportNewWeeks)
|
||||
{
|
||||
//
|
||||
string msg = "New Week ...";
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Daily Report ....
|
||||
if (mReportNewDays &&
|
||||
mTimeTracker.IsNewDay())
|
||||
if (mTimeTracker.IsNewDay())
|
||||
{
|
||||
//
|
||||
string msg = "New Day ...";
|
||||
HandleOnNewDay();
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
if (mReportNewDays)
|
||||
{
|
||||
//
|
||||
string msg = "New Day ...";
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Hourly Report ....
|
||||
if (mReportNewHours &&
|
||||
mTimeTracker.IsNewHour())
|
||||
if (mTimeTracker.IsNewHour())
|
||||
{
|
||||
//
|
||||
string msg = "New Hour ...";
|
||||
HandleOnNewHour();
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
if (mReportNewHours)
|
||||
{
|
||||
//
|
||||
string msg = "New Hour ...";
|
||||
|
||||
//
|
||||
Alert(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user