public class DataItemInputCommon extends DataItemInput
listener| Constructor and Description |
|---|
DataItemInputCommon(DataItemInformation info) |
DataItemInputCommon(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.eclipse.scada.core.Variant> |
getAttributes() |
protected Map<String,org.eclipse.scada.core.Variant> |
getCacheAttributes() |
protected org.eclipse.scada.core.Variant |
getCacheValue() |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.core.Variant> |
readValue()
The read operation of a data item.
|
org.eclipse.scada.utils.concurrent.NotifyFuture<WriteAttributeResults> |
startSetAttributes(Map<String,org.eclipse.scada.core.Variant> attributes,
OperationParameters operationParameters)
Perform requests from the hive to update the items attributes
This method actually. |
void |
updateData(org.eclipse.scada.core.Variant value,
Map<String,org.eclipse.scada.core.Variant> attributes,
AttributeMode mode)
Update the value of this data item
|
startWriteValuegetInformation, handleListenerChange, notifyData, notifyData, setListenerpublic DataItemInputCommon(DataItemInformation info)
public DataItemInputCommon(String name)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.core.Variant> readValue()
throws org.eclipse.scada.core.InvalidOperationException
DataItemorg.eclipse.scada.core.InvalidOperationException - Raised if "read" is not a valid operation for this itempublic org.eclipse.scada.utils.concurrent.NotifyFuture<WriteAttributeResults> startSetAttributes(Map<String,org.eclipse.scada.core.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(org.eclipse.scada.core.Variant value,
Map<String,org.eclipse.scada.core.Variant> attributes,
AttributeMode mode)
value - the new valueprotected Map<String,org.eclipse.scada.core.Variant> getCacheAttributes()
getCacheAttributes in class DataItemBaseprotected org.eclipse.scada.core.Variant getCacheValue()
getCacheValue in class DataItemBase