The QKnxControlDimming class is a datapoint type for controlling dimming. 更多...
头: | #include <QKnxControlDimming> |
qmake: | QT += knx |
继承: | QKnx3BitControlled |
enum | Control { Decrease, Increase } |
QKnxControlDimming (QKnxControlDimming::Control control , QKnx3BitControlled::NumberOfIntervals interval ) | |
QKnxControlDimming () | |
QKnxControlDimming::Control | control () const |
void | setControl (QKnxControlDimming::Control control ) |
To set this datapoint type, Control and NumberOfIntervals have to be set.
另请参阅 QKnx3BitControlled and Qt KNX Datapoint Type Classes .
This enum type holds whether dimming decreases or increases.
常量 | 值 |
---|---|
QKnxControlDimming::Decrease
|
0x00
|
QKnxControlDimming::Increase
|
0x01
|
Creates a fixed size datapoint type with the control control and the number of intervals interval .
Creates a fixed size datapoint type with the control set to Decrease and the number of intervals set to QKnx3BitControlled::Break .
Returns the control stored in the datapoint type.
另请参阅 setControl ().
Sets the control part of the datapoint type to control .
另请参阅 control ().