當前位置: 首頁>>代碼示例>>Java>>正文


Java LocalizedText類代碼示例

本文整理匯總了Java中com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText的典型用法代碼示例。如果您正苦於以下問題:Java LocalizedText類的具體用法?Java LocalizedText怎麽用?Java LocalizedText使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


LocalizedText類屬於com.digitalpetri.opcua.stack.core.types.builtin包,在下文中一共展示了LocalizedText類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: buildNode302

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode302()
        throws Exception {
    UaVariableNode node = new TwoStateVariableNode(this.nodeManager, NodeId.parse("ns=0;i=9118"), 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=9118"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2915"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9119"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9160"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9169"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9178"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=8995"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2915"), NodeClass.ObjectType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9119"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9160"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9169"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9118"), NodeId.parse("ns=0;i=9004"), ExpandedNodeId.parse("svr=0;i=9178"), NodeClass.Object, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:18,代碼來源:UaVariableLoader.java

示例2: buildNode24

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode24() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.nodeManager, NodeId.parse("ns=0;i=2755"), new QualifiedName(0, "StateVariableType"), new LocalizedText("en", "StateVariableType"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), Optional.empty(), NodeId.parse("ns=0;i=21"), -1, Optional.of(new UInteger[]{}), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2769"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2756"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2757"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2758"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2759"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2756"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2757"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2758"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2759"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=2760"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2775"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2776"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2755"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=8995"), NodeClass.VariableType, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:19,代碼來源:UaVariableTypeLoader.java

示例3: buildNode360

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode360()
        throws Exception {
    UaVariableNode node = new FiniteTransitionVariableNode(this.nodeManager, NodeId.parse("ns=0;i=9461"), new QualifiedName(0, "LastTransition"), new LocalizedText("en", "LastTransition"), 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=9461"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9455"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9462"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9465"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2767"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=80"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9455"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9462"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9461"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9465"), NodeClass.Variable, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:14,代碼來源:UaVariableLoader.java

示例4: buildNode1228

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode1228()
        throws Exception {
    UaVariableNode node = new BaseDataVariableNode(this.nodeManager, NodeId.parse("ns=0;i=12117"), new QualifiedName(0, "HistoryUpdateCount"), new LocalizedText("en", "HistoryUpdateCount"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=871"), -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=12117"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12117"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12117"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12117"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:10,代碼來源:UaVariableLoader.java

示例5: buildNode1185

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode1185()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=12037"), new QualifiedName(0, "XAxisDefinition"), new LocalizedText("en", "XAxisDefinition"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=12079"), -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=12037"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12029"), NodeClass.VariableType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12037"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12037"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12037"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12029"), NodeClass.VariableType, false));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:10,代碼來源:UaVariableLoader.java

示例6: buildNode216

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode216()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=12874"), 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=12874"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12873"), NodeClass.Method, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12874"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12874"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12873"), 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>SubscriptionId</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:ListOfExtensionObject>")));
    Object valueObject = decoder.decodeVariantValue();
    DataValue value = new DataValue(new Variant(valueObject));
    node.setValue(value);
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:14,代碼來源:UaVariableLoader.java

示例7: buildNode606

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode606()
        throws Exception {
    UaVariableNode node = new BaseDataVariableNode(this.nodeManager, NodeId.parse("ns=0;i=2162"), new QualifiedName(0, "SecurityRejectedRequestsCount"), new LocalizedText("en", "SecurityRejectedRequestsCount"), 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=2162"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2150"), NodeClass.VariableType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2162"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2162"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=2162"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2150"), NodeClass.VariableType, false));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:10,代碼來源:UaVariableLoader.java

