6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
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
|
#ifndef OPERATIONTIMEPARTS_H
#define OPERATIONTIMEPARTS_H
#include <QMainWindow>
#include <qlabel.h>
#include <qbuttongroup.h>
#include <qpushbutton.h>
#include "servicedatas.h"
#define OPERATION_TIME_CONTROL_MAX 11
#define OPERATION_TIME_PARTS_MAX_ITEM 10
namespace Ui {
class operationTimeParts;
}
class operationTimeParts : public QMainWindow
{
Q_OBJECT
public:
explicit operationTimeParts(QWidget *parent = 0);
~operationTimeParts();
private slots:
void on_backButton_clicked();
void on_btnReset_2_clicked();
void on_btnResets_clicked(int);
private:
const uint16_t m_arrPartItemIdxs[OPERATION_TIME_PARTS_MAX_ITEM] = {
USE_ITEM_door_open,USE_ITEM_dv_open,USE_ITEM_ssv_open,USE_ITEM_qnv_open,USE_ITEM_snv_open,
0xffff, USE_ITEM_ssp_open, USE_ITEM_hdm_open, USE_ITEM_dp_open, USE_ITEM_unp_open
};
uint32_t* m_arrUseItems[OPERATION_TIME_PARTS_MAX_ITEM];
QLabel* m_arrTimeLabels[OPERATION_TIME_CONTROL_MAX];
QPushButton* m_arrResetBtn[OPERATION_TIME_CONTROL_MAX];
QButtonGroup* m_btnGrops;
Ui::operationTimeParts *ui;
void reloadUi(void);
};
#endif // OPERATIONTIMEPARTS_H
|