示例#1
0
def pump_stop():
    pool_control_master_db.pump_control("STOP")
    update_database("pump_status", "pump_program_running", "stop")
    return redirect(url_for('pool_control'))
示例#2
0
def pump_program4():
    pool_control_master_db.pump_control('PROGRAM_4')
    update_database("pump_status", "pump_program_running", "program_4")
    return redirect(url_for('pool_control'))
示例#3
0
def pump_start():
    pool_control_master_db.pump_control("START")
    return redirect(url_for('pool_control'))