The QKnxDeviceManagementFrame::PropertyInfoBuilder class provides the means to create a valid device management property info indication frame. 更多...
PropertyInfoBuilder () | |
QKnxDeviceManagementFrame | createIndication (const QKnxByteArray & data ) const |
PropertyInfoBuilder & | setNumberOfElements (quint8 noe ) |
PropertyInfoBuilder & | setObjectInstance (quint8 实例 ) |
PropertyInfoBuilder & | setObjectType (QKnxInterfaceObjectType type ) |
PropertyInfoBuilder & | setProperty (QKnxInterfaceObjectProperty pid ) |
PropertyInfoBuilder & | setStartIndex (quint16 startIndex ) |
The property info service is used for local device management. It is an unconfirmed service, that is used by a common external message interface (cEMI) cEMI server to send notifications upon events, for example.
另请参阅 QKnxDeviceManagementFrame::MessageCode , QKnxDeviceManagementFrame ,和 Qt KNX Device Management Classes .
Creates a device management property info builder object.
Creates and returns a device management property info indication frame with the data field set to data .
The common way to create such an indication is:
auto indication = QKnxDeviceManagementFrame::propertyInfoBuilder() .setObjectType(...) .setObjectInstance(...) .setProperty(...) .setNumberOfElements(...) .setStartIndex(...) .createIndication(...) deviceManagement.sendFrame(indication);
注意: The returned frame may be invalid depending on the values used during setup.
另请参阅 QKnxDeviceManagementFrame and QKnxDeviceManagementFrame::isValid ().
Sets the number of elements of this builder to noe and returns a reference to the builder.
Sets the object instance of this builder to 实例 and returns a reference to the builder.
Sets the interface object type of this builder to type and returns a reference to the builder.
Sets the interface object property of this builder to pid and returns a reference to the builder.
Sets the start index of this builder to startIndex and returns a reference to the builder.