QKnxApplicationArea Class

The QKnxApplicationArea class is a datapoint type for storing the application area. More...

Header: #include <QKnxApplicationArea>
qmake: QT += knx
Inherits: QKnx1Byte

Public Types

enum Area { NoFault, SystemFunctionCommonInterest, HvacGeneralFBs, HvacHotWaterHeating, ..., Invalid }

Public Functions

QKnxApplicationArea()
QKnxApplicationArea(QKnxApplicationArea::Area area)
QKnxApplicationArea::Area area() const
bool setArea(QKnxApplicationArea::Area area)

Reimplemented Public Functions

virtual bool isValid() const override

Additional Inherited Members

Detailed Description

The QKnxApplicationArea class is a datapoint type for storing the application area.

The range for the Area value is from No fault, 0 to Shutters and blinds, 50.

Faults in functions of common interest are mapped to the application area SystemFunctionCommonInterest. For example, a multiple system clock master conflict is a QKnxErrorClassSystem::ConfigurationFault within the SystemFunctionCommonInterest application area.

Faults in heating, ventilation, and air conditioning (HVAC) are mapped to the application areas HvacGeneralFBs, HvacHotWaterHeating, HvacDirectElectricalHeating, HvacTerminalUnits, and HvacVac.

This is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType, QKnx1Byte, QKnxErrorClassSystem::Error, QKnxErrorClassHvac, QKnxScloMode::Mode, and Qt KNX Datapoint Type Classes.

Member Type Documentation

enum QKnxApplicationArea::Area

This enum holds the application area stored in the datapoint type. This coding corresponds to the numbering of parts in the KNX System Specification.

ConstantValueDescription
QKnxApplicationArea::NoFault0x00No fault signals were transmitted in any application areas.
QKnxApplicationArea::SystemFunctionCommonInterest0x01The system and functions of common interest
QKnxApplicationArea::HvacGeneralFBs0x0aHVAC general functional blocks
QKnxApplicationArea::HvacHotWaterHeating0x0bHVAC hot water heating
QKnxApplicationArea::HvacDirectElectricalHeating0x0cHVAC direct electrical heating
QKnxApplicationArea::HvacTerminalUnits0x0dHVAC terminal units
QKnxApplicationArea::HvacVac0x0eHVAC VAC
QKnxApplicationArea::Lighting0x14Lighting
QKnxApplicationArea::Security0x1eSecurity
QKnxApplicationArea::LoadManagement0x28Load management
QKnxApplicationArea::ShuttersAndBlinds0x32Shutters and blinds
QKnxApplicationArea::Invalid0xffThe value is invalid.

Member Function Documentation

QKnxApplicationArea::QKnxApplicationArea()

Creates a fixed size datapoint type with the application area set to NoFault.

QKnxApplicationArea::QKnxApplicationArea(QKnxApplicationArea::Area area)

Creates a fixed size datapoint type with the the application area set to area.

QKnxApplicationArea::Area QKnxApplicationArea::area() const

Returns the application area stored in the datapoint type.

See also setArea().

[override virtual] bool QKnxApplicationArea::isValid() const

Reimplemented from QKnx1Byte::isValid().

bool QKnxApplicationArea::setArea(QKnxApplicationArea::Area area)

Sets the application area stored in the datapoint type to area.

Returns true if the byte was set; otherwise returns false.

See also area().

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.