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 .
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. | 
Creates a fixed size datapoint type with the control control and the number of intervals interval .
Creates a fixed size boolean datapoint type with the control set to Up 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 ().