burnertestwindow.h 820 Bytes
#ifndef BURNERTESTWINDOW_H
#define BURNERTESTWINDOW_H

#include <QMainWindow>
#include <QTimer>

#include "udphandler.h"

namespace Ui {
class BurnerTestWindow;
}

class BurnerTestWindow : public QMainWindow
{
    Q_OBJECT

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

private slots:
    void steamOn();
    void steamOff();
    void upperOn();
    void upperOff();
    void lowerOn();
    void lowerOff();

    void onDataChanged();

    void on_steamBurnerButton_clicked();

    void on_upperBurnerButton_clicked();

    void on_lowerBurnerButton_clicked();

    void on_backButton_clicked();

private:
    Ui::BurnerTestWindow *ui;
    UdpHandler *udp;
    QTimer steamTimer;
    QTimer upperTimer;
    QTimer lowerTimer;
};

#endif // BURNERTESTWINDOW_H