whyclwt
2022-05-18 ab72c6e114d7c4e83564194367ba623ca23bf09d
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef SYSSET_PAGE_H
#define SYSSET_PAGE_H
 
#include "Common/app_define.h"
#include <QDateTime>
#include "WorkThread/work_thread.h"
#include "CustomClass/custom_dialog.h"
#include "adjust_page.h"
#include "config_page.h"
 
namespace Ui {
    class SysSet_Page;
}
 
class SysSet_Page : public custom_dialog
{
    Q_OBJECT
public:
    explicit SysSet_Page(QWidget *parent = 0, Work_Thread *thread = 0);
    ~SysSet_Page();
 
    void showSyssetPage(void);
 
private:
    Ui::SysSet_Page *ui;
    Work_Thread  *workThread;
 
    Adjust_Page *adjustPage;
    Config_Page *configPage;
 
    bool one_sub_window_exist;
 
    QString ipAddr;
    QString netMask;
    QString gateWay;
 
    QDateTime qDT;
    CT_DATE_TIME ctDT;
 
    SYSTEM_PARAM_XML sysParam;
 
    bool time_edit;
    bool ip_edit;
    bool server_edit;
 
    QTimer *t_timer;
 
    bool beep_en;
 
    bool checkDateText(QString &Chked,CT_DATE_TIME &datetime);
    bool checkTimeText(QString &Chked,CT_DATE_TIME &datetime);
    void set_date_time(CT_DATE_TIME &dt);
 
    void setIcon();
    void popBox(QString msg);
 
    QString getModuleVerson(void);
 
    void closeSyssetPage(void);
 
    void setEth0Info();
    void setServerInfo();
 
 
private slots:
    void BtnReleased();
    void TabChanged(int index);
    void leditAction(void);
    void get_date_time(void);
    void ComboBoxTestTypeAct(int idex);
};
 
 
#endif // SYSSET_PAGE_H