QKnxErrorClassHvac Class

The QKnxErrorClassHvac class is a datapoint type for storing errors in heating, ventilation, and air conditioning (HVAC). More...

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

Public Types

enum Error { NoFault, SensorFault, ProcessControllerFault, ActuatorFault, OtherFault, Invalid }

Public Functions

QKnxErrorClassHvac()
QKnxErrorClassHvac(QKnxErrorClassHvac::Error error)
QKnxErrorClassHvac::Error error() const
bool setError(QKnxErrorClassHvac::Error error)

Additional Inherited Members

Detailed Description

The QKnxErrorClassHvac class is a datapoint type for storing errors in heating, ventilation, and air conditioning (HVAC).

The range for the Error value is from No fault, 0 to Other fault, 4.

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

See also QKnxDatapointType, QKnx1Byte, QKnxApplicationArea, and Qt KNX Datapoint Type Classes.

Member Type Documentation

enum QKnxErrorClassHvac::Error

This enum holds the HVAC fault signals stored in the datapoint type.

ConstantValueDescription
QKnxErrorClassHvac::NoFault0x00No fault signals were transmitted.
QKnxErrorClassHvac::SensorFault0x01An error occurred in the RAM, EEPROM, UI, watchdog, and so on.
QKnxErrorClassHvac::ProcessControllerFault0x02An error occurred in the process or controller.
QKnxErrorClassHvac::ActuatorFault0x03An error occurred in the actuator.
QKnxErrorClassHvac::OtherFault0x04An undefined error occurred.
QKnxErrorClassHvac::Invalid0xffThe value is invalid.

Member Function Documentation

QKnxErrorClassHvac::QKnxErrorClassHvac()

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

QKnxErrorClassHvac::QKnxErrorClassHvac(QKnxErrorClassHvac::Error error)

Creates a fixed size datapoint type with the error set to error.

QKnxErrorClassHvac::Error QKnxErrorClassHvac::error() const

Returns the error stored in the datapoint type.

See also setError().

bool QKnxErrorClassHvac::setError(QKnxErrorClassHvac::Error error)

Sets the error stored in the datapoint type to error.

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

See also error().

© 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.