QKnxApplicationArea Class

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

头: #include <QKnxApplicationArea>
qmake: QT += knx
继承: QKnx1Byte

公共类型

enum class Area { NoFault, SystemFunctionCommonInterest, HvacGeneralFBs, HvacHotWaterHeating, HvacDirectElectricalHeating, …, Invalid }

公共函数

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

重实现公共函数

virtual bool isValid () const override

详细描述

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 ,和 HvacVac .

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

另请参阅 QKnxDatapointType , QKnx1Byte , QKnxErrorClassSystem::Error , QKnxErrorClassHvac , QKnxScloMode::Mode ,和 Qt KNX Datapoint Type Classes .

成员类型文档编制

enum class 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.

常量 描述
QKnxApplicationArea::Area::NoFault 0x00 No fault signals were transmitted in any application areas.
QKnxApplicationArea::Area::SystemFunctionCommonInterest 0x01 The system and functions of common interest
QKnxApplicationArea::Area::HvacGeneralFBs 0x0a HVAC general functional blocks
QKnxApplicationArea::Area::HvacHotWaterHeating 0x0b HVAC hot water heating
QKnxApplicationArea::Area::HvacDirectElectricalHeating 0x0c HVAC direct electrical heating
QKnxApplicationArea::Area::HvacTerminalUnits 0x0d HVAC terminal units
QKnxApplicationArea::Area::HvacVac 0x0e HVAC VAC
QKnxApplicationArea::Area::Lighting 0x14 Lighting
QKnxApplicationArea::Area::Security 0x1e 安全性
QKnxApplicationArea::Area::LoadManagement 0x28 Load management
QKnxApplicationArea::Area::ShuttersAndBlinds 0x32 Shutters and blinds
QKnxApplicationArea::Area::Invalid 0xff The value is invalid.

成员函数文档编制

QKnxApplicationArea:: QKnxApplicationArea ( QKnxApplicationArea::Area area )

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

QKnxApplicationArea:: QKnxApplicationArea ()

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

QKnxApplicationArea::Area QKnxApplicationArea:: area () const

Returns the application area stored in the datapoint type.

另请参阅 setArea ().

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

重实现: QKnx1Byte::isValid () const.

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

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

返回 true if the byte was set; otherwise returns false .

另请参阅 area ().