public class AnalogFanCompressor extends java.lang.Object implements ValueCompressor
Constructor and Description |
---|
AnalogFanCompressor(double tolerance,
DataType dType) |
Modifier and Type | Method and Description |
---|---|
protected TagValue |
emitPrevious(boolean emitRaw,
boolean isBelow) |
java.util.List<QualifiedValue> |
flush()
Tells the compressor to return any values it can.
|
java.util.List<QualifiedValue> |
putValue(QualifiedValue inValue)
Places a value into the compressor to be processed.
|
protected void |
resetStats() |
void |
setTolerance(double val) |
protected float |
slope(double newValue,
long newTime) |
public AnalogFanCompressor(double tolerance, DataType dType)
public void setTolerance(double val)
protected void resetStats()
public java.util.List<QualifiedValue> putValue(QualifiedValue inValue)
ValueCompressor
putValue
in interface ValueCompressor
protected float slope(double newValue, long newTime)
public java.util.List<QualifiedValue> flush()
ValueCompressor
flush
in interface ValueCompressor
protected TagValue emitPrevious(boolean emitRaw, boolean isBelow)