]> git.stg.codes - stg.git/commitdiff
Ticket. The 'change-policy' parameter adding to the
authorElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 10:48:44 +0000 (13:48 +0300)
committerElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 10:48:44 +0000 (13:48 +0300)
'params' vector added in the GetTariffParams() function.

projects/sgconf/tariffs.cpp

index 36f325eacbace81f0b627d22d403eac81548e52f..c7a4bbc9203539262f92c755cbc4517a840c7146 100644 (file)
@@ -246,6 +246,7 @@ params.push_back(SGCONF::API_ACTION::PARAM("free", "<free mb>", "\tprepaid traff
 params.push_back(SGCONF::API_ACTION::PARAM("passive-cost", "<cost>", "\tpassive cost"));
 params.push_back(SGCONF::API_ACTION::PARAM("traff-type", "<type>", "\ttraffic type (up, down, up+down, max)"));
 params.push_back(SGCONF::API_ACTION::PARAM("period", "<period>", "\ttarification period (daily, monthly)"));
+params.push_back(SGCONF::API_ACTION::PARAM("change-policy", "<change-policy>", "\ttarification change-policy (allow, to_cheap, to_expensive, deny)"));
 params.push_back(SGCONF::API_ACTION::PARAM("times", "<hh:mm-hh:mm, ...>", "coma-separated day time-spans for each direction"));
 params.push_back(SGCONF::API_ACTION::PARAM("day-prices", "<price/price, ...>", "coma-separated day prices for each direction"));
 params.push_back(SGCONF::API_ACTION::PARAM("night-prices", "<price/price, ...>", "coma-separated night prices for each direction"));