Search in sources :

Example 6 with LocalizedText

use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.

the class VariableNodeLoader method loadNode994.

private void loadNode994() {
    BaseDataVariableTypeNode node = new BaseDataVariableTypeNode(this.context, Identifiers.SessionDiagnosticsObjectType_SessionSecurityDiagnostics_TransportProtocol, new QualifiedName(0, "TransportProtocol"), new LocalizedText("en", "TransportProtocol"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.String, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.SessionDiagnosticsObjectType_SessionSecurityDiagnostics_TransportProtocol, Identifiers.HasTypeDefinition, Identifiers.BaseDataVariableType.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionDiagnosticsObjectType_SessionSecurityDiagnostics_TransportProtocol, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionDiagnosticsObjectType_SessionSecurityDiagnostics_TransportProtocol, Identifiers.HasComponent, Identifiers.SessionDiagnosticsObjectType_SessionSecurityDiagnostics.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) BaseDataVariableTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.BaseDataVariableTypeNode) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 7 with LocalizedText

use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.

the class VariableNodeLoader method loadNode640.

private void loadNode640() {
    BaseDataVariableTypeNode node = new BaseDataVariableTypeNode(this.context, Identifiers.SessionDiagnosticsVariableType_SetTriggeringCount, new QualifiedName(0, "SetTriggeringCount"), new LocalizedText("en", "SetTriggeringCount"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.ServiceCounterDataType, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.SessionDiagnosticsVariableType_SetTriggeringCount, Identifiers.HasTypeDefinition, Identifiers.BaseDataVariableType.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionDiagnosticsVariableType_SetTriggeringCount, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionDiagnosticsVariableType_SetTriggeringCount, Identifiers.HasComponent, Identifiers.SessionDiagnosticsVariableType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) BaseDataVariableTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.BaseDataVariableTypeNode) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 8 with LocalizedText

use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText 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 9 with LocalizedText

use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.

the class VariableNodeLoader method loadNode1259.

private void loadNode1259() {
    SubscriptionDiagnosticsArrayTypeNode node = new SubscriptionDiagnosticsArrayTypeNode(this.context, Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SubscriptionDiagnosticsArray, new QualifiedName(0, "SubscriptionDiagnosticsArray"), new LocalizedText("en", "SubscriptionDiagnosticsArray"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.SubscriptionDiagnosticsDataType, 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.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SubscriptionDiagnosticsArray, Identifiers.HasTypeDefinition, Identifiers.SubscriptionDiagnosticsArrayType.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SubscriptionDiagnosticsArray, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SubscriptionDiagnosticsArray, Identifiers.HasComponent, Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder.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) SubscriptionDiagnosticsArrayTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.variables.SubscriptionDiagnosticsArrayTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 10 with LocalizedText

use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText 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)

Aggregations

LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)1573 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)1555 Reference (org.eclipse.milo.opcua.sdk.core.Reference)1546 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)865 PropertyTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode)476 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)247 StringReader (java.io.StringReader)243 OpcUaXmlStreamDecoder (org.eclipse.milo.opcua.stack.core.serialization.OpcUaXmlStreamDecoder)243 BaseDataVariableTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.BaseDataVariableTypeNode)227 UaMethodNode (org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode)150 UaDataTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaDataTypeNode)130 UaObjectTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaObjectTypeNode)121 DataTypeEncodingTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.DataTypeEncodingTypeNode)120 DataTypeDescriptionTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.DataTypeDescriptionTypeNode)73 AggregateFunctionTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.AggregateFunctionTypeNode)37 UaVariableTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode)37 UaReferenceTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode)27 CertificateGroupFolderTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode)20 TransitionTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode)19 FolderTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode)18