public class NumericPointWrapper extends AbstractPointWrapper
context, point| Constructor and Description |
|---|
NumericPointWrapper(IDataPoint point,
WrapperContext context) |
| Modifier and Type | Method and Description |
|---|---|
double |
ago(int periodType) |
double |
ago(int periodType,
int count) |
private AnalogStatistics |
getStats(long from,
long to) |
double |
getValue() |
AnalogStatistics |
past(int periodType) |
AnalogStatistics |
past(int periodType,
int count) |
AnalogStatistics |
prev(int periodType) |
AnalogStatistics |
prev(int periodType,
int count) |
AnalogStatistics |
previous(int periodType) |
AnalogStatistics |
previous(int periodType,
int count) |
java.lang.String |
toString() |
getDay, getDayOfWeek, getDayOfYear, getHelp, getHour, getMillis, getMinute, getMonth, getSecond, getTime, getValueImpl, getYearpublic NumericPointWrapper(IDataPoint point, WrapperContext context)
public double getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic double ago(int periodType)
public double ago(int periodType,
int count)
public AnalogStatistics past(int periodType)
public AnalogStatistics past(int periodType, int count)
public AnalogStatistics prev(int periodType)
public AnalogStatistics prev(int periodType, int count)
public AnalogStatistics previous(int periodType)
public AnalogStatistics previous(int periodType, int count)
private AnalogStatistics getStats(long from, long to)