more time
This commit is contained in:
parent
a7165497ea
commit
3497296b6c
2 changed files with 5 additions and 2 deletions
|
@ -336,7 +336,7 @@ public class RuffyScripter {
|
|||
// if the user just pressed a button on the combo, the screen needs to time first
|
||||
// before a connection is possible. In that case, it takes 45s before the
|
||||
// connection comes up.
|
||||
waitForMenuUpdate(90);
|
||||
waitForMenuUpdate(180);
|
||||
} catch (RemoteException e) {
|
||||
throw new CommandException().exception(e).message("Unexpected exception while initiating/restoring pump connection");
|
||||
}
|
||||
|
@ -387,7 +387,7 @@ public class RuffyScripter {
|
|||
* Wait until the menu update is in
|
||||
*/
|
||||
public void waitForMenuUpdate() {
|
||||
waitForMenuUpdate(60);
|
||||
waitForMenuUpdate(120);
|
||||
}
|
||||
|
||||
public void waitForMenuUpdate(long timeoutInSeconds) {
|
||||
|
|
|
@ -171,9 +171,12 @@ public class SetTbrCommand implements Command {
|
|||
// Pressing up from 23:59 works to go to 24:00.
|
||||
scripter.verifyMenuIsDisplayed(MenuType.TBR_DURATION);
|
||||
scripter.pressUpKey();
|
||||
SystemClock.sleep(300);
|
||||
scripter.waitForMenuUpdate();
|
||||
currentDuration = readDisplayedTbrDuration(scripter);
|
||||
}
|
||||
SystemClock.sleep(300);
|
||||
currentDuration = readDisplayedTbrDuration(scripter);
|
||||
log.debug("Current TBR duration: " + currentDuration);
|
||||
long durationChange = duration - currentDuration;
|
||||
long durationSteps = durationChange / 15;
|
||||
|
|
Loading…
Reference in a new issue