public StokerProbe(StokerProbe sp) { super(sp.getID(), sp.getName()); targetTemp = sp.targetTemp; lowerTempAlarm = sp.lowerTempAlarm; upperTempAlarm = sp.upperTempAlarm; alarm = sp.alarm; }
public void update(StokerProbe sp) { super.update((SDevice) sp); targetTemp = sp.getTargetTemp(); lowerTempAlarm = sp.getLowerTempAlarm(); upperTempAlarm = sp.getUpperTempAlarm(); alarm = sp.getAlarmEnabled(); }