QKnxControlDimming Class

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 .

成员类型文档编制

enum QKnxControlDimming:: Control

This enum type holds whether dimming decreases or increases.

常量
QKnxControlDimming::Decrease 0x00
QKnxControlDimming::Increase 0x01

成员函数文档编制

QKnxControlDimming:: QKnxControlDimming ( QKnxControlDimming::Control control , QKnx3BitControlled::NumberOfIntervals interval )

Creates a fixed size datapoint type with the control control and the number of intervals interval .

QKnxControlDimming:: QKnxControlDimming ()

Creates a fixed size datapoint type with the control set to Decrease and the number of intervals set to QKnx3BitControlled::Break .

QKnxControlDimming::Control QKnxControlDimming:: control () const

Returns the control stored in the datapoint type.

另请参阅 setControl ().

void QKnxControlDimming:: setControl ( QKnxControlDimming::Control control )

Sets the control part of the datapoint type to control .

另请参阅 control ().