Ejemplo n.º 1
0
 private void parseControlling() {
   controlProps = resident.getControlling();
   lowIn = SYSTools.parseDecimal(controlProps.getProperty(ResidentTools.KEY_LOWIN));
   targetIn = SYSTools.parseDecimal(controlProps.getProperty(ResidentTools.KEY_TARGETIN));
   highIn = SYSTools.parseDecimal(controlProps.getProperty(ResidentTools.KEY_HIGHIN));
 }
Ejemplo n.º 2
0
 @Override
 public void switchResident(Resident res) {
   this.resident = EntityTools.find(Resident.class, res.getRID());
   GUITools.setResidentDisplay(resident);
   reloadDisplay();
 }