!= 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: