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-09 21:30:34 +01:00
|
|
|
public static final int PERCENT = 1;
|
|
|
|
public static final int ABSOLUTE = 2;
|
|
|
|
public static final int EXTENDED = 4;
|
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;
|
|
|
|
|
|
|
|
public boolean isTempBasalCapable = true;
|
|
|
|
public int lowTempBasalStyle = PERCENT;
|
|
|
|
public int highTempBasalStyle = PERCENT;
|
2016-12-09 21:30:34 +01:00
|
|
|
public double maxHighTempPercent = 200;
|
|
|
|
public double maxHighTempAbsolute = 0; // zero = no limit
|
|
|
|
public double lowTempPercentStep = 10;
|
|
|
|
public double lowTempAbsoluteStep = 0.05d;
|
|
|
|
public int lowTempPercentDuration = 30;
|
|
|
|
public int lowTempAbsoluteDuration = 30;
|
|
|
|
public double highTempPercentStep = 10;
|
|
|
|
public double highTempAbsoluteStep = 0.05d;
|
|
|
|
public int highTempPercentDuration = 30;
|
|
|
|
public int highTempAbsoluteDuration = 30;
|
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;
|
|
|
|
}
|