From 6fe9371f7e3fd3011b69872392db97398020b03e Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Thu, 21 Jul 2016 16:08:31 +0300 Subject: [PATCH 1/1] Ticket. Fixed enumeration values. --- stglibs/srvconf.lib/parsers/chg_tariff.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index 5c6fd720..bdc7f42b 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -72,10 +72,10 @@ if (!data.tariffConf.period.empty()) if (!data.tariffConf.changePolicy.empty()) switch (data.tariffConf.changePolicy.data()) { - case TARIFF::DAY: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; + case TARIFF::ALLOW: stream << ""; break; + case TARIFF::TO_CHEAP: stream << ""; break; + case TARIFF::TO_EXPENSIVE: stream << ""; break; + case TARIFF::DENY: stream << ""; break; } for (size_t i = 0; i < DIR_NUM; ++i) -- 2.44.2