This commit is contained in:
gac-S_Changer
2018-08-10 16:58:08 +02:00
parent 8ee20fa0ca
commit 98965938d2
3 changed files with 142 additions and 141 deletions

View File

@@ -181,8 +181,12 @@ public class Controller {
}
}
public boolean isLocalMode(){
return getWorkingMode().equals("local");
public boolean isManualMode(){
try {
return getMainFrame().eval("is_manual_mode()", true).equals(true);
} catch (Exception ex) {
return false;
}
}
public void imageDetectPucks() throws Context.ContextStateException {