]> git.stg.codes - stg.git/commitdiff
Ticket 37. The enum CHANGE_POLICY added in the struct TARIFF_DATA.
authorElena Mamontova <helenh463@gmail.com>
Fri, 20 May 2016 10:36:09 +0000 (13:36 +0300)
committerElena Mamontova <helenh463@gmail.com>
Fri, 20 May 2016 10:36:09 +0000 (13:36 +0300)
include/stg/tariff.h

index 5d01cba08886be4087aced98c1305b072e16ef05..baa6c1bfdd06f52ea34e4f3192adca39bb05025e 100644 (file)
@@ -32,6 +32,8 @@ struct TARIFF_DATA;
 
 class TARIFF {
 public:
 
 class TARIFF {
 public:
+    enum CHANGE_POLICY { ALLOW = 0, TO_CHEAP, TO_EXPENSIVE, DENY };
+
     enum PERIOD { DAY = 0, MONTH };
 
     enum TRAFF_TYPE { TRAFF_UP = 0, TRAFF_DOWN, TRAFF_UP_DOWN, TRAFF_MAX };
     enum PERIOD { DAY = 0, MONTH };
 
     enum TRAFF_TYPE { TRAFF_UP = 0, TRAFF_DOWN, TRAFF_UP_DOWN, TRAFF_MAX };