public final class JackieVEnumArray extends JackieEnum implements org.diirt.vtype.VEnumArray
graphicsValue
disconnectTime, scalar, timeValue
Constructor and Description |
---|
JackieVEnumArray(ChannelAccessGraphicsEnum graphicsValue,
ChannelAccessTimeEnum timeValue,
java.time.Instant disconnectTime)
Creates a value backed by the specified
graphicsValue and
timeValue . |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getData() |
org.diirt.util.array.ListInt |
getIndexes() |
org.diirt.util.array.ListInt |
getSizes() |
java.lang.String |
toString() |
equals, getLabels, hashCode
getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, isTimeValid
public JackieVEnumArray(ChannelAccessGraphicsEnum graphicsValue, ChannelAccessTimeEnum timeValue, java.time.Instant disconnectTime)
Creates a value backed by the specified graphicsValue
and
timeValue
. The graphicsValue
is used for the meta-data
(labels) 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
.
graphicsValue
- value used for meta-data (labels).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
.public org.diirt.util.array.ListInt getSizes()
getSizes
in interface org.diirt.vtype.Array
public java.util.List<java.lang.String> getData()
getData
in interface org.diirt.vtype.Array
getData
in interface org.diirt.vtype.VEnumArray
public org.diirt.util.array.ListInt getIndexes()
getIndexes
in interface org.diirt.vtype.VEnumArray
public java.lang.String toString()
toString
in class JackieEnum
Copyright © 2017–2017 aquenos GmbH. All rights reserved.