forked from dunsmosf/APMMP-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameters.xml
160 lines (130 loc) · 6.54 KB
/
parameters.xml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<parameters_list name="parameters">
<!--
Parameter File to be read by DiAs System
Valid types:
- int
- double
- string
- long
- boolean
Format:
<parameter name="" value="" type=""> </parameter>
-->
<!--
Allowed Modes:
Combination of Pump (1), Safety (2) and Closed Loop (4) Modes.
0: No operating modes
1: Pump mode only
2: Safety mode only (eq. to 0 if "safetyDistinctFromCL" = false)
3: Pump and Safety modes only (eq. to 1 if "safetyDistinctFromCL" = false)
4: Closed Loop mode only
5: Pump and Closed Loop modes allowed
6: Safety and Closed Loop modes allowed (eq. to 4 if "safetyDistinctFromCL" = false)
7: Pump, Safety,and Closed Loop modes allowed (eq. to 5 if "safetyDistinctFromCL" = false)
[see "apc_enabled" and "brm_enabled" for controllers activity based on Night Profile]
-->
<parameter name="allowed_modes" value="7" type="int"> </parameter>
<!--
Controllers action ("apc_enabled", "brm_enabled"):
0: Disabled
1: Enabled
2: Enabled within Night Profile
3: Disabled within Night Profile
-->
<parameter name="apc_enabled" value="3" type="int"> </parameter>
<parameter name="brm_enabled" value="1" type="int"> </parameter>
<parameter name="safetyDistinctFromCL" value="false" type="boolean"> </parameter>
<!--
Traffic Light Control:
0 = Disabled
1 = SSM Controlled
2 = APC Controlled
3 = BRM Controlled
-->
<parameter name="traffic_lights" value="1" type="int"> </parameter>
<!--
Blood Glucose display units:
0 = mg/dl
1 = mmol/L
-->
<parameter name="blood_glucose_display_units" value="0" type="int"> </parameter>
<!--
MealActivity Bolus Calculation Mode:
0 = Classic bolus calculator (Carbs, BG, Correction, IOB) at all times
1 = Classic bolus calculator in Pump mode, custom calculator in CL, Safety modes
2 = Custom calculator in all modes
-->
<parameter name="meal_activity_bolus_calculation_mode" value="0" type="int"> </parameter>
<!--
Exercise detection mode (sets the exercise button automatically on and off
0 = Manual - button press in DiAsUI
1 = ExerciseService - initial value is 'not exercising'
2 = ExerciseService - initial value is 'not exercising' if current time is within Night Profile range and 'exercising' otherwise
-->
<parameter name="exercise_detection_mode" value="0" type="int"> </parameter>
<parameter name="bolus_missed_threshold" value="4" type="int"> </parameter>
<parameter name="acc_enabled" value="false" type="boolean"> </parameter>
<parameter name="gps_enabled" value="false" type="boolean"> </parameter>
<parameter name="gps_interval" value="60000" type="long"> </parameter>
<parameter name="tbr_enabled" value="true" type="boolean"> </parameter>
<parameter name="setup_screen_font_size" value="16" type="int"> </parameter>
<parameter name="mdi_requested_at_startup" value="true" type="boolean"> </parameter>
<parameter name="audible_alarms" value="true" type="boolean"> </parameter>
<!--
Audible Alarms Threshold:
0: Hypo Only
1: All Events
-->
<parameter name="audible_alarms_threshold" value="1" type="int"> </parameter>
<parameter name="vibrate_alarms" value="true" type="boolean"> </parameter>
<parameter name="dwm_address_default" value="https://dwm.med.virginia.edu/staging" type="string"> </parameter>
<parameter name="dwm_address_2" value="https://dias.med.virginia.edu/staging" type="string"> </parameter>
<parameter name="dwm_address_3" value="https://dwm.med.virginia.edu" type="string"> </parameter>
<parameter name="backup_password" value="diabetes" type="string"> </parameter>
<parameter name="bolus_interceptor_enabled" value="true" type="boolean"> </parameter>
<parameter name="center" value="DTC" type="string"> </parameter>
<parameter name="protocol" value="TST0" type="string"> </parameter>
<parameter name="cgm_history_hrs" value="2" type="int"> </parameter>
<!--
Hypo Alarm handling:
BG value thresholds define duration to mute the Hypo Alarm after its first trigger.
The definition follows this rule:
if treatment:
mute duration = "hypo_mute_treated"
if no treatment:
if no BG value:
mute duration = "hypo_mute_no_bg"
if BG value < "bg_threshold_1":
mute duration = "hypo_mute_low_bg"
if "bg_threshold_1" <= BG value < "bg_threshold_2":
mute duration = "hypo_mute_middle_bg"
if "bg_threshold_2" <= BG value:
mute duration = "hypo_mute_high_bg"
-->
<parameter name="bg_threshold_1" value="70" type="int"> </parameter>
<parameter name="bg_threshold_2" value="80" type="int"> </parameter>
<parameter name="hypo_mute_treated" value="15" type="int"> </parameter>
<parameter name="hypo_mute_no_bg" value="5" type="int"> </parameter>
<parameter name="hypo_mute_low_bg" value="5" type="int"> </parameter>
<parameter name="hypo_mute_middle_bg" value="15" type="int"> </parameter>
<parameter name="hypo_mute_high_bg" value="30" type="int"> </parameter>
<parameter name="enableIO" value="false" type="boolean"> </parameter>
<!-- The number of addresses "macX" must match the number of "tandem_addresses" -->
<parameter name="tandem_addresses" value="4" type="int"> </parameter>
<parameter name="mac1" value="D0:5F:B8" type="string"> </parameter>
<parameter name="mac2" value="D0:D7:EB" type="string"> </parameter>
<parameter name="mac3" value="FC:6A:29" type="string"> </parameter>
<parameter name="mac4" value="FC:2D:B7" type="string"> </parameter>
<!--
Temporary Basal Rate Enabled in:
0: No operating mode
1: Pump mode only
2: Closed Loop only
3: Pump and Closed Loop modes
-->
<parameter name="temporaryBasalRateEnabled" value="0" type="int"> </parameter>
<parameter name="collectBatteryStats" value="false" type="boolean"> </parameter>
<parameter name="collectBatteryStatsInterval" value="15" type="int"> </parameter>
<parameter name="hba1c" value="7.0" type="float"> </parameter>
<parameter name="cgmBlinded" value="false" type="boolean"> </parameter>
</parameters_list>