当前位置: 首页>>代码示例>>Java>>正文


Java QualifiedName类代码示例

本文整理汇总了Java中com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName的典型用法代码示例。如果您正苦于以下问题:Java QualifiedName类的具体用法?Java QualifiedName怎么用?Java QualifiedName使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


QualifiedName类属于com.digitalpetri.opcua.stack.core.types.builtin包,在下文中一共展示了QualifiedName类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SamplingIntervalDiagnosticsArrayNode

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
public SamplingIntervalDiagnosticsArrayNode(
        UaNodeManager nodeManager,
        NodeId nodeId,
        QualifiedName browseName,
        LocalizedText displayName,
        Optional<LocalizedText> description,
        Optional<UInteger> writeMask,
        Optional<UInteger> userWriteMask,
        DataValue value,
        NodeId dataType,
        Integer valueRank,
        Optional<UInteger[]> arrayDimensions,
        UByte accessLevel,
        UByte userAccessLevel,
        Optional<Double> minimumSamplingInterval,
        boolean historizing) {

    super(nodeManager, nodeId, browseName, displayName, description, writeMask, userWriteMask,
            value, dataType, valueRank, arrayDimensions, accessLevel, userAccessLevel, minimumSamplingInterval, historizing);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:21,代码来源:SamplingIntervalDiagnosticsArrayNode.java

示例2: ServerVendorCapabilityNode

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
public ServerVendorCapabilityNode(
        UaNodeManager nodeManager,
        NodeId nodeId,
        QualifiedName browseName,
        LocalizedText displayName,
        Optional<LocalizedText> description,
        Optional<UInteger> writeMask,
        Optional<UInteger> userWriteMask,
        DataValue value,
        NodeId dataType,
        Integer valueRank,
        Optional<UInteger[]> arrayDimensions,
        UByte accessLevel,
        UByte userAccessLevel,
        Optional<Double> minimumSamplingInterval,
        boolean historizing) {

    super(nodeManager, nodeId, browseName, displayName, description, writeMask, userWriteMask,
            value, dataType, valueRank, arrayDimensions, accessLevel, userAccessLevel, minimumSamplingInterval, historizing);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:21,代码来源:ServerVendorCapabilityNode.java

示例3: buildNode29

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode29() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.nodeManager, NodeId.parse("ns=0;i=3051"), new QualifiedName(0, "BuildInfoType"), new LocalizedText("en", "BuildInfoType"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), Optional.empty(), NodeId.parse("ns=0;i=338"), -1, Optional.of(new UInteger[]{}), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=3077"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2142"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3052"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3053"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3054"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3055"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3056"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3057"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3052"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3053"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3054"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3055"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3056"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3057"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3051"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2260"), NodeClass.Variable, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:21,代码来源:UaVariableTypeLoader.java

示例4: buildNode197

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode197() {
    UaObjectNode node = new TransitionNode(this.nodeManager, NodeId.parse("ns=0;i=2420"), new QualifiedName(0, "SuspendedToHalted"), new LocalizedText("en", "SuspendedToHalted"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), UByte.valueOf(0));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2404"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2406"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2421"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2404"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2406"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2429"), NodeClass.Method, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=54"), ExpandedNodeId.parse("svr=0;i=2378"), NodeClass.ObjectType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2310"), NodeClass.ObjectType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2421"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2420"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2429"), NodeClass.Method, true));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:17,代码来源:UaObjectLoader.java

示例5: DataTypeDictionaryNode

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
public DataTypeDictionaryNode(
        UaNodeManager nodeManager,
        NodeId nodeId,
        QualifiedName browseName,
        LocalizedText displayName,
        Optional<LocalizedText> description,
        Optional<UInteger> writeMask,
        Optional<UInteger> userWriteMask,
        DataValue value,
        NodeId dataType,
        Integer valueRank,
        Optional<UInteger[]> arrayDimensions,
        UByte accessLevel,
        UByte userAccessLevel,
        Optional<Double> minimumSamplingInterval,
        boolean historizing) {

    super(nodeManager, nodeId, browseName, displayName, description, writeMask, userWriteMask,
            value, dataType, valueRank, arrayDimensions, accessLevel, userAccessLevel, minimumSamplingInterval, historizing);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:21,代码来源:DataTypeDictionaryNode.java

示例6: decode

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
public static VariableNode decode(UaDecoder decoder) {
    NodeId _nodeId = decoder.decodeNodeId("NodeId");
    NodeClass _nodeClass = decoder.decodeEnumeration("NodeClass", NodeClass.class);
    QualifiedName _browseName = decoder.decodeQualifiedName("BrowseName");
    LocalizedText _displayName = decoder.decodeLocalizedText("DisplayName");
    LocalizedText _description = decoder.decodeLocalizedText("Description");
    UInteger _writeMask = decoder.decodeUInt32("WriteMask");
    UInteger _userWriteMask = decoder.decodeUInt32("UserWriteMask");
    ReferenceNode[] _references = decoder.decodeArray("References", decoder::decodeSerializable, ReferenceNode.class);
    Variant _value = decoder.decodeVariant("Value");
    NodeId _dataType = decoder.decodeNodeId("DataType");
    Integer _valueRank = decoder.decodeInt32("ValueRank");
    UInteger[] _arrayDimensions = decoder.decodeArray("ArrayDimensions", decoder::decodeUInt32, UInteger.class);
    UByte _accessLevel = decoder.decodeByte("AccessLevel");
    UByte _userAccessLevel = decoder.decodeByte("UserAccessLevel");
    Double _minimumSamplingInterval = decoder.decodeDouble("MinimumSamplingInterval");
    Boolean _historizing = decoder.decodeBoolean("Historizing");

    return new VariableNode(_nodeId, _nodeClass, _browseName, _displayName, _description, _writeMask, _userWriteMask, _references, _value, _dataType, _valueRank, _arrayDimensions, _accessLevel, _userAccessLevel, _minimumSamplingInterval, _historizing);
}
 
开发者ID:digitalpetri,项目名称:opc-ua-stack,代码行数:21,代码来源:VariableNode.java

示例7: buildNode1270

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode1270()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=12166"), new QualifiedName(0, "MaxNodesPerHistoryReadEvents"), new LocalizedText("en", "MaxNodesPerHistoryReadEvents"), Optional.of(new LocalizedText("en", "The maximum number of operations in a single event HistoryRead request.")), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=7"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=12166"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=11704"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12166"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12166"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=11704"), NodeClass.Object, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:9,代码来源:UaVariableLoader.java

示例8: buildNode345

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode345()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=13388"), new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=296"), 1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=13388"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13387"), NodeClass.Method, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13388"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13388"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13388"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13387"), NodeClass.Method, false));
    String valueXml;
    XmlDecoder decoder = new XmlDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:ListOfExtensionObject xmlns=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\"><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>DirectoryName</ns2:Name><ns2:DataType><ns2:Identifier>i=12</ns2:Identifier></ns2:DataType><ns2:ValueRank>-1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/></ns2:Argument></ns2:Body></ns2:ExtensionObject></ns2:ListOfExtensionObject>")));
    Object valueObject = decoder.decodeVariantValue();
    DataValue value = new DataValue(new Variant(valueObject));
    node.setValue(value);
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:15,代码来源:UaVariableLoader.java

