From: Elena Mamontova Date: Tue, 12 Jul 2016 10:48:44 +0000 (+0300) Subject: Ticket. The 'change-policy' parameter adding to the X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/4e2afa9969d60efbddda9227c1c8c06ea8d9a221 Ticket. The 'change-policy' parameter adding to the 'params' vector added in the GetTariffParams() function. --- diff --git a/projects/sgconf/tariffs.cpp b/projects/sgconf/tariffs.cpp index 36f325ea..c7a4bbc9 100644 --- a/projects/sgconf/tariffs.cpp +++ b/projects/sgconf/tariffs.cpp @@ -246,6 +246,7 @@ params.push_back(SGCONF::API_ACTION::PARAM("free", "", "\tprepaid traff params.push_back(SGCONF::API_ACTION::PARAM("passive-cost", "", "\tpassive cost")); params.push_back(SGCONF::API_ACTION::PARAM("traff-type", "", "\ttraffic type (up, down, up+down, max)")); params.push_back(SGCONF::API_ACTION::PARAM("period", "", "\ttarification period (daily, monthly)")); +params.push_back(SGCONF::API_ACTION::PARAM("change-policy", "", "\ttarification change-policy (allow, to_cheap, to_expensive, deny)")); params.push_back(SGCONF::API_ACTION::PARAM("times", "", "coma-separated day time-spans for each direction")); params.push_back(SGCONF::API_ACTION::PARAM("day-prices", "", "coma-separated day prices for each direction")); params.push_back(SGCONF::API_ACTION::PARAM("night-prices", "", "coma-separated night prices for each direction"));