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
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQModbusDataUnit::RegisterType
-
Constructor Summary
ConstructorsConstructorDescriptionQModbusDataUnit
(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
(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
-
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.
-