X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d3b6a58593b94c9ff41c30a7517086d607f28f10..f7795445d9e0dd2282b336c89ebe117a2b71a88e:/projects/sgconf/tariffs.cpp diff --git a/projects/sgconf/tariffs.cpp b/projects/sgconf/tariffs.cpp index 75cd169f..3da1001a 100644 --- a/projects/sgconf/tariffs.cpp +++ b/projects/sgconf/tariffs.cpp @@ -94,15 +94,15 @@ for (size_t i = 0; i < info.dirPrice.size(); ++i) std::vector GetTariffParams() { std::vector params; -params.push_back({"fee", "", "\t\ttariff fee"}); -params.push_back({"free", "", "\tprepaid traff"}); -params.push_back({"passive-cost", "", "\tpassive cost"}); -params.push_back({"traff-type", "", "\ttraff type (up, dow, up+down, max)"}); -params.push_back({"period", "", "\ttarification period (daily, monthly)"}); -params.push_back({"times", "", "coma-separated day time-spans for each direction"}); -params.push_back({"day-prices", "", "coma-separated day prices for each direction"}); -params.push_back({"night-prices", "", "coma-separated day prices for each direction"}); -params.push_back({"thresholds", "", "coma-separated thresholds for each direction"}); +params.push_back(SGCONF::API_ACTION::PARAM("fee", "", "\t\ttariff fee")); +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", "", "\ttraff type (up, dow, up+down, max)")); +params.push_back(SGCONF::API_ACTION::PARAM("period", "", "\ttarification period (daily, monthly)")); +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 day prices for each direction")); +params.push_back(SGCONF::API_ACTION::PARAM("thresholds", "", "coma-separated thresholds for each direction")); return params; }