示例8: buildNode903

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode903()
        throws Exception {
    UaVariableNode node = new ServerDiagnosticsSummaryNode(this.nodeManager, NodeId.parse("ns=0;i=3095"), new QualifiedName(0, "ServerDiagnosticsSummary"), new LocalizedText("en", "ServerDiagnosticsSummary"), Optional.of(new LocalizedText("en", "A summary of server level diagnostics.")), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=859"), -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=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2010"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3096"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3097"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3098"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3099"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3100"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3101"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3102"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3104"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3105"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3106"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3107"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3108"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2150"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2010"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3096"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3097"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3098"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3099"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3100"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3101"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3102"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3104"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3105"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3106"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3107"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=3095"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3108"), NodeClass.Variable, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:34,代碼來源:UaVariableLoader.java

示例9: buildNode111

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode111() {
    UaObjectNode node = new DataTypeEncodingNode(this.nodeManager, NodeId.parse("ns=0;i=885"), new QualifiedName(0, "Default XML"), new LocalizedText("en", "Default XML"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), UByte.valueOf(0));
    node.addReference(new Reference(NodeId.parse("ns=0;i=885"), NodeId.parse("ns=0;i=38"), ExpandedNodeId.parse("svr=0;i=884"), NodeClass.DataType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=885"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=8873"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=885"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=76"), NodeClass.ObjectType, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:8,代碼來源:UaObjectLoader.java

示例10: buildNode22

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode22() {
    UaMethodNode node = new UaMethodNode(this.nodeManager, NodeId.parse("ns=0;i=12777"), new QualifiedName(0, "GetRejectedList"), new LocalizedText("en", "GetRejectedList"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), true, true);
    node.addReference(new Reference(NodeId.parse("ns=0;i=12777"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12637"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12777"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12778"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12777"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12637"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=12777"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12778"), NodeClass.Variable, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:9,代碼來源:UaMethodLoader.java

示例11: buildNode7

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode7() {
    UaObjectNode node = new DirectoryNode(this.nodeManager, NodeId.parse("ns=0;i=86"), new QualifiedName(0, "Types"), new LocalizedText("en", "Types"), Optional.of(new LocalizedText("en", "The browse entry point when looking for types in the server address space.")), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), UByte.valueOf(0));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=84"), NodeClass.Object, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=61"), NodeClass.ObjectType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=88"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=89"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=90"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=91"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=86"), NodeId.parse("ns=0;i=35"), ExpandedNodeId.parse("svr=0;i=3048"), NodeClass.Object, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:12,代碼來源:UaObjectLoader.java

示例12: buildNode113

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode113() {
    UaObjectNode node = new DataTypeEncodingNode(this.nodeManager, NodeId.parse("ns=0;i=888"), new QualifiedName(0, "Default XML"), new LocalizedText("en", "Default XML"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), UByte.valueOf(0));
    node.addReference(new Reference(NodeId.parse("ns=0;i=888"), NodeId.parse("ns=0;i=38"), ExpandedNodeId.parse("svr=0;i=887"), NodeClass.DataType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=888"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=8876"), NodeClass.Variable, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=888"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=76"), NodeClass.ObjectType, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:8,代碼來源:UaObjectLoader.java

示例13: buildNode383

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode383()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=13739"), new QualifiedName(0, "OutputArguments"), new LocalizedText("en", "OutputArguments"), 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=13739"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13737"), NodeClass.Method, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13739"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=13739"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13737"), 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>ApplyChangesRequired</ns2:Name><ns2:DataType><ns2:Identifier>i=1</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,代碼行數:14,代碼來源:UaVariableLoader.java

示例14: buildNode271

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode271()
        throws Exception {
    UaVariableNode node = new PropertyNode(this.nodeManager, NodeId.parse("ns=0;i=9017"), new QualifiedName(0, "EffectiveTransitionTime"), new LocalizedText("en", "EffectiveTransitionTime"), Optional.empty(), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=294"), -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=9017"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9011"), NodeClass.Variable, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9017"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9017"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=80"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=9017"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9011"), NodeClass.Variable, false));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:10,代碼來源:UaVariableLoader.java

示例15: buildNode69

import com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText; //導入依賴的package包/類
private void buildNode69() {
    UaDataTypeNode node = new UaDataTypeNode(this.nodeManager, NodeId.parse("ns=0;i=382"), new QualifiedName(0, "DeleteNodesItem"), new LocalizedText("en", "DeleteNodesItem"), Optional.of(new LocalizedText("en", "A request to delete a node to the server address space.")), Optional.of(UInteger.valueOf(0L)), Optional.of(UInteger.valueOf(0L)), false);
    node.addReference(new Reference(NodeId.parse("ns=0;i=382"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=22"), NodeClass.DataType, false));
    node.addReference(new Reference(NodeId.parse("ns=0;i=382"), NodeId.parse("ns=0;i=38"), ExpandedNodeId.parse("svr=0;i=383"), NodeClass.Object, true));
    node.addReference(new Reference(NodeId.parse("ns=0;i=382"), NodeId.parse("ns=0;i=38"), ExpandedNodeId.parse("svr=0;i=384"), NodeClass.Object, true));
    this.nodeManager.addNode(node);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:8,代碼來源:UaDataTypeLoader.java


注:本文中的com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。