Exemple #1
0
def save_distance(distance):
    FILES.saveline(FILENAME_NOW, ROW_DISTANCE, str(distance))
Exemple #2
0
def save_percentage(percentage):
    FILES.saveline(FILENAME_NOW, ROW_PERCENTAGE, str(percentage))
Exemple #3
0
def save_sending(sending):
    FILES.saveline(FILENAME_NOTIFICATION, ROW_SENDING, str(sending).rstrip())
Exemple #4
0
def save_pouringInProgress(pouringInProgress):
    FILES.saveline(FILENAME_NOW, ROW_POURING_IN_PROGRESS,
                   str(pouringInProgress))
Exemple #5
0
def save_token(token):
    # print("DATA - SAVE TOKEN = ")
    # print(token)
    FILES.saveline(FILENAME_NOTIFICATION, ROW_TOKEN, token.rstrip())
Exemple #6
0
def save_shouldSend(shouldSend):
    FILES.saveline(FILENAME_NOTIFICATION, ROW_SHOULD_SEND,
                   str(shouldSend).rstrip())
Exemple #7
0
def save_ml(ml):
    FILES.saveline(FILENAME_SCHEDULE, ROW_ML, str(ml))
Exemple #8
0
def save_skipDays(skipDays):
    FILES.saveline(FILENAME_SCHEDULE, ROW_SKIP_DAYS, str(skipDays))
Exemple #9
0
def save_date(date):
    FILES.saveline(FILENAME_SCHEDULE, ROW_DATE, date)
Exemple #10
0
def save_name(name):
    FILES.saveline(FILENAME_SCHEDULE, ROW_NAME, name.rstrip())
Exemple #11
0
def save_enabled(enabled):
    FILES.saveline(FILENAME_SCHEDULE, ROW_ENABLED, str(enabled))
Exemple #12
0
def save_daysLeft(daysLeft):
    FILES.saveline(FILENAME_NOW, ROW_DAYS_LEFT, str(daysLeft))
Exemple #13
0
def save_volume(volume):
    FILES.saveline(FILENAME_NOW, ROW_VOLUME, str(int(volume)))