public class SymbolData extends Object
All items that are registered for one symbol will provide the data to the
symbols SymbolData instance. The information can be accessed by calling
methods like getPrimaryValue(String)
or getValue(String)
.
If the item was registered using
SymbolContext.registerItem(String, String, String, boolean, boolean)
with
ignoreSummary
set to true
then the value of this dataitem
will not be considered for the summary state.
Constructor and Description |
---|
SymbolData(SymbolController symbolController) |
Modifier and Type | Method and Description |
---|---|
Variant |
getAttributeValue(String name,
String attributeName) |
Variant |
getPrimaryValue(String name) |
SummaryInformation |
getSummary() |
DataItemValue |
getValue(String name) |
Map<String,DataItemValue> |
getValues() |
boolean |
isAckRequired(String name) |
boolean |
isAlarm(String name) |
boolean |
isAttributeWithDefault(String name,
String attributeName,
boolean defaultValue) |
boolean |
isBlocked(String name) |
boolean |
isError(String name) |
boolean |
isManual(String name) |
boolean |
isValid(String name) |
public SymbolData(SymbolController symbolController)
public Map<String,DataItemValue> getValues()
public DataItemValue getValue(String name)
public boolean isError(String name)
public boolean isAlarm(String name)
public boolean isManual(String name)
public boolean isBlocked(String name)
public boolean isAckRequired(String name)
public boolean isValid(String name)
public boolean isAttributeWithDefault(String name, String attributeName, boolean defaultValue)
public SummaryInformation getSummary()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.