public interface ChannelAccessControlsFloat extends ChannelAccessGraphicsFloat, ChannelAccessFloatingPointControlsValue<java.lang.Float>
Channel Access values that represents the
DBR_CTRL_FLOAT type. This type
stores single-precision floating-point numbers and provides information about
the alarm status, engineering units, display precision, and alarm, control,
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 |
|---|---|
ChannelAccessControlsFloat |
asReadOnlyValue()
Returns a read-only version of this value.
|
ChannelAccessControlsFloat |
clone()
Creates and returns a copy of this object.
|
float |
getLowerControlLimit()
Returns the lower control limit.
|
float |
getUpperControlLimit()
Returns the upper control limit.
|
void |
setLowerControlLimit(float lowerControlLimit)
Sets the lower control limit.
|
void |
setUpperControlLimit(float upperControlLimit)
Sets the upper control limit.
|
getLowerAlarmLimit, getLowerDisplayLimit, getLowerWarningLimit, getUpperAlarmLimit, getUpperDisplayLimit, getUpperWarningLimit, setLowerAlarmLimit, setLowerDisplayLimit, setLowerWarningLimit, setUpperAlarmLimit, setUpperDisplayLimit, setUpperWarningLimitgetValue, setValuegetPrecision, setPrecisiongetGenericLowerControlLimit, getGenericUpperControlLimitgetGenericLowerAlarmLimit, getGenericLowerDisplayLimit, getGenericLowerWarningLimit, getGenericUpperAlarmLimit, getGenericUpperDisplayLimit, getGenericUpperWarningLimit, getRawUnits, getUnits, setRawUnits, setUnitsgetCharsetgetAlarmSeverity, getAlarmStatus, setAlarmSeverity, setAlarmStatusequals, getGenericValueElement, getType, getValueSize, hashCode, isReadOnly, iterator, toStringfloat getUpperControlLimit()
void setUpperControlLimit(float upperControlLimit)
upperControlLimit - upper control limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).float getLowerControlLimit()
void setLowerControlLimit(float lowerControlLimit)
lowerControlLimit - lower control limit.java.lang.UnsupportedOperationException - if this value is read-only (ChannelAccessValue.isReadOnly() returns
true).ChannelAccessControlsFloat 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 ChannelAccessAlarmFloatasReadOnlyValue in interface ChannelAccessAlarmValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessControlsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessFloatasReadOnlyValue in interface ChannelAccessFloatingPointControlsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessGettableValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessGraphicsFloatasReadOnlyValue in interface ChannelAccessGraphicsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessNumericControlsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessNumericGraphicsValue<java.lang.Float>asReadOnlyValue in interface ChannelAccessValue<java.lang.Float>null).ChannelAccessControlsFloat 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 ChannelAccessAlarmFloatclone in interface ChannelAccessAlarmValue<java.lang.Float>clone in interface ChannelAccessControlsValue<java.lang.Float>clone in interface ChannelAccessFloatclone in interface ChannelAccessFloatingPointControlsValue<java.lang.Float>clone in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Float>clone in interface ChannelAccessGettableValue<java.lang.Float>clone in interface ChannelAccessGraphicsFloatclone in interface ChannelAccessGraphicsValue<java.lang.Float>clone in interface ChannelAccessNumericControlsValue<java.lang.Float>clone in interface ChannelAccessNumericGraphicsValue<java.lang.Float>clone in interface ChannelAccessValue<java.lang.Float>Copyright © 2014–2018 aquenos GmbH. All rights reserved.