Exemplo n.º 1
0
 public StokerProbe(StokerProbe sp) {
   super(sp.getID(), sp.getName());
   targetTemp = sp.targetTemp;
   lowerTempAlarm = sp.lowerTempAlarm;
   upperTempAlarm = sp.upperTempAlarm;
   alarm = sp.alarm;
 }
Exemplo n.º 2
0
  public void update(StokerProbe sp) {
    super.update((SDevice) sp);
    targetTemp = sp.getTargetTemp();

    lowerTempAlarm = sp.getLowerTempAlarm();
    upperTempAlarm = sp.getUpperTempAlarm();
    alarm = sp.getAlarmEnabled();
  }