From: Elena Mamontova Date: Tue, 12 Jul 2016 11:02:39 +0000 (+0300) Subject: Ticket. The MaybeSet() function call for the 'change-policy' parameter X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/84ca510e70fe5697bbec1b8b25f7403dd010f1e6?ds=inline Ticket. The MaybeSet() function call for the 'change-policy' parameter added in the ChgTariffFunction(). --- diff --git a/projects/sgconf/tariffs.cpp b/projects/sgconf/tariffs.cpp index a604a670..4d4374f7 100644 --- a/projects/sgconf/tariffs.cpp +++ b/projects/sgconf/tariffs.cpp @@ -385,6 +385,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);