|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParamHistory
Interface ParamHistory defines the history for station parameters.
Method Summary | |
---|---|
void |
add(DynamicParamHolder paramHolder,
Station stationObj,
DynamicParameter dParameter,
long timeLastChanged,
long timeLastReceived,
long minTime)
Adds the item to the history. |
void |
closeHistory()
Closes this history, releasing resources allocated for it. |
java.util.Vector |
getHistoryVector(long startTime,
long endTime)
Returns a new Vector containing 'ValueTimeBlock' objects with timestamps in the specified range. |
ValueTimeBlock |
getNewestHistoryItem()
Returns the newest item in the history. |
boolean |
isHistoryEnabled()
Determines if the history is enabled. |
ArchivableData |
setupArchiveManager(DynamicParamHolder paramHolder,
Station stationObj,
DynamicParameter dParameter,
long timeLastReceived)
Sets up the archive manager for this table. |
Method Detail |
---|
void add(DynamicParamHolder paramHolder, Station stationObj, DynamicParameter dParameter, long timeLastChanged, long timeLastReceived, long minTime)
paramHolder
- 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).ArchivableData setupArchiveManager(DynamicParamHolder paramHolder, Station stationObj, DynamicParameter dParameter, long timeLastReceived)
paramHolder
- the parameter holder.stationObj
- the station object.dParameter
- the dynamic parameter.timeLastReceived
- the time last received (seconds since 1/1/1970).
java.util.Vector getHistoryVector(long startTime, long endTime)
startTime
- 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.
ValueTimeBlock getNewestHistoryItem()
boolean isHistoryEnabled()
void closeHistory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |