]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/get_tariff.cpp
Implemented command line options parsing.
[stg.git] / stglibs / srvconf.lib / parsers / get_tariff.cpp
index 1a3d262c6e932620d2f333d6c773175973a4256e..e861843e3ee1157f750e6fb6dd3f0f3f8835e93c 100644 (file)
@@ -130,6 +130,7 @@ GET_TARIFF::PARSER::PARSER(CALLBACK f, void * d)
     AddAOSParser(propertyParsers, "priceNightB", info.dirPrice, &DIRPRICE_DATA::priceNightB, GetSlashedValue);
     AddAOSParser(propertyParsers, "singlePrice", info.dirPrice, &DIRPRICE_DATA::singlePrice, GetSlashedValue);
     AddAOSParser(propertyParsers, "noDiscount", info.dirPrice, &DIRPRICE_DATA::noDiscount, GetSlashedValue);
+    AddAOSParser(propertyParsers, "threshold", info.dirPrice, &DIRPRICE_DATA::threshold, GetSlashedValue);
 }
 //-----------------------------------------------------------------------------
 GET_TARIFF::PARSER::~PARSER()