config   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 15
dl 0
loc 25
rs 10
c 0
b 0
f 0
1
# definition of the database
2
myems_system_db = {
3
    'user': 'root',
4
    'password': '!MyEMS1',
5
    'host': '127.0.0.1',
6
    'database': 'myems_system_db',
7
    'port': 3306,
8
}
9
10
myems_historical_db = {
11
    'user': 'root',
12
    'password': '!MyEMS1',
13
    'host': '127.0.0.1',
14
    'database': 'myems_historical_db',
15
    'port': 3306,
16
}
17
18
# indicates how long analog values and digital values will be kept in database
19
# the longer days the more memory and disc space needed.
20
live_in_days = 365
21
# note: By default, energy values in historical db will never be deleted automatically.
22
23
# indicates if the program is in debug mode
24
is_debug = False
25