Класс QOpcUaNodeCreationAttributes
Этот класс управляет значениями атрибутов для создания узла. Подробнее...
| Заголовок: | #include <QOpcUaNodeCreationAttributes> |
| qmake: | QT += opcua |
Открытые функции
| QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other) | |
| QOpcUaNodeCreationAttributes & | operator=(const QOpcUaNodeCreationAttributes &rhs) |
| QOpcUa::AccessLevel | accessLevel() const |
| QList<quint32> | arrayDimensions() const |
| bool | containsNoLoops() const |
| QString | dataTypeId() const |
| QOpcUaLocalizedText | описание() const |
| QOpcUaLocalizedText | имя() const |
| QOpcUa::EventNotifier | eventNotifier() const |
| bool | executable() const |
| bool | hasAccessLevel() const |
| bool | hasArrayDimensions() const |
| bool | hasContainsNoLoops() const |
| bool | hasDataTypeId() const |
| bool | hasОписание() const |
| bool | hasИмя() const |
| bool | hasEventNotifier() const |
| bool | hasExecutable() const |
| bool | hasHistorizing() const |
| bool | hasInverseName() const |
| bool | hasIsAbstract() const |
| bool | hasMinimumSamplingInterval() const |
| bool | hasSymmetric() const |
| bool | hasUserAccessLevel() const |
| bool | hasUserExecutable() const |
| bool | hasUserWriteMask() const |
| bool | hasValue() const |
| bool | hasValueRank() const |
| bool | hasWriteMask() const |
| bool | historizing() const |
| QOpcUaLocalizedText | inverseName() const |
| bool | isAbstract() const |
| double | minimumSamplingInterval() const |
| void | setAccessLevel(QOpcUa::AccessLevel accessLevel) |
| void | setArrayDimensions(const QList<quint32> &arrayDimensions) |
| void | setContainsNoLoops(bool containsNoLoops) |
| void | setDataTypeId(const QString &dataTypeId) |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setEventNotifier(QOpcUa::EventNotifier eventNotifier) |
| void | setExecutable(bool executable) |
| void | setHistorizing(bool historizing) |
| void | setInverseName(const QOpcUaLocalizedText &inverseName) |
| void | setIsAbstract(bool isAbstract) |
| void | setMinimumSamplingInterval(double minimumSamplingInterval) |
| void | setSymmetric(bool symmetric) |
| void | setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel) |
| void | setUserExecutable(bool userExecutable) |
| void | setUserWriteMask(QOpcUa::WriteMask userWriteMask) |
| void | setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined) |
| void | setValueRank(qint32 valueRank) |
| void | setWriteMask(QOpcUa::WriteMask writeMask) |
| bool | symmetric() const |
| QOpcUa::AccessLevel | userAccessLevel() const |
| bool | userExecutable() const |
| QOpcUa::WriteMask | userWriteMask() const |
| QVariant | value() const |
| qint32 | valueRank() const |
| QOpcUa::Types | valueType() const |
| QOpcUa::WriteMask | writeMask() const |
Подробное описание
Этот класс хранит значения атрибутов узлов, которые передаются серверу при создании нового узла в адресном пространстве OPC UA.
Следующие атрибуты узлов поддерживаются различными классами узлов:
| Атрибут | Объект | Переменная | Метод | Тип объекта | Тип переменной | Тип ссылки | Тип данных | Просмотр |
|---|---|---|---|---|---|---|---|---|
| Уровень доступа | X | |||||||
| Размеры массива | X | X | ||||||
| Не содержит циклов | X | |||||||
| Тип данных | X | X | ||||||
| Описание | X | X | X | X | X | X | X | X |
| Имя отображения | X | X | X | X | X | X | X | X |
| Уведомление об событии | X | |||||||
| Исполняемый | X | |||||||
| Ведение истории | X | |||||||
| Обратное имя | X | |||||||
| Абстрактный | X | X | X | X | ||||
| Минимальный интервал выборки | X | |||||||
| Симметричный | X | |||||||
| Уровень доступа пользователя | X | |||||||
| Исполняемый пользователем | X | |||||||
| Маска записи пользователя | X | X | X | X | X | X | X | X |
| Значение | X | X | ||||||
| Ранг значения | X | X | ||||||
| Маска записи | X | X | X | X | X | X | X | X |
См. также QOpcUaClient::addNode().
Документация по функциям-членам
QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)
Создает объект атрибутов создания узла со значениями other.
QOpcUaNodeCreationAttributes &QOpcUaNodeCreationAttributes::operator=(const QOpcUaNodeCreationAttributes &rhs)
Присваивает значение rhs этому объекту атрибутов создания узла.
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const
Возвращает значение для атрибута Уровень доступа.
См. также setAccessLevel().
QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const
Возвращает значение для атрибута Размеры массива.
См. также setArrayDimensions().
bool QOpcUaNodeCreationAttributes::containsNoLoops() const
Возвращает значение атрибута ContainsNoLoops.
См. также setContainsNoLoops().
QString QOpcUaNodeCreationAttributes::dataTypeId() const
Возвращает значение атрибута DataType.
См. также setDataTypeId().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const
Возвращает значение атрибута Description.
См. также setDescription().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const
Возвращает значение атрибута DisplayName.
См. также setDisplayName().
QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const
Возвращает значение атрибута EventNotifier.
См. также setEventNotifier().
bool QOpcUaNodeCreationAttributes::executable() const
Возвращает значение атрибута Executable.
См. также setExecutable().
bool QOpcUaNodeCreationAttributes::hasAccessLevel() const
Возвращает true если значение атрибута AccessLevel установлено.
bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const
Возвращает true если значение атрибута ArrayDimensions установлено.
bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const
Возвращает true если значение атрибута ContainsNoLoops установлено.
bool QOpcUaNodeCreationAttributes::hasDataTypeId() const
Возвращает true если значение атрибута DataType установлено.
bool QOpcUaNodeCreationAttributes::hasDescription() const
Возвращает true если значение атрибута Description установлено.
bool QOpcUaNodeCreationAttributes::hasDisplayName() const
Возвращает true если значение атрибута DisplayName установлено.
bool QOpcUaNodeCreationAttributes::hasEventNotifier() const
Возвращает true если значение атрибута EventNotifier установлено.
bool QOpcUaNodeCreationAttributes::hasExecutable() const
Возвращает true если значение атрибута Executable установлено.
bool QOpcUaNodeCreationAttributes::hasHistorizing() const
Возвращает true если значение атрибута Historizing установлено.
bool QOpcUaNodeCreationAttributes::hasInverseName() const
Возвращает true если значение атрибута InverseName установлено.
bool QOpcUaNodeCreationAttributes::hasIsAbstract() const
Возвращает true если значение атрибута IsAbstract установлено.
bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const
Возвращает true если значение атрибута MinimumSamplingInterval установлено.
bool QOpcUaNodeCreationAttributes::hasSymmetric() const
Возвращает true если значение атрибута Symmetric установлено.
bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const
Возвращает true если значение атрибута UserAccessLevel установлено.
bool QOpcUaNodeCreationAttributes::hasUserExecutable() const
Возвращает true если значение атрибута UserExecutable установлено.
bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const
Возвращает true если значение атрибута UserWriteMask установлено.
bool QOpcUaNodeCreationAttributes::hasValue() const
Возвращает true если для атрибута Value установлено значение.
bool QOpcUaNodeCreationAttributes::hasValueRank() const
Возвращает true если для атрибута ValueRank установлено значение.
bool QOpcUaNodeCreationAttributes::hasWriteMask() const
Возвращает true если для атрибута WriteMask установлено значение.
bool QOpcUaNodeCreationAttributes::historizing() const
Возвращает значение атрибута Historizing.
См. также setHistorizing().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::inverseName() const
Возвращает значение атрибута InverseName.
См. также setInverseName().
bool QOpcUaNodeCreationAttributes::isAbstract() const
Возвращает значение атрибута IsAbstract.
См. также setIsAbstract().
double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const
Возвращает значение атрибута MinimumSamplingInterval.
См. также setMinimumSamplingInterval().
void QOpcUaNodeCreationAttributes::setAccessLevel(QOpcUa::AccessLevel accessLevel)
Устанавливает значение атрибута AccessLevel в accessLevel.
См. также accessLevel().
void QOpcUaNodeCreationAttributes::setArrayDimensions(const QList<quint32> &arrayDimensions)
Устанавливает значение атрибута ArrayDimensions в arrayDimensions.
См. также arrayDimensions().
void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)
Устанавливает значение атрибута ContainsNoLoops в containsNoLoops.
См. также containsNoLoops().
void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)
Устанавливает значение атрибута DataType в dataTypeId.
См. также dataTypeId().
void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)
Устанавливает значение атрибута Description в description.
См. также description().
void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)
Устанавливает значение атрибута DisplayName в displayName.
См. также displayName().
void QOpcUaNodeCreationAttributes::setEventNotifier(QOpcUa::EventNotifier eventNotifier)
Устанавливает значение атрибута EventNotifier в eventNotifier.
См. также eventNotifier().
void QOpcUaNodeCreationAttributes::setExecutable(bool executable)
Устанавливает значение атрибута Executable в executable.
См. также executable().
void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)
Устанавливает значение атрибута Historizing в historizing.
См. также historizing().
void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)
Устанавливает значение атрибута InverseName в inverseName.
См. также inverseName().
void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)
Устанавливает значение атрибута IsAbstract в isAbstract.
См. также isAbstract().
void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)
Устанавливает значение атрибута MinimumSamplingInterval в minimumSamplingInterval.
См. также minimumSamplingInterval().
void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)
Устанавливает значение атрибута Symmetric в symmetric.
См. также symmetric().
void QOpcUaNodeCreationAttributes::setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)
Устанавливает значение атрибута UserAccessLevel в userAccessLevel.
См. также userAccessLevel().
void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)
Устанавливает значение атрибута UserExecutable в userExecutable.
См. также userExecutable().
void QOpcUaNodeCreationAttributes::setUserWriteMask(QOpcUa::WriteMask userWriteMask)
Устанавливает значение атрибута UserWriteMask в userWriteMask.
См. также userWriteMask().
void QOpcUaNodeCreationAttributes::setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
Устанавливает значение атрибута Value в value типа type.
См. также value().
void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)
Устанавливает значение атрибута ValueRank в valueRank.
См. также valueRank().
void QOpcUaNodeCreationAttributes::setWriteMask(QOpcUa::WriteMask writeMask)
Устанавливает значение атрибута WriteMask в writeMask.
См. также writeMask().
bool QOpcUaNodeCreationAttributes::symmetric() const
Возвращает значение атрибута Symmetric.
См. также setSymmetric().
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::userAccessLevel() const
Возвращает значение атрибута UserAccessLevel.
См. также setUserAccessLevel().
bool QOpcUaNodeCreationAttributes::userExecutable() const
Возвращает значение атрибута UserExecutable.
См. также setUserExecutable().
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const
Возвращает значение атрибута UserWriteMask.
См. также setUserWriteMask().
QVariant QOpcUaNodeCreationAttributes::value() const
Возвращает значение атрибута Value.
См. также setValue().
qint32 QOpcUaNodeCreationAttributes::valueRank() const
Возвращает значение атрибута ValueRank.
См. также setValueRank().
QOpcUa::Types QOpcUaNodeCreationAttributes::valueType() const
Возвращает тип атрибута value.
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::writeMask() const
Возвращает значение атрибута WriteMask.
См. также setWriteMask().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuanodecreationattributes.html