]> git.stg.codes - stg.git/blobdiff - include/stg/tariff_conf.h
Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct
[stg.git] / include / stg / tariff_conf.h
index ef8f15c263100d8f338b8aacbfc5588802124008..7790d47bf470ea03f6a0d06b580feca650147ec1 100644 (file)
@@ -156,7 +156,8 @@ struct TARIFF_CONF
           traffType(TARIFF::TRAFF_UP_DOWN),
           passiveCost(0),
           name(),
-          period(TARIFF::MONTH)
+          period(TARIFF::MONTH),
+          changePolicy(TARIFF::ALLOW)
         {}
 
     TARIFF_CONF(const std::string & n)
@@ -165,7 +166,8 @@ struct TARIFF_CONF
           traffType(TARIFF::TRAFF_UP_DOWN),
           passiveCost(0),
           name(n),
-          period(TARIFF::MONTH)
+          period(TARIFF::MONTH),
+          changePolicy(TARIFF::ALLOW)
         {}
 };
 //-----------------------------------------------------------------------------