]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/get_tariff.cpp
Ticket. AddParser() call for the 'changePolicy' added.
[stg.git] / stglibs / srvconf.lib / parsers / get_tariff.cpp
index a24f287d7eb4767a3eb464b120917769c4710dd0..d929b26631f277fa823e532c23ed49ff1126c0a8 100644 (file)
@@ -156,6 +156,7 @@ GET_TARIFF::PARSER::PARSER(CALLBACK f, void * d, const std::string & e)
     AddParser(propertyParsers, "free", info.tariffConf.free);
     AddParser(propertyParsers, "traffType", info.tariffConf.traffType, GetTraffType);
     AddParser(propertyParsers, "period", info.tariffConf.period, GetPeriod);
+    AddParser(propertyParsers, "changePolicy", info.tariffConf.changePolicy, GetChangePolicy);
     for (size_t i = 0; i < DIR_NUM; ++i)
         AddParser(propertyParsers, "time" + unsigned2str(i), info.dirPrice[i], GetTimeSpan);
     AddAOSParser(propertyParsers, "priceDayA", info.dirPrice, &DIRPRICE_DATA::priceDayA, GetSlashedValue);