public final class JackieVDoubleArray extends JackieVNumberArray<ChannelAccessControlsDouble,ChannelAccessTimeDouble> implements org.diirt.vtype.VDoubleArray
VDoubleArray
implementation that is backed by a
ChannelAccessControlsDouble
and ChannelAccessTimeDouble
.controlsValue, honorZeroPrecision
disconnectTime, scalar, timeValue
Constructor and Description |
---|
JackieVDoubleArray(ChannelAccessControlsDouble controlsValue,
ChannelAccessTimeDouble timeValue,
java.time.Instant disconnectTime,
boolean honorZeroPrecision)
Creates a value backed by the specified
controlsValue and
timeValue . |
Modifier and Type | Method and Description |
---|---|
org.diirt.util.array.ListDouble |
getData() |
java.lang.String |
toString() |
getDimensionDisplay, getSizes
equals, getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit, hashCode
getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, isTimeValid
public JackieVDoubleArray(ChannelAccessControlsDouble controlsValue, ChannelAccessTimeDouble timeValue, java.time.Instant disconnectTime, boolean honorZeroPrecision)
Creates a value backed by the specified controlsValue
and
timeValue
. The controlsValue
is used for the meta-data
(engineering units, limits, etc.) and the timeValue
is used for
the alarm status, time-stamp, and value.
If disconnectTime
is not null
, it is used as the
time-stamp and the alarm severity is set to UNDEFINED
.
controlsValue
- value used for meta-data (engineering units, limits, etc.).timeValue
- value used for alarm status, time-stamp, and value.disconnectTime
- time at which the channel was disconnected. Usually this
should be null
. If it is not null
,
the alarm severity is set to UNDEFINED
and this
parameter is used as the time-stamp (instead of using the
time-stamp from the timeValue
.honorZeroPrecision
- defines how the value is formatted if the
controlsValue
's precision is zero. If
true
a precision of zero means that no decimal
digits shall be printed. If false
, a precision of
zero means that a default number of decimal digits shall be
printed. This parameter is only relevant for the return value
of the JackieDisplay.getFormat()
method.public org.diirt.util.array.ListDouble getData()
getData
in interface org.diirt.vtype.Array
getData
in interface org.diirt.vtype.VDoubleArray
getData
in interface org.diirt.vtype.VNumberArray
public java.lang.String toString()
toString
in class JackieDisplay<ChannelAccessControlsDouble,ChannelAccessTimeDouble>
Copyright © 2017–2017 aquenos GmbH. All rights reserved.