X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3bf247163c78d1bac74702459a4d53700280ebe..24d957224650e26f7c2117ed5116d2412b0dbc60:/stglibs/srvconf.lib/parsers/chg_tariff.cpp diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index 5c6fd720..16c4b198 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -72,12 +72,13 @@ if (!data.tariffConf.period.empty()) if (!data.tariffConf.changePolicy.empty()) switch (data.tariffConf.changePolicy.data()) { - case TARIFF::DAY: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; + case TARIFF::ALLOW: stream << ""; break; + case TARIFF::TO_CHEAP: stream << ""; break; + case TARIFF::TO_EXPENSIVE: stream << ""; break; + case TARIFF::DENY: stream << ""; break; } +appendResetableTag(stream, "changePolicyTimeout", data.tariffConf.changePolicyTimeout); for (size_t i = 0; i < DIR_NUM; ++i) if (!data.dirPrice[i].hDay.empty() && !data.dirPrice[i].mDay.empty() &&