Search in sources :

Example 1 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class VariableNodeLoader method loadNode734.

private void loadNode734() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ProgramStateMachineType_Deletable, new QualifiedName(0, "Deletable"), new LocalizedText("en", "Deletable"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.Boolean, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_Deletable, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_Deletable, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_Deletable, Identifiers.HasProperty, Identifiers.ProgramStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) PropertyTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 2 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class VariableNodeLoader method loadNode870.

private void loadNode870() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.LocalTime, new QualifiedName(0, "LocalTime"), new LocalizedText("en", "LocalTime"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.TimeZoneDataType, -2, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.LocalTime, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) PropertyTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 3 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class VariableNodeLoader method loadNode285.

private void loadNode285() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.AcknowledgeableConditionType_EnabledState_Id, new QualifiedName(0, "Id"), new LocalizedText("en", "Id"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.Boolean, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.AcknowledgeableConditionType_EnabledState_Id, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.AcknowledgeableConditionType_EnabledState_Id, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.AcknowledgeableConditionType_EnabledState_Id, Identifiers.HasProperty, Identifiers.AcknowledgeableConditionType_EnabledState.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) PropertyTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 4 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class VariableNodeLoader method loadNode901.

private void loadNode901() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ServerType_ServerCapabilities_MaxQueryContinuationPoints, new QualifiedName(0, "MaxQueryContinuationPoints"), new LocalizedText("en", "MaxQueryContinuationPoints"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.UInt16, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_MaxQueryContinuationPoints, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_MaxQueryContinuationPoints, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_MaxQueryContinuationPoints, Identifiers.HasProperty, Identifiers.ServerType_ServerCapabilities.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) PropertyTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 5 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class VariableNodeLoader method loadNode895.

private void loadNode895() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ServerType_ServerCapabilities_LocaleIdArray, new QualifiedName(0, "LocaleIdArray"), new LocalizedText("en", "LocaleIdArray"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.LocaleId, 1, new UInteger[] { org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger.valueOf(0) }, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_LocaleIdArray, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_LocaleIdArray, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerType_ServerCapabilities_LocaleIdArray, Identifiers.HasProperty, Identifiers.ServerType_ServerCapabilities.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) PropertyTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Aggregations

Reference (org.eclipse.milo.opcua.sdk.core.Reference)477 PropertyTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode)477 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)477 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)477 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)476 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)169 StringReader (java.io.StringReader)168 OpcUaXmlStreamDecoder (org.eclipse.milo.opcua.stack.core.serialization.OpcUaXmlStreamDecoder)168 VariableNode (org.eclipse.milo.opcua.sdk.core.nodes.VariableNode)1 ExpandedNodeId (org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId)1 NodeId (org.eclipse.milo.opcua.stack.core.types.builtin.NodeId)1 UShort (org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort)1