public abstract class SignalAttrSet extends java.lang.Object implements DataListener
Ported from XAL on Jul 15, 2014.
· Jonathan M. Freed
| Modifier and Type | Field and Description |
|---|---|
SignalAttrs |
dia
Horizontal wire signal properties
|
SignalAttrs |
hor
Horizontal wire signal properties
|
SignalAttrs |
ver
Horizontal wire signal properties
|
| Modifier | Constructor and Description |
|---|---|
protected |
SignalAttrSet()
Create a new
ProfileAttrSet object from the annotation
information in the class type. |
protected |
SignalAttrSet(AcceleratorNode ws)
Create a new, initialized
ProfileAttrSet object. |
| Modifier and Type | Method and Description |
|---|---|
void |
average(SignalAttrSet setAvg,
double dblWtFac)
Averages all the signal attributes in the signal attributes set using the given weighting
factor.
|
java.lang.String |
dataLabel()
Label used for parameter set identification.
|
java.util.List<ScadaFieldDescriptor> |
getFieldDescriptors()
Returns the set of all SCADA field descriptors describing the
data acquisition channels.
|
SignalAttrs |
getSignalAttrs(ProfileDevice.ANGLE angle)
Returns the signal attributes of this set corresponding to the give
profile angle.
|
void |
setSignalAttrs(ProfileDevice.ANGLE angle,
SignalAttrs attrSignal)
Sets the signal attribute for the given measurement angle to the given signal
attribute object.
|
void |
update(DataAdaptor daptSrc)
Load the contents of this signal traits set
from the persistent store behind the
DataListener interface. |
void |
write(DataAdaptor adaptor)
Write out the contents of this signal traits
set to the given data store.
|
public SignalAttrs hor
public SignalAttrs ver
public SignalAttrs dia
protected SignalAttrSet()
ProfileAttrSet object from the annotation
information in the class type.protected SignalAttrSet(AcceleratorNode ws) throws ConnectionException, GetException
ProfileAttrSet object.arrPfdHor - set of process variable descriptors for the horizonal signalarrPfdVer - set of process variable descriptors for the vertical signalarrPfdDia - set of process variable descriptors for the diagonal signalws - hardware device containing initialization data.ConnectionException - unable to connect to a parameter read back channelGetException - general CA GET exception while fetch field valuepublic java.util.List<ScadaFieldDescriptor> getFieldDescriptors()
ASignal.ASet the Signal attributes
will be connected in the zero-argument constructor.public void setSignalAttrs(ProfileDevice.ANGLE angle, SignalAttrs attrSignal)
angle - measurement angle of the modified signal attributesattrSignal - new signal attributes for the given measurement anglepublic SignalAttrs getSignalAttrs(ProfileDevice.ANGLE angle)
angle - measurement angle of the desired signal propertiespublic void average(SignalAttrSet setAvg, double dblWtFac) throws java.lang.IllegalArgumentException
SignalSignalAttrs#average(Signal, double) for additional information.setAvg - signal set to average into this onedblWtFac - averaging magnitude λ ∈ [0,1]java.lang.IllegalArgumentException - the provided signal is not the same size as this signalpublic java.lang.String dataLabel()
dataLabel in interface DataListenergov.sns.tools.data.DataListener#dataLabel()public void update(DataAdaptor daptSrc)
DataListener interface.update in interface DataListenerdaptSrc - data sourcegov.sns.tools.data.DataListener#update(gov.sns.tools.data.DataAdaptor)public void write(DataAdaptor adaptor)
write in interface DataListeneradaptor - data store exposing DataListener interfacegov.sns.tools.data.DataListener#write(gov.sns.tools.data.DataAdaptor)