mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Update config.py
Ladeströme (Diskret)
This commit is contained in:
parent
dbf06c808d
commit
0c895c21c4
@ -3,6 +3,9 @@ from datetime import datetime, timedelta
|
||||
|
||||
prediction_hours=48
|
||||
strafe=10
|
||||
moegliche_ladestroeme_in_prozent = [0.0 ,6.0/16.0, 7.0/16.0, 8.0/16.0, 9.0/16.0, 10.0/16.0, 11.0/16.0, 12.0/16.0, 13.0/16.0, 14.0/16.0, 15.0/16.0, 1.0 ]
|
||||
|
||||
|
||||
db_config = {
|
||||
'user': '',
|
||||
'password': '!',
|
||||
@ -22,4 +25,4 @@ def get_start_enddate(prediction_hours=48,startdate=None):
|
||||
else:
|
||||
date = (startdate + timedelta(hours = prediction_hours)).strftime("%Y-%m-%d")
|
||||
date_now = startdate.strftime("%Y-%m-%d")
|
||||
return date_now,date
|
||||
return date_now,date
|
||||
|
Loading…
x
Reference in New Issue
Block a user