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