-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.h
90 lines (82 loc) · 4.42 KB
/
defaults.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//***************SETTING
#define PRINTER 0
#define REMOTE_S1 1
#define PCWORK_S1 2
#define REMOTE_S2 3
#define PCWORK_S2 4
#define RS485 5
#define NOTUSE 6
#define DEFAULT_scales_func_mode 0 //0 single range 1 double range 2 triple range
#define DEFAULT_geo_value 10 //0..20
#define DEFAULT_scale1_ranges 2
#define DEFAULT_scale2_ranges 2
#define DEFAULT_scale1_capacity0 300000
#define DEFAULT_scale1_capacity1 400000
#define DEFAULT_scale1_capacity2 500000
#define DEFAULT_scale2_capacity0 1000
#define DEFAULT_scale2_capacity1 10000
#define DEFAULT_scale2_capacity2 35000
#define DEFAULT_scale1_interval0 100
#define DEFAULT_scale1_interval1 1000
#define DEFAULT_scale1_interval2 2000
#define DEFAULT_scale2_interval0 10
#define DEFAULT_scale2_interval1 20
#define DEFAULT_scale2_interval2 100
#define DEFAULT_scale1_digits 0
#define DEFAULT_scale2_digits 0
#define DEFAULT_scale1_float 0 //0->0 1->1 2->2 3->3
#define DEFAULT_scale2_float 2
#define DEFAULT_scale1_unit 1 //0->g 1->kg 2->t
#define DEFAULT_scale2_unit 1
#define DEFAULT_scale1_interval_unit 0
#define DEFAULT_scale2_interval_unit 0
#define DEFAULT_scale1_capacity_unit 1
#define DEFAULT_scale2_capacity_unit 1
#define DEFAULT_scale1_set_point1 20000
#define DEFAULT_scale1_set_point2 25000
#define DEFAULT_scale2_set_point1 10000
#define DEFAULT_scale2_set_point2 20000
#define DEFAULT_scale1_loadcells_no 1
#define DEFAULT_scale2_loadcells_no 1
#define DEFAULT_scale1_motion_window 1 //3->3.0D 2->2.0D 1->1.0D 0->0.5D
#define DEFAULT_scale2_motion_window 1
#define DEFAULT_scale1_motion_counter 10 //1..20
#define DEFAULT_scale2_motion_counter 10
#define DEFAULT_scale1_filetr_size 11
#define DEFAULT_scale2_filetr_size 11
#define DEFAULT_scale1_auto_zero_range 3 //3->3.0D 2->1.0D 1->0.5D 0->OFF
#define DEFAULT_scale2_auto_zero_range 3
#define DEFAULT_scale1_pb_zero_p 2
#define DEFAULT_scale2_pb_zero_p 2
#define DEFAULT_scale1_pb_zero_n 2
#define DEFAULT_scale2_pb_zero_n 2
#define DEFAULT_scale1_powerup_zero 1 //0-> OFF 1->2% 2->10%
#define DEFAULT_scale2_powerup_zero 1
#define DEFAULT_scale1_overload 9 //1..20
#define DEFAULT_scale2_overload 9
#define DEFAULT_scale1_default_calib_weight 1000
#define DEFAULT_scale2_default_calib_weight 1000
#define DEFAULT_scale1_zero_mv_v 0.0000
#define DEFAULT_scale1_load_mv_v 2.0000
#define DEFAULT_scale2_zero_mv_v 0.0000
#define DEFAULT_scale2_load_mv_v 2.0000
#define DEFAULT_com1_baud_rate 5 //300 600 1200 2400 4800 9600 19200
#define DEFAULT_com2_baud_rate 3 //300 600 1200 2400 4800 9600 19200
#define DEFAULT_com1_databits 1
#define DEFAULT_com2_databits 1
#define DEFAULT_com1_parity 0
#define DEFAULT_com2_parity 0
#define DEFAULT_com1_stop_bits 0
#define DEFAULT_com2_stop_bits 0
#define DEFAULT_com1_func NOTUSE
#define DEFAULT_com2_func PRINTER
#define DEFAULT_com1_protocol 0
#define DEFAULT_com2_protocol 0
#define DEFAULT_language 0
#define DEFAULT_software SW_NONE
#define DEFAULT_backlight_time 0
#define DEFAULT_countout 0
#define DEFAULT_dongletype 0
#define DEFAULT_homepos 1
#define DEFAULT_calendar 1
#define DEFAULT_alarm ALARM_OFF