public class DataItemInputCommon extends DataItemInput
listener| Constructor and Description |
|---|
DataItemInputCommon(DataItemInformation info) |
DataItemInputCommon(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Variant> |
getAttributes() |
protected Map<String,Variant> |
getCacheAttributes() |
protected Variant |
getCacheValue() |
NotifyFuture<Variant> |
readValue()
The read operation of a data item.
|
NotifyFuture<WriteAttributeResults> |
startSetAttributes(Map<String,Variant> attributes,
OperationParameters operationParameters)
Perform requests from the hive to update the items attributes
This method actually. |
void |
updateData(Variant value,
Map<String,Variant> attributes,
AttributeMode mode)
Update the value of this data item
|
startWriteValuegetInformation, handleListenerChange, notifyData, notifyData, setListenerpublic DataItemInputCommon(DataItemInformation info)
public DataItemInputCommon(String name)
public NotifyFuture<Variant> readValue() throws InvalidOperationException
DataItemInvalidOperationException - Raised if "read" is not a valid operation for this itempublic NotifyFuture<WriteAttributeResults> startSetAttributes(Map<String,Variant> attributes, OperationParameters operationParameters)
#getAttributeManager() to get the
attribute manager which allows you so tweak the
items attributes from the side of the item implementation.attributes - attributes to setpublic void updateData(Variant value, Map<String,Variant> attributes, AttributeMode mode)
value - the new valueprotected Map<String,Variant> getCacheAttributes()
getCacheAttributes in class DataItemBaseprotected Variant getCacheValue()
getCacheValue in class DataItemBaseCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.