Search in sources :

Example 26 with UaDataTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode in project milo by eclipse.

the class DataTypeNodeLoader method loadNode38.

private void loadNode38() {
    UaDataTypeNode node = new UaDataTypeNode(this.context, Identifiers.Duration, new QualifiedName(0, "Duration"), new LocalizedText("en", "Duration"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.Duration, Identifiers.HasSubtype, Identifiers.Double.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) UaDataTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 27 with UaDataTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode in project milo by eclipse.

the class DataTypeNodeLoader method loadNode57.

private void loadNode57() {
    UaDataTypeNode node = new UaDataTypeNode(this.context, Identifiers.X509IdentityToken, new QualifiedName(0, "X509IdentityToken"), new LocalizedText("en", "X509IdentityToken"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.X509IdentityToken, Identifiers.HasSubtype, Identifiers.UserIdentityToken.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) UaDataTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 28 with UaDataTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode in project milo by eclipse.

the class DataTypeNodeLoader method loadNode79.

private void loadNode79() {
    UaDataTypeNode node = new UaDataTypeNode(this.context, Identifiers.DecimalString, new QualifiedName(0, "DecimalString"), new LocalizedText("en", "DecimalString"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.DecimalString, Identifiers.HasSubtype, Identifiers.String.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) UaDataTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 29 with UaDataTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode in project milo by eclipse.

the class DataTypeNodeLoader method loadNode123.

private void loadNode123() {
    UaDataTypeNode node = new UaDataTypeNode(this.context, Identifiers.NetworkGroupDataType, new QualifiedName(0, "NetworkGroupDataType"), new LocalizedText("en", "NetworkGroupDataType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.NetworkGroupDataType, Identifiers.HasSubtype, Identifiers.Structure.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) UaDataTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 30 with UaDataTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode in project milo by eclipse.

the class DataTypeNodeLoader method loadNode22.

private void loadNode22() {
    UaDataTypeNode node = new UaDataTypeNode(this.context, Identifiers.DataValue, new QualifiedName(0, "DataValue"), new LocalizedText("en", "DataValue"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.DataValue, Identifiers.HasSubtype, Identifiers.BaseDataType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) UaDataTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Aggregations

UaDataTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode)133 Reference (org.eclipse.milo.opcua.sdk.core.Reference)131 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)131 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)130 UaNode (org.eclipse.milo.opcua.sdk.server.nodes.UaNode)1 NodeId (org.eclipse.milo.opcua.stack.core.types.builtin.NodeId)1 EnumDefinition (org.eclipse.milo.opcua.stack.core.types.structured.EnumDefinition)1 EnumDescription (org.eclipse.milo.opcua.stack.core.types.structured.EnumDescription)1 EnumField (org.eclipse.milo.opcua.stack.core.types.structured.EnumField)1