示例9: buildNode747

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode747()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=2398"), new QualifiedName(0, "MaxRecycleCount"), new LocalizedText("en", "MaxRecycleCount"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=7"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=2398"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2398"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2398"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:9,代码来源:UaVariableLoader.java

示例10: buildNode248

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode248()
        throws Exception {
    UaVariableNode node = new BaseDataVariableNode(this.nodeManager, NodeId.parse("ns=0;i=8892"), new QualifiedName(0, "UnacknowledgedMessageCount"), new LocalizedText("en", "UnacknowledgedMessageCount"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=7"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=8892"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2172"), NodeClass.VariableType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=8892"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=8892"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=8892"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2172"), NodeClass.VariableType, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:10,代码来源:UaVariableLoader.java

示例11: buildNode444

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode444()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=13932"), new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=296"), 1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=13932"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13931"), NodeClass.Method, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13932"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13932"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13932"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13931"), NodeClass.Method, false));
    String valueXml;
    XmlDecoder decoder = new XmlDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:ListOfExtensionObject xmlns=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\"><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>FileHandle</ns2:Name><ns2:DataType><ns2:Identifier>i=7</ns2:Identifier></ns2:DataType><ns2:ValueRank>-1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/></ns2:Argument></ns2:Body></ns2:ExtensionObject><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>Data</ns2:Name><ns2:DataType><ns2:Identifier>i=15</ns2:Identifier></ns2:DataType><ns2:ValueRank>-1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/></ns2:Argument></ns2:Body></ns2:ExtensionObject></ns2:ListOfExtensionObject>")));
    Object valueObject = decoder.decodeVariantValue();
    DataValue value = new DataValue(new Variant(valueObject));
    node.setValue(value);
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:15,代码来源:UaVariableLoader.java

示例12: buildNode291

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode291()
        throws Exception {
    UaVariableNode node = new TwoStateVariableNode(this.nodeManager, NodeId.parse("ns=0;i=9073"), new QualifiedName(0, "EnabledState"), new LocalizedText("en", "EnabledState"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=21"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2881"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9074"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9093"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9102"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=8995"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2881"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9074"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9093"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9073"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9102"), NodeClass.Variable, true));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:16,代码来源:UaVariableLoader.java

示例13: buildNode891

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode891()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=11278"), new QualifiedName(0, "InsertEventCapability"), new LocalizedText("en", "InsertEventCapability"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=1"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=11278"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2330"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=11278"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=11278"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=11278"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2330"), NodeClass.ObjectType, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:10,代码来源:UaVariableLoader.java

示例14: buildNode1278

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode1278()
        throws Exception {
    UaVariableNode node = new DataTypeDescriptionNode(this.nodeManager, NodeId.parse("ns=0;i=12178"), new QualifiedName(0, "DoubleComplexNumberType"), new LocalizedText("en", "DoubleComplexNumberType"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=12"), -1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=12178"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=12174"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12178"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=8252"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12178"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=69"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12178"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=8252"), NodeClass.Variable, false));
    String valueXml;
    XmlDecoder decoder = new XmlDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:String xmlns=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\">//xs:element[@name='DoubleComplexNumberType']</ns2:String>")));
    Object valueObject = decoder.decodeVariantValue();
    DataValue value = new DataValue(new Variant(valueObject));
    node.setValue(value);
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:15,代码来源:UaVariableLoader.java

示例15: buildNode379

import com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName; //导入依赖的package包/类
private void buildNode379()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=13631"), new QualifiedName(0, "CertificateTypes"), new LocalizedText("en", "CertificateTypes"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=17"), 1, Optional.of(new UInteger[]{}), UByte.valueOf(1), UByte.valueOf(1), Optional.of(0.0D), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=13631"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12555"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13631"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13631"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13631"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12555"), NodeClass.ObjectType, false));
    this.nodeManager.addNode(node);
}
 
开发者ID:digitalpetri,项目名称:ua-server-sdk,代码行数:10,代码来源:UaVariableLoader.java


注:本文中的com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。