valvetestwindow.h 859 Bytes
#ifndef VALVETESTWINDOW_H
#define VALVETESTWINDOW_H

#include <QMainWindow>

#include "udphandler.h"

namespace Ui {
class ValveTestWindow;
}

class ValveTestWindow : public QMainWindow
{
    Q_OBJECT

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

private slots:
    void steamValveOpen();
    void steamValveClose();
    void steamPumpOn();
    void steamPumpOff();
    void quenchingValveOpen();
    void quenchingValveClose();
    void sideValveOpen();
    void sideValveClose();

    void onDataChanged();

    void on_steamValveButton_clicked();
    void on_steamPumpButton_clicked();
    void on_quenchingValveButton_clicked();
    void on_sideValveButton_clicked();

    void on_backButton_clicked();

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

#endif // VALVETESTWINDOW_H