-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtime_attendance.tbh
52 lines (40 loc) · 1.19 KB
/
time_attendance.tbh
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
enum EN_TA_DIRECTION_TYPE
EN_TA_DT_IN = 0,
EN_TA_DT_OUT = 1,
EN_TA_DT_INTMP = 2,
EN_TA_DT_OUTTMP = 3
end enum
enum EN_TA_SHEDULE_ACT
EN_TA_SA_SET_IN = 0,
EN_TA_SA_SET_OUT = 1,
EN_TA_SA_SET_TMPIN = 2,
EN_TA_SA_SET_TMPOUT = 3,
EN_TA_SA_IN_DISABLE = 4,
EN_TA_SA_IN_ENABLE = 5,
EN_TA_SA_OUT_DISABLE = 6,
EN_TA_SA_OUT_ENABLE = 7,
EN_TA_SA_TMPIN_DISABLE = 8,
EN_TA_SA_TMPIN_ENABLE = 9,
EN_TA_SA_TMPOUT_DISABLE = 10,
EN_TA_SA_TMPOUT_ENABLE = 11
end enum
declare ta_mode as boolean
declare ta_sheduled as boolean
declare ta_direction as EN_TA_DIRECTION_TYPE
declare sub ta_init()
#if SUPPORTS_DISPLAY
declare ta_b1 as boolean
declare ta_b2 as boolean
declare ta_b3 as boolean
declare ta_b4 as boolean
declare ta_time as string(6)
declare ta_date as string(11)
declare sub ta_timer()
declare function ta_check_id(card_id as string, byref name as string) as boolean
declare sub ta_button_shedule(time as string)
declare sub ta_check_act(act as EN_TA_SHEDULE_ACT)
declare sub ta_set_dir(dir as EN_TA_DIRECTION_TYPE)
declare sub ta_get_current_shedule()
declare function ta_get_direction() as EN_TA_DIRECTION_TYPE
declare sub ta_btn_check()
#endif