Command stubs.
This commit is contained in:
parent
9349662f8e
commit
6b19759a9f
|
@ -12,12 +12,12 @@ import java.util.Map;
|
|||
|
||||
import de.jotomo.ruffyscripter.RuffyScripter;
|
||||
|
||||
public class GetBasalCommand extends BaseCommand {
|
||||
private static final Logger log = LoggerFactory.getLogger(GetBasalCommand.class);
|
||||
public class GetBasalRateProfileCommand extends BaseCommand {
|
||||
private static final Logger log = LoggerFactory.getLogger(GetBasalRateProfileCommand.class);
|
||||
|
||||
private RuffyScripter scripter;
|
||||
|
||||
public GetBasalCommand() {}
|
||||
public GetBasalRateProfileCommand() {}
|
||||
|
||||
@Override
|
||||
public List<String> validateArguments() {
|
||||
|
@ -94,8 +94,8 @@ public class GetBasalCommand extends BaseCommand {
|
|||
// case ERROR:
|
||||
// case AFTER:
|
||||
// scripter.goToMainMenuScreen(MenuType.MAIN_MENU,2000);
|
||||
// synchronized(GetBasalCommand.this) {
|
||||
// GetBasalCommand.this.notify();
|
||||
// synchronized(GetBasalRateProfileCommand.this) {
|
||||
// GetBasalRateProfileCommand.this.notify();
|
||||
// }
|
||||
// break;
|
||||
// }
|
|
@ -0,0 +1,24 @@
|
|||
package de.jotomo.ruffyscripter.commands;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetReservoirLevelCommand extends BaseCommand {
|
||||
@Override
|
||||
public CommandResult execute() {
|
||||
// TODO stub
|
||||
// watch out, level goes into PumpState, which is usually set by RuffyScripter
|
||||
// after a command ran, unless a command has already set it ... I don't like
|
||||
// that, it's too implicit ...
|
||||
|
||||
// also, maybe ditch this command and add a parameter to GetPumpStateCommand to also
|
||||
// read the reservoir level if possible (pump must be in a state to accept commands
|
||||
// (possible on main, stop ...)
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> validateArguments() {
|
||||
// TODO stub
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
package de.jotomo.ruffyscripter.commands;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class SetBasalRateProfileCommand extends BaseCommand {
|
||||
@Override
|
||||
public CommandResult execute() {
|
||||
// TODO stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> validateArguments() {
|
||||
// TODO stub
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue