-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsysdata.h
66 lines (58 loc) · 1.11 KB
/
sysdata.h
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
#ifndef _SYS_DATA_H_
#define _SYS_DATA_H_
struct SysBlk
{
//need save
int cur_proc_prog;
int total_die_bonded;
int total_db_time;
int reserved[17];
SysBlk()
{
cur_proc_prog = 1;
total_die_bonded = 0;
total_db_time = 0;
}
};
struct SysBlk2
{
//not need save
int cur_sel_prog;
int cur_cycle_time;
SysBlk2()
{
cur_sel_prog = 1;
cur_cycle_time = 0;
}
};
class CSysData
{
public:
CSysData();
~CSysData();
void Save();
void Load();
public:
void SetCurProcProg(int prog);
void SetCurSelProg(int prog);
int GetCurProcProg();
int GetCurSelProg();
void SetTotalDieBonded(int total);
void AddTotalDieBonded(int incr=1);
int GetTotalDieBonded();
void SetTotalDbTime(int total);
void AddTotalDbTime(int ms);
int GetTotalDbTime();//·µ»Øʱs»¹ÊÇmin±È½ÏºÃ
void SetCurCycleTime(int time);
int GetCurCycleTime();
int GetDialogBkColor();
int GetStaticTextColor();
int GetButtonBkColor();
int GetButtonFocusBkColor();
int GetCheckBkColor();
int GetCheckFocusBkColor();
public:
SysBlk d_SysBlk;
SysBlk2 d_SysBlk2;
};
#endif//_SYS_DATA_H_