QKnxControlBlinds Class

The QKnxControlBlinds class is a datapoint type for controlling blinds. 更多...

头: #include <QKnxControlBlinds>
qmake: QT += knx
继承: QKnx3BitControlled

公共类型

enum Control { Up, Down }

公共函数

QKnxControlBlinds (QKnxControlBlinds::Control control , QKnx3BitControlled::NumberOfIntervals interval )
QKnxControlBlinds ()
QKnxControlBlinds::Control control () const
void setControl (QKnxControlBlinds::Control control )

详细描述

To set this datapoint type, Control and NumberOfIntervals have to be set.

另请参阅 QKnx3BitControlled and Qt KNX Datapoint Type Classes .

成员类型文档编制

enum QKnxControlBlinds:: Control

This enum type holds whether the blinds are being raised or lowered.

常量 描述
QKnxControlBlinds::Up 0x00 Blinds are being raised.
QKnxControlBlinds::Down 0x01 Blinds are being lowered.

成员函数文档编制

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

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

QKnxControlBlinds:: QKnxControlBlinds ()

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

QKnxControlBlinds::Control QKnxControlBlinds:: control () const

Returns the control stored in the datapoint type.

另请参阅 setControl ().

void QKnxControlBlinds:: setControl ( QKnxControlBlinds::Control control )

Sets the control part of the datapoint type to control .

另请参阅 control ().