2020-11-28 10:22:22 +01:00
|
|
|
package com.minres.scviewer.database;
|
|
|
|
|
|
|
|
public class DoubleVal implements IEvent {
|
|
|
|
|
2020-11-28 14:08:34 +01:00
|
|
|
public final double value;
|
2020-11-28 10:22:22 +01:00
|
|
|
|
|
|
|
public DoubleVal(double value) {
|
|
|
|
this.value=value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public EventKind getKind() {
|
|
|
|
return EventKind.SINGLE;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-11-28 14:08:34 +01:00
|
|
|
public WaveformType getType() {
|
|
|
|
return WaveformType.SIGNAL;
|
2020-11-28 10:22:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public IEvent duplicate() throws CloneNotSupportedException {
|
|
|
|
return (IEvent) clone();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|