From 4e2afa9969d60efbddda9227c1c8c06ea8d9a221 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 12 Jul 2016 13:48:44 +0300 Subject: [PATCH] Ticket. The 'change-policy' parameter adding to the 'params' vector added in the GetTariffParams() function. --- projects/sgconf/tariffs.cpp | 1 + 1 file changed, 1 insertion(+) 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")); -- 2.44.2