more exams

This commit is contained in:
Milos Kozak 2019-09-07 19:27:31 +02:00
parent c0d65df330
commit 9b15d9da89
3 changed files with 26 additions and 2 deletions

View file

@ -167,12 +167,25 @@ public class Objective2 extends Objective {
); );
tasks.add(new ExamTask(R.string.nsprofileview_ic_label, R.string.whatistrue,"ic") tasks.add(new ExamTask(R.string.nsprofileview_ic_label, R.string.whatistrue,"ic")
.option(new Option(R.string.ic_increasingvalue, true)) .option(new Option(R.string.ic_increasingvalue, true))
.option(new Option(R.string.id_decreasingvalue, false)) .option(new Option(R.string.ic_decreasingvalue, false))
.option(new Option(R.string.ic_noeffect, false)) .option(new Option(R.string.ic_noeffect, false))
.option(new Option(R.string.ic_different, false)) .option(new Option(R.string.ic_different, false))
.option(new Option(R.string.ic_meaning, false)) .option(new Option(R.string.ic_meaning, false))
.hint(new Hint(R.string.ic_hint1)) .hint(new Hint(R.string.ic_hint1))
); );
tasks.add(new ExamTask(R.string.profileswitch, R.string.profileswitch_pctwillchange,"profileswitch")
.option(new Option(R.string.profileswitch_basalhigher, false))
.option(new Option(R.string.profileswitch_basallower, true))
.option(new Option(R.string.profileswitch_ichigher, true))
.option(new Option(R.string.profileswitch_iclower, false))
.option(new Option(R.string.profileswitch_isfhigher, true))
.option(new Option(R.string.profileswitch_isflower, false))
.option(new Option(R.string.profileswitch_overall, true))
.option(new Option(R.string.profileswitch_targethigher, false))
.option(new Option(R.string.profileswitch_targetlower, false))
.option(new Option(R.string.profileswitch_targetbottom, false))
.hint(new Hint(R.string.ic_hint1))
);
for (Task task : tasks) for (Task task : tasks)
Collections.shuffle(((ExamTask)task).options); Collections.shuffle(((ExamTask)task).options);

View file

@ -124,7 +124,7 @@
<string name="isf_hint1">https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#insulin-sensitivity-factor-isf-mmol-l-u-or-mg-dl-u</string> <string name="isf_hint1">https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#insulin-sensitivity-factor-isf-mmol-l-u-or-mg-dl-u</string>
<string name="isf_hint2">https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html</string> <string name="isf_hint2">https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html</string>
<string name="ic_increasingvalue">Increasing IC value will lead to giving less insulin for the same amount of carbs</string> <string name="ic_increasingvalue">Increasing IC value will lead to giving less insulin for the same amount of carbs</string>
<string name="id_decreasingvalue">Decreasing IC value will lead to giving less insulin for the same amount of carbs</string> <string name="ic_decreasingvalue">Decreasing IC value will lead to giving less insulin for the same amount of carbs</string>
<string name="ic_noeffect">Assume you have no active carbs. Changing IC will lead to different amount of insuling to correct your glycemia</string> <string name="ic_noeffect">Assume you have no active carbs. Changing IC will lead to different amount of insuling to correct your glycemia</string>
<string name="ic_different">IC will be different if you count bread unit as 10g or 12g</string> <string name="ic_different">IC will be different if you count bread unit as 10g or 12g</string>
<string name="ic_meaning">IC meaning is: How much bread units is covered by 1U of insulin</string> <string name="ic_meaning">IC meaning is: How much bread units is covered by 1U of insulin</string>

View file

@ -1639,6 +1639,17 @@
<string name="requestcode">Request code: %1$s</string> <string name="requestcode">Request code: %1$s</string>
<string name="objectives_hint">(check all correct answers)</string> <string name="objectives_hint">(check all correct answers)</string>
<string name="objectives_hint2">https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#what-emergency-equipment-is-recommended-to-take-with-me</string> <string name="objectives_hint2">https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#what-emergency-equipment-is-recommended-to-take-with-me</string>
<string name="profileswitch_pctwillchange">By specifying 90% in profile switch</string>
<string name="profileswitch_basalhigher">Basals will be 10% higher</string>
<string name="profileswitch_basallower">Basals will be 10% lower</string>
<string name="profileswitch_ichigher">IC value will be 10% higher</string>
<string name="profileswitch_iclower">IC value will be 10% lower</string>
<string name="profileswitch_isfhigher">ISF value will be 10% higher</string>
<string name="profileswitch_isflower">ISF value will be 10% lower</string>
<string name="profileswitch_overall">You will get 10% less insulin in total</string>
<string name="profileswitch_targethigher">Target wiil be 10% higher</string>
<string name="profileswitch_targetlower">Target will be 10% lower</string>
<string name="profileswitch_targetbottom">Only bottom target will be 10% lower</string>
<plurals name="objective_days"> <plurals name="objective_days">
<item quantity="one">%1$d day</item> <item quantity="one">%1$d day</item>