コード例 #1
0
 @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();
   }
 }
コード例 #2
0
 @Override
 public void draw() {
   super.draw();
   descriptor.draw(log, front);
 }