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 ().