add type of menu to MenuType (main or sub menu)
This commit is contained in:
parent
6981276cab
commit
763cc23939
1 changed files with 43 additions and 34 deletions
|
@ -5,38 +5,47 @@ package org.monkey.d.ruffy.ruffy.driver.display;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public enum MenuType {
|
public enum MenuType {
|
||||||
MAIN_MENU,
|
MAIN_MENU(true),
|
||||||
STOP_MENU,
|
STOP_MENU(true),
|
||||||
BOLUS_MENU,
|
BOLUS_MENU(true),
|
||||||
BOLUS_ENTER,
|
BOLUS_ENTER(false),
|
||||||
EXTENDED_BOLUS_MENU,
|
EXTENDED_BOLUS_MENU(true),
|
||||||
BOLUS_DURATION,
|
BOLUS_DURATION(false),
|
||||||
MULTIWAVE_BOLUS_MENU,
|
MULTIWAVE_BOLUS_MENU(true),
|
||||||
IMMEDIATE_BOLUS,
|
IMMEDIATE_BOLUS(false),
|
||||||
TBR_MENU,
|
TBR_MENU(true),
|
||||||
MY_DATA_MENU,
|
MY_DATA_MENU(true),
|
||||||
BASAL_MENU,
|
BASAL_MENU(true),
|
||||||
BASAL_1_MENU,
|
BASAL_1_MENU(true),
|
||||||
BASAL_2_MENU,
|
BASAL_2_MENU(true),
|
||||||
BASAL_3_MENU,
|
BASAL_3_MENU(true),
|
||||||
BASAL_4_MENU,
|
BASAL_4_MENU(true),
|
||||||
BASAL_5_MENU,
|
BASAL_5_MENU(true),
|
||||||
DATE_AND_TIME_MENU,
|
DATE_AND_TIME_MENU(true),
|
||||||
ALARM_MENU,
|
ALARM_MENU(true),
|
||||||
MENU_SETTINGS_MENU,
|
MENU_SETTINGS_MENU(true),
|
||||||
BLUETOOTH_MENU,
|
BLUETOOTH_MENU(true),
|
||||||
THERAPY_MENU,
|
THERAPY_MENU(true),
|
||||||
PUMP_MENU,
|
PUMP_MENU(true),
|
||||||
QUICK_INFO,
|
QUICK_INFO(false),
|
||||||
BOLUS_DATA,
|
BOLUS_DATA(false),
|
||||||
DAILY_DATA,
|
DAILY_DATA(false),
|
||||||
TBR_DATA,
|
TBR_DATA(false),
|
||||||
ERROR_DATA,
|
ERROR_DATA(false),
|
||||||
TBR_SET,
|
TBR_SET(false),
|
||||||
TBR_DURATION,
|
TBR_DURATION(false),
|
||||||
STOP,
|
STOP(false),
|
||||||
START_MENU,
|
START_MENU(false),
|
||||||
BASAL_TOTAL,
|
BASAL_TOTAL(false),
|
||||||
BASAL_SET,
|
BASAL_SET(false),
|
||||||
WARNING_OR_ERROR,
|
WARNING_OR_ERROR(false),;
|
||||||
|
|
||||||
|
private boolean maintype = false;
|
||||||
|
MenuType(boolean b) {
|
||||||
|
maintype=b;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isMaintype() {
|
||||||
|
return maintype;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue