functions_to_manage_energy_resources_consumption
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
functions_to_manage_energy_resources_consumption [2019/01/10 10:43] – [GetTodayDayType()] akuzmuk | functions_to_manage_energy_resources_consumption [2019/01/10 10:44] (current) – [GetHolidaysStats()] akuzmuk | ||
---|---|---|---|
Line 39: | Line 39: | ||
==== GetTomorrowDayType() ==== | ==== GetTomorrowDayType() ==== | ||
- | The GetTomorrowDayType function is completely analogous to GetTodayDayType with the only difference that it returns data about the future. | + | The GetTomorrowDayType function is completely analogous to GetTodayDayType with the only difference that it returns data about the next day. |
+ | |||
+ | It is useful to know next day's type to optimize energy consumption. | ||
==== GetHolidaysStats() ==== | ==== GetHolidaysStats() ==== | ||
Line 47: | Line 49: | ||
***currentMonthDays** – number of days in the current month | ***currentMonthDays** – number of days in the current month | ||
***nextMonthDays** - number of days in the next month | ***nextMonthDays** - number of days in the next month | ||
- | ***currentMonthWeekends** - the number of dayoffs | + | ***currentMonthWeekends** - the number of weekends |
- | ***nextMonthWeekends** - the number of dayoffs | + | ***nextMonthWeekends** - the number of weekends |
***currentMonthHolidays** - number of holidays (according to the settings in the Level2 system) in the current month | ***currentMonthHolidays** - number of holidays (according to the settings in the Level2 system) in the current month | ||
***nextMonthHolidays** - number of holidays (according to the settings in the Level2 system) in the next month | ***nextMonthHolidays** - number of holidays (according to the settings in the Level2 system) in the next month |
functions_to_manage_energy_resources_consumption.1547117007.txt.gz · Last modified: 2019/01/10 10:43 by akuzmuk