From: Elena Mamontova Date: Fri, 20 May 2016 10:36:09 +0000 (+0300) Subject: Ticket 37. The enum CHANGE_POLICY added in the struct TARIFF_DATA. X-Git-Tag: 2.409~179 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/5b241162c3bb93887e18ff3b2774f2979780648b Ticket 37. The enum CHANGE_POLICY added in the struct TARIFF_DATA. --- diff --git a/include/stg/tariff.h b/include/stg/tariff.h index 5d01cba0..baa6c1bf 100644 --- a/include/stg/tariff.h +++ b/include/stg/tariff.h @@ -32,6 +32,8 @@ struct TARIFF_DATA; 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 };