washtestwindow.h 886 Bytes
#ifndef WASHTESTWINDOW_H
#define WASHTESTWINDOW_H

#include <QMainWindow>

#include "udphandler.h"

namespace Ui {
class WashTestWindow;
}

class WashTestWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit WashTestWindow(QWidget *parent = 0, UdpHandler *udp = 0);
    ~WashTestWindow();

private slots:
    void steamPumpOn();
    void steamPumpOff();
    void cleanserPumpOn();
    void cleanserPumpOff();
    void upperPumpOn();
    void upperPumpOff();
    void drainValveOpen();
    void drainValveClose();

    void onDataChanged();

    void on_steamPumpButton_clicked();
    void on_cleanserPumpButton_clicked();
    void on_upperPumpButton_clicked();
    void on_drainValveStartButton_clicked();
    void on_drainValveStopButton_clicked();

    void on_backButton_clicked();

private:
    Ui::WashTestWindow *ui;
    UdpHandler *udp;
};

#endif // WASHTESTWINDOW_H