public class DataItemInputChained extends DataItemBaseChained
| Modifier and Type | Field and Description |
|---|---|
protected Variant |
primaryValue |
protected Variant |
secondaryValue |
chain, executor, primaryAttributes, secondaryAttributeslistener| Constructor and Description |
|---|
DataItemInputChained(DataItemInformation dataItemInformation,
boolean autoTimestamp,
java.util.concurrent.Executor executor) |
DataItemInputChained(DataItemInformation dataItemInformation,
java.util.concurrent.Executor executor) |
DataItemInputChained(java.lang.String id,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,Variant> |
getCacheAttributes() |
protected Variant |
getCacheValue() |
protected void |
process() |
|
readValue()
The read operation of a data item.
|
|
startWriteValue(Variant value,
OperationParameters operationParameters)
The write operation of a data item.
|
void |
updateData(Variant value,
java.util.Map<java.lang.String,Variant> attributes,
AttributeMode mode)
Update the item data
|
addChainElement, addChainElement, getAttributes, getChainCopy, handleUnhandledAttributes, processSetAttributes, removeChainElement, setChain, startSetAttributesgetInformation, handleListenerChange, notifyData, notifyData, setListenerprotected Variant primaryValue
protected Variant secondaryValue
public DataItemInputChained(DataItemInformation dataItemInformation, java.util.concurrent.Executor executor)
public DataItemInputChained(DataItemInformation dataItemInformation, boolean autoTimestamp, java.util.concurrent.Executor executor)
public DataItemInputChained(java.lang.String id,
java.util.concurrent.Executor executor)
public void updateData(Variant value,
java.util.Map<java.lang.String,Variant> attributes,
AttributeMode mode)
value - the new value, or null if the value did not
changeattributes - the new attributes, null if no attribute have
changedmode - The attribute change mode, null will use the
default ( AttributeMode.UPDATE )protected void process()
process in class DataItemBaseChainedpublicreadValue() throws InvalidOperationException
DataItemInvalidOperationException - Raised if "read" is not a valid operation for this itempublicstartWriteValue(Variant value, OperationParameters operationParameters)
DataItemvalue - The value to write to the subsystemprotected java.util.Map<java.lang.String,Variant> getCacheAttributes()
getCacheAttributes in class DataItemBaseprotected Variant getCacheValue()
getCacheValue in class DataItemBase
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0