public final class JackieVByte extends JackieDisplay<ChannelAccessControlsChar,ChannelAccessTimeChar> implements org.diirt.vtype.VByte
controlsValue, honorZeroPrecision
disconnectTime, scalar, timeValue
Constructor and Description |
---|
JackieVByte(ChannelAccessControlsChar controlsValue,
ChannelAccessTimeChar timeValue,
java.time.Instant disconnectTime)
Creates a value backed by the specified
controlsValue and
timeValue . |
Modifier and Type | Method and Description |
---|---|
java.lang.Byte |
getValue() |
java.lang.String |
toString() |
equals, getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit, hashCode
getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, isTimeValid
public JackieVByte(ChannelAccessControlsChar controlsValue, ChannelAccessTimeChar timeValue, java.time.Instant disconnectTime)
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. The timeValue
must have
exactly one element.
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. It must
have exactly one element.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
.java.lang.IllegalArgumentException
- if timeValue
has more or less than one element.public java.lang.Byte getValue()
getValue
in interface org.diirt.vtype.Scalar
getValue
in interface org.diirt.vtype.VByte
getValue
in interface org.diirt.vtype.VNumber
public java.lang.String toString()
toString
in class JackieDisplay<ChannelAccessControlsChar,ChannelAccessTimeChar>
Copyright © 2017–2017 aquenos GmbH. All rights reserved.