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
|
startWriteValue
getInformation, handleListenerChange, notifyData, notifyData, setListener
public DataItemInputCommon(DataItemInformation info)
public DataItemInputCommon(String name)
public NotifyFuture<Variant> readValue() throws InvalidOperationException
DataItem
InvalidOperationException
- 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 DataItemBase
protected Variant getCacheValue()
getCacheValue
in class DataItemBase
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.