From: Elena Mamontova Date: Mon, 11 Jul 2016 08:07:23 +0000 (+0300) Subject: Ticket 37. The 'changePolicy' added to the map structVal in the X-Git-Tag: 2.409~146 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/b58a57adfb73f8b5368b8c31fa120399b7c15ef4 Ticket 37. The 'changePolicy' added to the map structVal in the GetTariffInfo() function. --- 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);