java.lang.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 class QModbusDataUnit
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQModbusDataUnit::RegisterType
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQModbusDataUnit
(QModbusDataUnit.RegisterType type, int newStartAddress, short newValueCount) QModbusDataUnit
(QModbusDataUnit.RegisterType type, int newStartAddress, Collection<@QtPrimitiveType Short> newValues) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Seeoperator==(QModbusDataUnit,
QModbusDataUnit) int
hashCode()
Returns the objects's hash code computed byqHash(QModbusDataUnit)
.final boolean
isValid()
final void
final void
setStartAddress
(int newAddress) final void
setValue
(int index, short newValue) final void
setValueCount
(int newCount) final void
setValues
(Collection<@QtPrimitiveType Short> newValues) final int
final short
value
(int index) final int
final QVector<@QtPrimitiveType Short>
values()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QModbusDataUnit
public QModbusDataUnit() -
QModbusDataUnit
-
QModbusDataUnit
public QModbusDataUnit(QModbusDataUnit.RegisterType type, int newStartAddress, Collection<@QtPrimitiveType Short> newValues) -
QModbusDataUnit
-
-
Method Details
-
isValid
-
registerType
-
setRegisterType
-
setStartAddress
-
setValue
-
setValueCount
-
setValues
-
startAddress
-
value
-
valueCount
-
values
-
equals
See
operator==(QModbusDataUnit,
QModbusDataUnit) -
hashCode
Returns the objects's hash code computed byqHash(QModbusDataUnit)
. -
clone
Creates and returns a copy of this object.
-