]> git.stg.codes - stg.git/commitdiff
Ticket. The MaybeSet() function call for the 'change-policy' parameter added in
authorElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 10:57:55 +0000 (13:57 +0300)
committerElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 10:57:55 +0000 (13:57 +0300)
the AddTariffFunction().

projects/sgconf/tariffs.cpp

index c7a4bbc9203539262f92c755cbc4517a840c7146..a604a670a39c36659936044837bd10a90c5b25b3 100644 (file)
@@ -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, "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);
 SGCONF::MaybeSet(options, "times", conf.dirPrice, ConvTimes);
 SGCONF::MaybeSet(options, "day-prices", conf.dirPrice, ConvDayPrices);
 SGCONF::MaybeSet(options, "night-prices", conf.dirPrice, ConvNightPrices);