git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d95c81
)
Ticket 37. The enum CHANGE_POLICY added in the struct TARIFF_DATA.
author
Elena Mamontova
<helenh463@gmail.com>
Fri, 20 May 2016 10:36:09 +0000
(13:36 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Fri, 20 May 2016 10:36:09 +0000
(13:36 +0300)
include/stg/tariff.h
patch
|
blob
|
history
diff --git
a/include/stg/tariff.h
b/include/stg/tariff.h
index 5d01cba08886be4087aced98c1305b072e16ef05..baa6c1bfdd06f52ea34e4f3192adca39bb05025e 100644
(file)
--- 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 };