|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataStorage
Provides an interface to access measurement and control data
Method Summary | |
---|---|
void |
addListener(DataStorageListener listener)
|
boolean |
addMeasurement(Measurement msr)
|
ChannelConfiguration |
getConfiguration()
|
Value |
getCurrentValue()
|
ChannelIdentifier |
getDataId()
|
java.lang.String |
getLabel()
|
long |
getLastUpdateTime()
|
java.lang.Double |
getLowerLimit()
|
State |
getState()
|
java.lang.Double |
getUpperLimit()
|
Value |
getValue(long timestamp)
Get a Value object for the specified timestamp. |
java.util.List<Value> |
getValues(long startTime)
Get a list of Value objects (time serie). |
java.util.List<Value> |
getValues(long startTime,
long endTime)
Get a list of Value objects (time serie). |
void |
setState(State state)
|
void |
setValue(double value)
|
Method Detail |
---|
ChannelIdentifier getDataId()
java.lang.String getLabel()
Value getCurrentValue()
Value getValue(long timestamp)
timestamp
-
void setValue(double value)
java.util.List<Value> getValues(long startTime)
startTime
-
java.util.List<Value> getValues(long startTime, long endTime)
startTime
- endTime
-
long getLastUpdateTime()
State getState()
void setState(State state)
java.lang.Double getUpperLimit()
java.lang.Double getLowerLimit()
ChannelConfiguration getConfiguration()
void addListener(DataStorageListener listener)
boolean addMeasurement(Measurement msr)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |