Package | Description |
---|---|
org.diirt.vtype.next |
Value definitions and basic implementations.
|
Modifier and Type | Method and Description |
---|---|
static Alarm |
VType.alarmOf(Object value)
Null and non-VType safe utility to extracts alarm information.
|
static Alarm |
VType.alarmOf(Object value,
boolean connected)
Null and non-VType safe utility to extracts alarm information for a
connection.
|
static Alarm |
Alarm.create(AlarmSeverity alarmSeverity,
String alarmName)
New alarm with the given severity and status.
|
static Alarm |
Alarm.disconnected()
Alarm condition for when a channel is disconnected.
|
static Alarm |
VType.highestAlarmOf(List<?> values,
boolean ignoreNull)
Returns the value with highest severity.
|
static Alarm |
Alarm.none()
No alarm.
|
static Alarm |
Alarm.noValue()
Alarm condition for when a value is not present.
|
Modifier and Type | Method and Description |
---|---|
static VByte |
VByte.create(Byte value,
Alarm alarm,
Time time,
Display display)
Creates a new VByte.
|
static VDouble |
VDouble.create(Double value,
Alarm alarm,
Time time,
Display display)
Creates a new VDouble.
|
static VFloat |
VFloat.create(Float value,
Alarm alarm,
Time time,
Display display)
Creates a new VFloat.
|
static VInt |
VInt.create(Integer value,
Alarm alarm,
Time time,
Display display)
Creates a new VInt.
|
static VDoubleArray |
VDoubleArray.create(ListDouble data,
Alarm alarm,
Time time,
Display display)
Creates a new VDouble.
|
static VNumberArray |
VNumberArray.create(ListNumber data,
Alarm alarm,
Time time,
Display display)
Creates a new VNumber based on the type of the data
|
static VLong |
VLong.create(Long value,
Alarm alarm,
Time time,
Display display)
Creates a new VLong.
|
static VNumber |
VNumber.create(Number value,
Alarm alarm,
Time time,
Display display)
Creates a new VNumber based on the type of the data
|
static VShort |
VShort.create(Short value,
Alarm alarm,
Time time,
Display display)
Creates a new VShort.
|
static VString |
VString.create(String value,
Alarm alarm,
Time time)
Creates a new VString.
|
static VEnum |
VEnum.newVEnum(int index,
EnumMetaData metaData,
Alarm alarm,
Time time)
Create a new VEnum.
|
static VType |
VType.toVType(Object javaObject,
Alarm alarm)
Converts a standard java type to VTypes.
|
static VType |
VType.toVType(Object javaObject,
Alarm alarm,
Time time,
Display display)
Converts a standard java type to VTypes.
|
Copyright © 2015. All rights reserved.