public interface ChannelAccessGraphicsDouble extends ChannelAccessAlarmDouble, ChannelAccessFloatingPointGraphicsValue<java.lang.Double>
Channel Access values that stores double-precision floating-point numbers and provides information about the alarm status, engineering units, display precision, and alarm and display limits.
This interface should not be implemented by user-defined classes. Code that
wants to create an instance implementing this interface should use the
methods provided by ChannelAccessValueFactory instead.
| Modifier and Type | Method and Description |
|---|---|
ChannelAccessGraphicsDouble |
asReadOnlyValue()
Returns a read-only version of this value.
|
ChannelAccessGraphicsDouble |
clone()
Creates and returns a copy of this object.
|
double |
getLowerAlarmLimit()
Returns the lower alarm limit.
|
double |
getLowerDisplayLimit()
Returns the lower display limit.
|
double |
getLowerWarningLimit()
Returns the lower warning limit.
|
double |
getUpperAlarmLimit()
Returns the upper alarm limit.
|
double |
getUpperDisplayLimit()
Returns the upper display limit.
|
double |
getUpperWarningLimit()
Returns the upper warning limit.
|
void |
setLowerAlarmLimit(double lowerAlarmLimit)
Sets the lower alarm limit.
|
void |
setLowerDisplayLimit(double lowerDisplayLimit)
Sets the lower display limit.
|
void |
setLowerWarningLimit(double lowerWarningLimit)
Sets the lower warning limit.
|
void |
setUpperAlarmLimit(double upperAlarmLimit)
Sets the upper alarm limit.
|
void |
setUpperDisplayLimit(double upperDisplayLimit)
Sets the upper display limit.
|
void |
setUpperWarningLimit(double upperWarningLimit)
Sets the upper warning limit.
|
getValue, setValuegetPrecision, setPrecisiongetGenericLowerAlarmLimit, getGenericLowerDisplayLimit, getGenericLowerWarningLimit, getGenericUpperAlarmLimit, getGenericUpperDisplayLimit, getGenericUpperWarningLimit, getRawUnits, getUnits, setRawUnits, setUnitsgetCharsetgetAlarmSeverity, getAlarmStatus, setAlarmSeverity, setAlarmStatusequals, getGenericValueElement, getType, getValueSize, hashCode, isReadOnly, toStringdouble getUpperDisplayLimit()
void setUpperDisplayLimit(double upperDisplayLimit)
upperDisplayLimit - display limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).double getLowerDisplayLimit()
void setLowerDisplayLimit(double lowerDisplayLimit)
lowerDisplayLimit - lower display limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).double getUpperAlarmLimit()
void setUpperAlarmLimit(double upperAlarmLimit)
upperAlarmLimit - upper alarm limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).double getUpperWarningLimit()
void setUpperWarningLimit(double upperWarningLimit)
upperWarningLimit - upper warning limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).double getLowerWarningLimit()
void setLowerWarningLimit(double lowerWarningLimit)
lowerWarningLimit - lower warning limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).double getLowerAlarmLimit()
void setLowerAlarmLimit(double lowerAlarmLimit)
lowerAlarmLimit - lower alarm limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).ChannelAccessGraphicsDouble asReadOnlyValue()
Returns a read-only version of this value. If the value is read-only, this value is returned. Otherwise, a wrapped version of this value, that does not allow modifications is returned.
Please note that the read-only value is not a copy of this value, but just a wrapper around it. This means, that modifications of the wrapped value will result in modifications of the read-only value. Therefore it is bad practice to modify a value that has been used as the base for a read-only value, because code that still has a reference to the read-only value might not expect this change and thus fail unexpectedly.
asReadOnlyValue in interface ChannelAccessAlarmDoubleasReadOnlyValue in interface ChannelAccessAlarmValue<java.lang.Double>asReadOnlyValue in interface ChannelAccessDoubleasReadOnlyValue in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Double>asReadOnlyValue in interface ChannelAccessGettableValue<java.lang.Double>asReadOnlyValue in interface ChannelAccessGraphicsValue<java.lang.Double>asReadOnlyValue in interface ChannelAccessNumericGraphicsValue<java.lang.Double>asReadOnlyValue in interface ChannelAccessValue<java.lang.Double>null).ChannelAccessGraphicsDouble clone()
Creates and returns a copy of this object. The object returned is completely independent from this object. This means that modifications to this object will not affect the returned object and vice-versa.
The object returned is guaranteed to be completely identical to this
object, including its type. This means that
x.clone().equals(x) and
x.clone().getClass() == x.getClass() are always
true.
The returned value is guaranteed to allow write access, even if this value is read-only. This means that cloning a read-only value is a good way to get a writable copy.
clone in interface ChannelAccessAlarmDoubleclone in interface ChannelAccessAlarmValue<java.lang.Double>clone in interface ChannelAccessDoubleclone in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Double>clone in interface ChannelAccessGettableValue<java.lang.Double>clone in interface ChannelAccessGraphicsValue<java.lang.Double>clone in interface ChannelAccessNumericGraphicsValue<java.lang.Double>clone in interface ChannelAccessValue<java.lang.Double>Copyright © 2014–2018 aquenos GmbH. All rights reserved.