java.lang.Object
io.qt.QtObject
io.qt.serialbus.QModbusPdu
io.qt.serialbus.QModbusResponse
io.qt.serialbus.QModbusExceptionResponse
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Container class containing the function and error code inside a Modbus ADU
Java wrapper for Qt class QModbusExceptionResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.serialbus.QModbusResponse
QModbusResponse.CalcFunction
Nested classes/interfaces inherited from class io.qt.serialbus.QModbusPdu
QModbusPdu.ExceptionCode, QModbusPdu.FunctionCode
-
Field Summary
Fields inherited from class io.qt.serialbus.QModbusPdu
ExceptionByte
-
Constructor Summary
ConstructorDescriptionSeeQModbusExceptionResponse::
QModbusExceptionResponse(QModbusExceptionResponse) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final void
void
Methods inherited from class io.qt.serialbus.QModbusResponse
calculateDataSize, equals, equals, hashCode, minimumDataSize, readFrom, registerDataSizeCalculator, writeTo
Methods inherited from class io.qt.serialbus.QModbusPdu
assign, data, dataSize, decodeData, decodeData, decodeData, encodeData, encodeData, encodeData, equals, exceptionCode, functionCode, isException, isValid, setData, setData, size, toString
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QModbusExceptionResponse
public QModbusExceptionResponse() -
QModbusExceptionResponse
See
QModbusExceptionResponse::
QModbusExceptionResponse(QModbusExceptionResponse) - Parameters:
other
-
-
QModbusExceptionResponse
- Parameters:
pdu
-
-
QModbusExceptionResponse
- Parameters:
fc
-ec
-
-
-
Method Details
-
setExceptionCode
- Parameters:
ec
-
-
setFunctionCode
- Overrides:
setFunctionCode
in classQModbusPdu
- Parameters:
c
-
-
clone
Creates and returns a copy of this object.
See
QModbusExceptionResponse::
QModbusExceptionResponse(QModbusExceptionResponse) - Overrides:
clone
in classQModbusResponse
-