The QKnx8BitSignedValue class is a datapoint type with an 8-bit signed value. 更多...
头: | #include <QKnx8BitSignedValue> |
qmake: | QT += knx |
继承: | QKnxFixedSizeDatapointType |
QKnx8BitSignedValue (qint8 value ) | |
QKnx8BitSignedValue () | |
void | setValue (qint8 value ) |
qint8 | value () const |
QKnx8BitSignedValue (int subType , qint8 value ) |
This is a fixed size datapoint type with the length of 1 byte.
Integer values from -128 to 127 can be encoded in this datapoint type.
It is a base class for the following classes:
QKnxPercentV8
- Percentage.
QKnxValue1Count
- Counter pulses.
另请参阅 QKnxDatapointType and Qt KNX Datapoint Type Classes .
[protected]
QKnx8BitSignedValue::
QKnx8BitSignedValue
(
int
subType
,
qint8
value
)
Creates a fixed size datapoint type with the subtype subType and value value .
Creates a fixed size datapoint type with the value value .
Creates a fixed size datapoint type with the value
0
.
Sets the value of the datapoint type to value .
另请参阅 value ().
Returns the value stored in the datapoint type.
另请参阅 setValue ().