This commit is contained in:
@@ -400,7 +400,7 @@ public class Controller {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Boolean isRoomTemp() {
|
||||
try {
|
||||
return getMainFrame().eval("is_room_temp()", true).equals(true);
|
||||
@@ -449,6 +449,23 @@ public class Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public Boolean isRoomTempEnabled() {
|
||||
try {
|
||||
return getMainFrame().eval("is_room_temperature_enabled()", true).equals(true);
|
||||
} catch (Exception ex) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public Boolean isBeamlineStatusEnabled() {
|
||||
try {
|
||||
return getMainFrame().eval("is_beamline_status_enabled()", true).equals(true);
|
||||
} catch (Exception ex) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void imageDetectPucks() throws Context.ContextStateException {
|
||||
imageDetectPucks(null, null, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user