public class SimpleObjectExporter<T> extends Object
| Constructor and Description |
|---|
SimpleObjectExporter(Class<? extends T> objectClass,
ItemFactory factory,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(T value)
Set the current value with default timestamp handling
|
void |
setValue(T value,
boolean forceTimestamp)
Set the current value and apply the current timestamp to all values
|
public SimpleObjectExporter(Class<? extends T> objectClass, ItemFactory factory, String prefix)
public void setValue(T value)
value - the new value to setpublic void setValue(T value, boolean forceTimestamp)
All values will receive exactly the same timestamp
value - the new valueforceTimestamp - the flag whether to force a timestamp update for all valuesCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.