#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPushButton>
#include <QGridLayout>
#include <QLabel>
#include <QTextEdit>
#include "ModbusPage.h"
#include "MainPage.h"
#include "LazerProbeSimPage.h"
#include "SEIModbusPage.h"
#include "ZTAlarmGeneratorPage.h"
#include "HistorianPage.h"

class COutilModbus;

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    MainWindow(QWidget *parent = 0,COutilModbus* ProgramHandle = 0);
    ~MainWindow();

    CMainPage *mMainPage;
    CModbusPage *mModbusPage;
    COutilModbus *mProgramHandle;
    CLazerProbeSimPage *mLazerSimPage;
    CSEIModbusPage *mSEIModbusPage;
    CZTAlarmGeneratorPage *mZTAlarmGeneratorPage;
    CHistorianPage *mHistorianPage;

//    QGridLayout *mCCGridLayout, *mSEIGridLayout;
//    QPushButton *mConnectToSlaveBtn, *mSendWriteMultipleHR, *mSendReadHR, *mWriteSingleHR;

//    QTextEdit *mCCEventsList, *mSEIEventsList;

//    QLabel *mAlarmePPIZT1, *mAlarmePPEZT1, *mAlarmePG, *mAlarmeFN, *mAlarmePEQ1, *mAlarmePEQ2, *mAlarmePPIZT2, *mAlarmePPEZT2, *mITI, *mRankPPZT1, *mRankPG, *mRankPPZT2;

public slots:
    void ButtonPushed();
};

#endif // MAINWINDOW_H
