Exemple #1
0
def load_distanceEmpty():
    return float(FILES.loadline(FILENAME_CUBE, ROW_DISTANCE_EMPTY))
Exemple #2
0
def load_pouringInProgress():
    return int(FILES.loadline(FILENAME_NOW, ROW_POURING_IN_PROGRESS))
Exemple #3
0
def load_volumeMax():
    return int(FILES.loadline(FILENAME_CUBE, ROW_VOLUME_MAX))
Exemple #4
0
def load_distanceFull():
    return float(FILES.loadline(FILENAME_CUBE, ROW_DISTANCE_FULL))
Exemple #5
0
def load_name():
    return FILES.loadline(FILENAME_SCHEDULE, ROW_NAME).rstrip()
Exemple #6
0
def load_warningDaysLeft():
    return int(FILES.loadline(FILENAME_CUBE, ROW_WARNING_DAYS_LEFT))
Exemple #7
0
def load_sending():
    return int(FILES.loadline(FILENAME_NOTIFICATION, ROW_SENDING).rstrip())
Exemple #8
0
def load_volume():
    return int(FILES.loadline(FILENAME_NOW, ROW_VOLUME))
Exemple #9
0
def load_token():
    return FILES.loadline(FILENAME_NOTIFICATION, ROW_TOKEN).rstrip()
Exemple #10
0
def load_shouldSend():
    return int(FILES.loadline(FILENAME_NOTIFICATION, ROW_SHOULD_SEND).rstrip())
Exemple #11
0
def load_skipDays():
    return int(FILES.loadline(FILENAME_SCHEDULE, ROW_SKIP_DAYS))
Exemple #12
0
def load_ml():
    return int(FILES.loadline(FILENAME_SCHEDULE, ROW_ML))
Exemple #13
0
def load_date():
    return FILES.loadline(FILENAME_SCHEDULE, ROW_DATE).rstrip()
Exemple #14
0
def load_distance():
    return float(FILES.loadline(FILENAME_NOW, ROW_DISTANCE))
Exemple #15
0
def load_waitForInternetConnection():
    return int(FILES.loadline(FILENAME_CUBE, ROW_WAIT_FOR_INTERNET_CONNECTION))
Exemple #16
0
def load_percentage():
    return float(FILES.loadline(FILENAME_NOW, ROW_PERCENTAGE))
Exemple #17
0
def load_warningPercentage():
    return float(FILES.loadline(FILENAME_CUBE, ROW_WARNING_PERCENTAGE))
Exemple #18
0
def load_daysLeft():
    return int(FILES.loadline(FILENAME_NOW, ROW_DAYS_LEFT))
Exemple #19
0
def load_enabled():
    return int(FILES.loadline(FILENAME_SCHEDULE, ROW_ENABLED))