Contains KNX manufacturer-specific identifiers used throughout the QtKnx 库。 更多...
头: | #include <Manufacturers> |
qmake: | QT += knx |
Since: | Qt 5.13 |
This namespace was introduced in Qt 5.13.
QString | fromId (int id , const QString & defaultValue = {}) |
QString | fromId (const QString & id , const QString & defaultValue = {}) |
Returns the name of a KNX manufacturer for the given manufacturer ID
id
or the given default value
defaultValue
若
id
was not found in the list of known manufacturers.
该函数在 Qt 5.13 引入。
Returns the name of a KNX manufacturer for the given manufacturer ID
id
or the given default value
defaultValue
若
id
was not found in the list of known manufacturers.
注意:
:
id
must be in the format of
M-\d{4}
.
该函数在 Qt 5.13 引入。