summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ebf0bb)
!= 0) construction added in the TariffChangeIsAllowed() function.
//-----------------------------------------------------------------------------
std::string TARIFF_IMPL::TariffChangeIsAllowed(const TARIFF & to) const
{
//-----------------------------------------------------------------------------
std::string TARIFF_IMPL::TariffChangeIsAllowed(const TARIFF & to) const
{
+time_t timeout = GetChangePolicyTimeout();
+if (stgTime > timeout && timeout != 0)
+ return "";
switch (GetChangePolicy())
{
case TARIFF::ALLOW:
switch (GetChangePolicy())
{
case TARIFF::ALLOW: