valvetestwindow.h 934 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);
    ~ValveTestWindow();

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

    void onDataChanged();

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

    void on_backButton_clicked();


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

#endif // VALVETESTWINDOW_H