]> git.stg.codes - stg.git/commitdiff
Ticket. MybeSet()function call added for the change-policy-timeout.
authorElena Mamontova <helenh463@gmail.com>
Tue, 1 Nov 2016 12:57:32 +0000 (14:57 +0200)
committerElena Mamontova <helenh463@gmail.com>
Tue, 1 Nov 2016 12:57:32 +0000 (14:57 +0200)
projects/sgconf/tariffs.cpp

index c11ff4729014a15f705886c0a8adebfe6f335763..c0d30a125e186b58767746e9df355d2c7c7418a0 100644 (file)
@@ -404,6 +404,7 @@ 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, "change-policy-timeout", conf.tariffConf.changePolicyTimeout, readTime(conf.tariffConf.changePolicyTimeout));
 SGCONF::MaybeSet(options, "times", conf.dirPrice, ConvTimes);
 SGCONF::MaybeSet(options, "day-prices", conf.dirPrice, ConvDayPrices);
 SGCONF::MaybeSet(options, "night-prices", conf.dirPrice, ConvNightPrices);