@Override
 public void publishUnserialize(DataInputStream stream) {
   // TODO Auto-generated method stub
   super.publishUnserialize(stream);
   try {
     log.unitType = stream.readByte();
     pause = stream.readBoolean();
     log.samplingPeriod = stream.readFloat();
     log.maxValue = stream.readFloat();
     log.minValue = stream.readFloat();
   } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
 @Override
 public void draw() {
   super.draw();
   descriptor.draw(log, front);
 }