QKnxInterfaceObjectType Class

The QKnxInterfaceObjectType class holds the type of a KNX interface object. 更多...

头: #include <QKnxInterfaceObjectType>
qmake: QT += knx

公共类型

enum 应用程序 { Hvac, Lightning, IndoorBrightnessSensor, IndoorLuminanceSensor, LightSwitchingActuatorBasic, …, WhiteGoods2 }
enum NonStandardized { First, Last }
enum 系统 { Device, GroupAddressTable, AssociationTable, ApplicationProgram, InterfaceProgram, …, RfMedium }

公共函数

QKnxInterfaceObjectType (int objectType )
int operator int () const
QKnxInterfaceObjectType & operator= (int objectType )

静态公共成员

bool isMatch (QKnxInterfaceObjectType type , QKnxInterfaceObjectProperty property )
bool isObjectType (QKnxInterfaceObjectType type )

详细描述

A KNX interface object holds information about device functionality. Each interface object type covers particular functionality. This class represents the 系统 , 应用程序 ,和 NonStandardized object types.

The type of an interface object is stored as its first property in QKnxInterfaceObjectProperty::ObjectType .

另请参阅 Qt KNX Device Management Classes .

成员类型文档编制

enum QKnxInterfaceObjectType:: 应用程序

This enum describes the type ranges of interface objects dedicated to an application area.

常量 描述
QKnxInterfaceObjectType::Hvac 0x64 Heating, ventilation, and air conditioning (HVAC)
QKnxInterfaceObjectType::Lightning 0x190 Lightning
QKnxInterfaceObjectType::IndoorBrightnessSensor 0x199 Indoor brightness sensors
QKnxInterfaceObjectType::IndoorLuminanceSensor 0x19a Indoor luminance sensors
QKnxInterfaceObjectType::LightSwitchingActuatorBasic 0x1a1 Basic light switching actuators
QKnxInterfaceObjectType::DimmingActuatorBasic 0x1a2 Basic dimming actuators
QKnxInterfaceObjectType::DimmingSensorBasic 0x1a4 Basic dimming sensors
QKnxInterfaceObjectType::SwitchingSensorBasic 0x1a5 Basic switching sensors
QKnxInterfaceObjectType::SensorsAndActuators 0x258 Sensors and actuators
QKnxInterfaceObjectType::ShuttersAndBlinds 0x320 Shutters and blinds
QKnxInterfaceObjectType::FociS 0x3e8 Functions of common interest, such as date and time
QKnxInterfaceObjectType::Metering 0x44d Metering the consumption of energy, water, gas, and so on
QKnxInterfaceObjectType::OpenTherm 0x4b0 The OpenTherm gateway, which connects KNX to the OT Bus used for heating systems, such as gas condensing boilers
QKnxInterfaceObjectType::ApplicationReserved 0x4e2 预留
QKnxInterfaceObjectType::WhiteGoods 0xdac White goods
QKnxInterfaceObjectType::ApplicationReserved2 0xed8 预留
QKnxInterfaceObjectType::WhiteGoods2 0xfa0 White goods

enum QKnxInterfaceObjectType:: NonStandardized

This enum describes the type ranges of non-standard interface objects.

常量 描述
QKnxInterfaceObjectType::First 0xc351 First object
QKnxInterfaceObjectType::Last 0xffff Last object

enum QKnxInterfaceObjectType:: 系统

This enum describes the types of interface objects dedicated to device system functionality.

常量 描述
QKnxInterfaceObjectType::Device 0x0000 Device interface object
QKnxInterfaceObjectType::GroupAddressTable 0x0001 Group address table interface object
QKnxInterfaceObjectType::AssociationTable 0x0002 Association table interface object
QKnxInterfaceObjectType::ApplicationProgram 0x0003 Application program interface object
QKnxInterfaceObjectType::InterfaceProgram 0x0004 Interface program interface object
QKnxInterfaceObjectType::KnxObjectAssociationTable 0x0005 KNX object assiocation table interface object
QKnxInterfaceObjectType::Router 0x0006 Router interface object
QKnxInterfaceObjectType::LteAddressRoutingTable 0x0007 Logical Tag Extended (LTE) address routing table interface object
QKnxInterfaceObjectType::CemiServer 0x0008 Common External Message Interface (cEMI) server interface object
QKnxInterfaceObjectType::GroupObjectTable 0x0009 Group object table interface object
QKnxInterfaceObjectType::PollingMaster 0x000a Polling master interface object
QKnxInterfaceObjectType::KnxNetIpParameter 0x000b KNXnet/IP parameter interface object
QKnxInterfaceObjectType::Reserved 0x000c 预留
QKnxInterfaceObjectType::FileServer 0x000d File server interface object
QKnxInterfaceObjectType::Security 0x0011 Security interface object
QKnxInterfaceObjectType::RfMedium 0x0013 Radio frequency (RF) medium interface object

成员函数文档编制

QKnxInterfaceObjectType:: QKnxInterfaceObjectType ( int objectType )

Creates a KNX interface object type of the type objectType .

[static] bool QKnxInterfaceObjectType:: isMatch ( QKnxInterfaceObjectType type , QKnxInterfaceObjectProperty property )

返回 true 若给定 property can be used in conjunction with the given type ; false 否则。

注意: The function performs a check on the object type and returns false if the object type is invalid.

注意: Only system types are fully matched. For all other valid object types the function returns true if the property can be interpreted as a known or unknown property (depending on the property value).

[static] bool QKnxInterfaceObjectType:: isObjectType ( QKnxInterfaceObjectType type )

返回 true if type is a value of 系统 , 应用程序 ,或 NonStandardized ; false 否则。

注意: Reserved values are considered invalid object types.

int QKnxInterfaceObjectType:: operator int () const

Returns the value stored in the KNX interface object type as an integer.

QKnxInterfaceObjectType &QKnxInterfaceObjectType:: operator= ( int objectType )

赋值 objectType to this KNX interface object type.