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
-
Constructor Summary
ConstructorDescriptionQModbusDataUnit
(QModbusDataUnit other) SeeQModbusDataUnit::
QModbusDataUnit(QModbusDataUnit) QModbusDataUnit
(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.final boolean
equals
(QModbusDataUnit value2) Seeoperator==(QModbusDataUnit,
QModbusDataUnit) 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
(long index, short newValue) final void
setValueCount
(long newCount) final void
setValues
(Collection<@QtPrimitiveType Short> newValues) final int
final short
value
(long index) final long
final QList
<@QtPrimitiveType Short> values()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QModbusDataUnit
public QModbusDataUnit() -
QModbusDataUnit
See
QModbusDataUnit::
QModbusDataUnit(QModbusDataUnit) -
QModbusDataUnit
-
QModbusDataUnit
public QModbusDataUnit(QModbusDataUnit.RegisterType type, int newStartAddress, Collection<@QtPrimitiveType Short> newValues) -
QModbusDataUnit
-
-
Method Details
-
isValid
-
equals
See
operator==(QModbusDataUnit,
QModbusDataUnit) -
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.
See
QModbusDataUnit::
QModbusDataUnit(QModbusDataUnit)
-