separate config for pumpcontrol
This commit is contained in:
parent
4831eb9193
commit
4bbb77907f
1 changed files with 26 additions and 1 deletions
|
@ -75,8 +75,10 @@ public class SWDefinition {
|
|||
}
|
||||
|
||||
SWDefinition() {
|
||||
if (Config.APS || Config.PUMPCONTROL)
|
||||
if (Config.APS)
|
||||
SWDefinitionFull();
|
||||
else if (Config.PUMPCONTROL)
|
||||
SWDefinitionPumpControl();
|
||||
else if (Config.NSCLIENT)
|
||||
SWDefinitionNSClient();
|
||||
}
|
||||
|
@ -456,6 +458,29 @@ public class SWDefinition {
|
|||
;
|
||||
}
|
||||
|
||||
private void SWDefinitionPumpControl() {
|
||||
// List all the screens here
|
||||
add(screenSetupWizard)
|
||||
.add(screenLanguage)
|
||||
.add(screenEula)
|
||||
.add(screenPermissionBattery)
|
||||
.add(screenPermissionBt)
|
||||
.add(screenPermissionStore)
|
||||
.add(screenImport)
|
||||
.add(screenNsClient)
|
||||
.add(screenAge)
|
||||
.add(screenInsulin)
|
||||
.add(screenBgSource)
|
||||
.add(screenProfile)
|
||||
.add(screenNsProfile)
|
||||
.add(screenLocalProfile)
|
||||
.add(screenSimpleProfile)
|
||||
.add(screenProfileSwitch)
|
||||
.add(screenPump)
|
||||
.add(screenSensitivity)
|
||||
;
|
||||
}
|
||||
|
||||
private void SWDefinitionNSClient() {
|
||||
// List all the screens here
|
||||
add(screenSetupWizard)
|
||||
|
|
Loading…
Reference in a new issue