Fix TBR maximum for Animas Vibe
Animas actually supports 300% TBR, but uses a different way of displaying it: 0% is the same as 100% in AAPS. -100% (OFF) is 0% in AAPS 200% therefore is 300% in AAPS. Maybe there should be a better indicator for this in AAPS, but for now this fix gives better control of the TBR values, if using the open loop.
This commit is contained in:
parent
58b3f96c9e
commit
84e41122fc
|
@ -56,7 +56,7 @@ public enum PumpType {
|
||||||
AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus?
|
AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus?
|
||||||
new DoseSettings(0.05d, 30, 12*60, 0.05d), //
|
new DoseSettings(0.05d, 30, 12*60, 0.05d), //
|
||||||
PumpTempBasalType.Percent, //
|
PumpTempBasalType.Percent, //
|
||||||
new DoseSettings(10, 30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, //
|
new DoseSettings(10, 30, 24*60, 0d, 300d), PumpCapability.BasalRate_Duration30minAllowed, //
|
||||||
0.025d, 5d, 0d, null, PumpCapability.VirtualPumpCapabilities), //
|
0.025d, 5d, 0d, null, PumpCapability.VirtualPumpCapabilities), //
|
||||||
|
|
||||||
AnimasPing("Animas Ping", AnimasVibe),
|
AnimasPing("Animas Ping", AnimasVibe),
|
||||||
|
|
Loading…
Reference in a new issue