Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

A tariff interval has a unique name, the period the interval is valid for (called a time predicate) and a tariff rate. If no time predicate is specified the interval will always be the current time.

Optionally, an interval priority may be specified to avoid conflicts between interval rules. If you do not specify a priority, the priority value is 1. By specifying priority 2, the interval is given a higher priority over the other intervals. You can also use priority 0 to give the interval a lower priority.

Example:

In this Example:, the interval is given a lower priority than other intervals:

INTERVAL "Name_of_Interval" : priority 0;

Example:

In this Example:, the interval is given a higher priority than other intervals:

INTERVAL "Name_of_Interval" : priority 2;