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

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