|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.isti.trinetwatch.params.ParamHistoryVector
Class ParamHistoryVector defines the history vector for station parameters.
| Constructor Summary | |
ParamHistoryVector()
Constructs a history vector. |
|
| Method Summary | |
void |
add(DynamicParamHolder paramHolder,
Station stationObj,
DynamicParameter dParameter,
long timeLastChanged,
long timeLastReceived,
long minTime)
Adds the item to the history. |
java.util.Vector |
getHistoryVector(long startTime,
long endTime)
Returns a new Vector containing 'ValueTimeBlock' objects with timestamps in the specified range. |
boolean |
isHistoryEnabled()
Determines if the history is enabled. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParamHistoryVector()
| Method Detail |
public void add(DynamicParamHolder paramHolder,
Station stationObj,
DynamicParameter dParameter,
long timeLastChanged,
long timeLastReceived,
long minTime)
add in interface ParamHistoryparamHolder - the parameter holder.stationObj - the station object.dParameter - the dynamic parameter.timeLastChanged - the time last changed (seconds since 1/1/1970).timeLastReceived - the time last received (seconds since 1/1/1970).minTime - the minimum time (seconds since 1/1/1970).
public java.util.Vector getHistoryVector(long startTime,
long endTime)
getHistoryVector in interface ParamHistorystartTime - the start time for the range, or 0 for the
beginning of the history.endTime - the end time for the range, or 0 for the end of
the history.
public boolean isHistoryEnabled()
isHistoryEnabled in interface ParamHistory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||