pans
2016-12-15 87e3ee273b2f84081ac45926be9d8e5be3166eaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef EXCEPTIONPARAMS_H
#define EXCEPTIONPARAMS_H
 
#include <QtGui/QWidget>
#include <QCheckBox>
#include <QMessageBox>
#include "DemoPublic.h"
 
namespace Ui {
    class ExceptionParams;
}
 
class ExceptionParams : public QWidget {
    Q_OBJECT
public:
    int dwAlarmOutNum;
    NET_DVR_DEVICECFG m_struDeviceInfo;
    NET_DVR_EXCEPTION_V30 m_struExceptionInfo;
    ExceptionParams(QWidget *parent = 0);
    ~ExceptionParams();
    int setUserID(long lUserID);
 
public slots:
    void changeType(int index);
    void RefreshParams();
    void SaveParams();
    void changeState(int state);
protected:
    void changeEvent(QEvent *e);
 
private:
    Ui::ExceptionParams *m_ui;
    int     m_iExceptionType;
    long m_lUserID;
    NET_DVR_IPALARMOUTCFG m_struIPAlarmOutCfg;
    QCheckBox *checkboxAlarmOut[MAX_ALARMOUT_V30];
 
};
 
#endif // EXCEPTIONPARAMS_H