2016-12-08 15:21:16 +01:00
|
|
|
package info.nightscout.androidaps.interfaces;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by mike on 08.12.2016.
|
|
|
|
*/
|
|
|
|
|
|
|
|
public class PumpDescription {
|
2016-12-27 23:35:50 +01:00
|
|
|
public static final int NONE = 0;
|
2017-05-30 18:10:05 +02:00
|
|
|
public static final int PERCENT = 0x01;
|
|
|
|
public static final int ABSOLUTE = 0x02;
|
2016-12-08 15:21:16 +01:00
|
|
|
|
|
|
|
public boolean isBolusCapable = true;
|
|
|
|
public double bolusStep = 0.1d;
|
|
|
|
|
|
|
|
public boolean isExtendedBolusCapable = true;
|
|
|
|
public double extendedBolusStep = 0.1d;
|
2017-05-30 15:07:44 +02:00
|
|
|
public double extendedBolusDurationStep = 30;
|
|
|
|
public double extendedBolusMaxDuration = 12 * 60;
|
2016-12-08 15:21:16 +01:00
|
|
|
|
|
|
|
public boolean isTempBasalCapable = true;
|
2017-05-30 18:10:05 +02:00
|
|
|
public int tempBasalStyle = PERCENT;
|
|
|
|
|
|
|
|
public int maxTempPercent = 200;
|
|
|
|
public int tempPercentStep = 10;
|
|
|
|
|
|
|
|
public double maxTempAbsolute = 10;
|
|
|
|
public double tempAbsoluteStep = 0.05d;
|
|
|
|
|
|
|
|
public int tempDurationStep = 60;
|
2018-03-01 23:59:44 +01:00
|
|
|
public boolean tempDurationStep15mAllowed = false;
|
|
|
|
public boolean tempDurationStep30mAllowed = false;
|
2017-05-30 18:10:05 +02:00
|
|
|
public int tempMaxDuration = 12 * 60;
|
|
|
|
|
2016-12-08 15:21:16 +01:00
|
|
|
|
|
|
|
public boolean isSetBasalProfileCapable = true;
|
|
|
|
public double basalStep = 0.01d;
|
2016-12-09 11:46:46 +01:00
|
|
|
public double basalMinimumRate = 0.04d;
|
2016-12-08 15:21:16 +01:00
|
|
|
|
|
|
|
public boolean isRefillingCapable = false;
|
2018-01-24 16:44:28 +01:00
|
|
|
|
|
|
|
public boolean storesCarbInfo = true;
|
2018-03-11 16:03:21 +01:00
|
|
|
|
|
|
|
public boolean is30minBasalRatesCapable = false;
|
2016-12-08 15:21:16 +01:00
|
|
|
}
|