more exams

This commit is contained in:
Milos Kozak 2019-09-07 11:56:16 +02:00
parent b5e4c044ac
commit 45638ef5eb
3 changed files with 39 additions and 1 deletions

View file

@ -56,6 +56,27 @@ public class Objective2 extends Objective {
.option(new Option(R.string.noisycgm_checksmoothing, true))
.hint(new Hint(R.string.noisycgm_hint1))
);
tasks.add(new ExamTask(R.string.exercise, R.string.exercise_whattodo,"exercise")
.option(new Option(R.string.nothing, false))
.option(new Option(R.string.exercise_setactivitytt, true))
.option(new Option(R.string.exercise_switchprofilebelow100, true))
.option(new Option(R.string.exercise_switchprofileabove100, false))
.option(new Option(R.string.exercise_stoploop, false))
.option(new Option(R.string.exercise_doitbeforestart, true))
.option(new Option(R.string.exercise_doitafterstart, false))
.hint(new Hint(R.string.exercise_hint1))
);
tasks.add(new ExamTask(R.string.suspendloop, R.string.suspendloop_doigetinsulin,"suspendloop")
.option(new Option(R.string.suspendloop_yes, true))
.option(new Option(R.string.no, false))
.hint(new Hint(R.string.exercise_hint1))
);
tasks.add(new ExamTask(R.string.basaltest, R.string.basaltest_when,"basaltest")
.option(new Option(R.string.basaltest_beforeloop, true))
.option(new Option(R.string.basaltest_havingregularhypo, true))
.option(new Option(R.string.basaltest_havingregularhyper, true))
.hint(new Hint(R.string.basaltest_hint1))
);
for (Task task : tasks)
Collections.shuffle(((ExamTask)task).options);

View file

@ -37,5 +37,23 @@
<string name="noisycgm_turnoffcgmreceiver">turn off CGM receiver</string>
<string name="noisycgm_hint1">https://androidaps.readthedocs.io/en/latest/EN/Usage/Smoothing-Blood-Glucose-Data-in-xDrip.html#smoothing-blood-glucose-data</string>
<string name="noisycgm_checksmoothing">check if input data is smoothed</string>
<string name="hypott_preventoversmb">to prevent SMB after a hypo rise from fast carbs</string>
<string name="exercise">Exercise</string>
<string name="exercise_whattodo">How to help the system deal with exercise</string>
<string name="exercise_setactivitytt">set activity temp target</string>
<string name="exercise_switchprofilebelow100">do a profile switch below 100%</string>
<string name="exercise_switchprofileabove100">do profile switch above 100%</string>
<string name="exercise_stoploop">stop loop</string>
<string name="exercise_doitbeforestart">do it before start exercise</string>
<string name="exercise_doitafterstart">do it after start exercise</string>
<string name="exercise_hint1">https://androidaps.readthedocs.io/en/latest/EN/Usage/temptarget.html#activity-temp-target</string>
<string name="suspendloop_doigetinsulin">Do I get insuling when loop is suspended?</string>
<string name="suspendloop_yes">Yes, common basal rate</string>
<string name="basaltest">Basal and ISF, IC testing</string>
<string name="basaltest_when">When should I test basals, ISF and IC?</string>
<string name="basaltest_beforeloop">before I start looping</string>
<string name="basaltest_havingregularhypo">when having regular hypos</string>
<string name="basaltest_havingregularhyper">when having regular hypers</string>
<string name="basaltest_hint1">https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#androidaps-settings</string>
</resources>

View file

@ -1637,7 +1637,6 @@
<string name="close">Close</string>
<string name="key_objectives_request_code" translatable="false">objectives_request_code</string>
<string name="requestcode">Request code: %1$s</string>
<string name="hypott_preventoversmb">to prevent SMB after a hypo rise from fast carbs</string>
<string name="objectives_hint">(check all correct answers)</string>
<plurals name="objective_days">