java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.serialbus.QModbusDataUnit
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Container class representing single bit and 16 bit word entries in the Modbus register
Java wrapper for Qt's class QModbusDataUnit
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QModbusDataUnit::RegisterTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QModbusDataUnit
(QModbusDataUnit.RegisterType type, int newStartAddress, short newValueCount) QModbusDataUnit
(QModbusDataUnit.RegisterType type, int newStartAddress, Collection<Short> newValues) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final boolean
isValid()
final void
final void
setStartAddress
(int newAddress) final void
setValue
(long index, short newValue) final void
setValueCount
(long newCount) final void
setValues
(Collection<Short> newValues) final int
final short
value
(long index) final long
values()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QModbusDataUnit
public QModbusDataUnit() -
QModbusDataUnit
-
QModbusDataUnit
public QModbusDataUnit(QModbusDataUnit.RegisterType type, int newStartAddress, Collection<Short> newValues) -
QModbusDataUnit
-
QModbusDataUnit
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details