From 8d7e73beecd0d372eb59ad74bf60e25f67013201 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 12 Jul 2016 13:57:55 +0300 Subject: [PATCH 1/1] Ticket. The MaybeSet() function call for the 'change-policy' parameter added in the AddTariffFunction(). --- projects/sgconf/tariffs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/sgconf/tariffs.cpp b/projects/sgconf/tariffs.cpp index c7a4bbc9..a604a670 100644 --- a/projects/sgconf/tariffs.cpp +++ b/projects/sgconf/tariffs.cpp @@ -351,6 +351,7 @@ SGCONF::MaybeSet(options, "free", conf.tariffConf.free); SGCONF::MaybeSet(options, "passive-cost", conf.tariffConf.passiveCost); SGCONF::MaybeSet(options, "traff-type", conf.tariffConf.traffType, ConvTraffType); SGCONF::MaybeSet(options, "period", conf.tariffConf.period, ConvPeriod); +SGCONF::MaybeSet(options, "change-policy", conf.tariffConf.changePolicy, ConvChangePolicy); SGCONF::MaybeSet(options, "times", conf.dirPrice, ConvTimes); SGCONF::MaybeSet(options, "day-prices", conf.dirPrice, ConvDayPrices); SGCONF::MaybeSet(options, "night-prices", conf.dirPrice, ConvNightPrices); -- 2.44.2