SCViewer/plugins/com.minres.scviewer.database/src/com/minres/scviewer/database/DoubleVal.java

27 lines
428 B
Java
Raw Normal View History

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();
}
}