6b6d252173
* Some UI rework * Start removing (retry) logic from ruffyscripter to ComboPlugin * Cleanups all over * Remove TDD stuff, this can be done independently of a pump * New SPI/API methods confirmAlert, readReservoirLevelAndLastBolus * Add warning and error codes from Combo manual * Rework commands to just execute an action (verification will be in ComboPlugin eventually, together with retry logic) * Rework commands to update state in field as command progresses rather than returnin/throwing. * Initial version reading bolus and error history (no DB sync yet).
15 lines
532 B
Java
15 lines
532 B
Java
package de.jotomo.ruffy.spi;
|
|
|
|
public class PumpWarningCodes {
|
|
public static final int CARTRIDGE_LOW = 1;
|
|
public static final int BATTERY_LOW = 2;
|
|
public static final int REVIEW_TIME = 3;
|
|
public static final int CALL_FOR_UPDATE = 4;
|
|
public static final int PUMP_TIMER = 5;
|
|
public static final int TBR_CANCELLED = 6;
|
|
public static final int TBR_OVER = 7;
|
|
public static final int BOLUS_CANCELLED = 8;
|
|
public static final int LOANTIME_WARNING = 9;
|
|
public static final int BLUETOOTH_FAULT = 10;
|
|
}
|