public final class JackieVStringArray extends JackieAlarmAndTime<ChannelAccessTimeString> implements org.diirt.vtype.VStringArray
VStringArray
implementation that is backed by a
ChannelAccessTimeString
.disconnectTime, scalar, timeValue
Constructor and Description |
---|
JackieVStringArray(ChannelAccessTimeString value,
java.time.Instant disconnectTime)
Creates a value backed by the specified
value . |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getData() |
org.diirt.util.array.ListInt |
getSizes() |
java.lang.String |
toString() |
equals, getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, hashCode, isTimeValid
public JackieVStringArray(ChannelAccessTimeString value, java.time.Instant disconnectTime)
Creates a value backed by the specified value
. The value
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
.
value
- 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 java.util.List<java.lang.String> getData()
getData
in interface org.diirt.vtype.Array
getData
in interface org.diirt.vtype.VStringArray
public org.diirt.util.array.ListInt getSizes()
getSizes
in interface org.diirt.vtype.Array
public java.lang.String toString()
toString
in class JackieAlarmAndTime<ChannelAccessTimeString>
Copyright © 2017–2017 aquenos GmbH. All rights reserved.