Class Controller
java.lang.Object
|
+--Controller
- public class Controller
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RUNNING
public static final int RUNNING
WARNING
public static final int WARNING
ERROR
public static final int ERROR
Controller
public Controller()
startClock
public static void startClock()
stopClock
public static void stopClock()
getClockTime
public static int getClockTime()
startClockBlocking
public static void startClockBlocking(int bloodTest,
int hardwareTest,
int alarmTest)
startClock
public static void startClock(int bloodTest,
int hardwareTest,
int alarmTest)
changeState
public static void changeState(int state)
SetDose
public static void SetDose(int dose)
resetCumulativeDose
public static void resetCumulativeDose()
updateClock
public static void updateClock(int seconds)
insulinReplaced
public static void insulinReplaced()
manualButtonPressed
public static void manualButtonPressed(boolean pressed)
setDeliveryWorking
public static void setDeliveryWorking(boolean working)
isDeliveryWorking
public static boolean isDeliveryWorking()
bigReinitHack
public static void bigReinitHack()
- This is
very poor programming. Not object oriented at all. Don't do
that.