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)); }
@Override public void switchResident(Resident res) { this.resident = EntityTools.find(Resident.class, res.getRID()); GUITools.setResidentDisplay(resident); reloadDisplay(); }