From b58a57adfb73f8b5368b8c31fa120399b7c15ef4 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 11 Jul 2016 11:07:23 +0300 Subject: [PATCH] Ticket 37. The 'changePolicy' added to the map structVal in the GetTariffInfo() function. --- .../stargazer/plugins/configuration/rpcconfig/tariff_helper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.cpp b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.cpp index 26b4e993..548774de 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.cpp @@ -13,6 +13,7 @@ structVal["freemb"] = xmlrpc_c::value_double(data.tariffConf.free); structVal["passivecost"] = xmlrpc_c::value_double(data.tariffConf.passiveCost); structVal["traffType"] = xmlrpc_c::value_int(data.tariffConf.traffType); structVal["period"] = xmlrpc_c::value_string(TARIFF::PeriodToString(data.tariffConf.period)); +structVal["changePolicy"] = xmlrpc_c::value_string(TARIFF::ChangePolicyToString(data.tariffConf.changePolicy)); std::vector prices(DIR_NUM); -- 2.44.2