From 13d642c516655dd9798b03399de91fc77ca05af9 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 1 Nov 2016 14:49:08 +0200 Subject: [PATCH] Ticket. MybeSet()function call added for the change-policy-timeout. --- projects/sgconf/tariffs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/sgconf/tariffs.cpp b/projects/sgconf/tariffs.cpp index 87d07d1a..c11ff472 100644 --- a/projects/sgconf/tariffs.cpp +++ b/projects/sgconf/tariffs.cpp @@ -369,6 +369,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); -- 2.43.2