Search in sources :

Example 26 with LocalizedText

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

the class VariableNodeLoader method loadNode1083.

private void loadNode1083() {
    BaseDataVariableTypeNode node = new BaseDataVariableTypeNode(this.context, Identifiers.SamplingIntervalDiagnosticsType_MaxSampledMonitoredItemsCount, new QualifiedName(0, "MaxSampledMonitoredItemsCount"), new LocalizedText("en", "MaxSampledMonitoredItemsCount"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.UInt32, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.SamplingIntervalDiagnosticsType_MaxSampledMonitoredItemsCount, Identifiers.HasTypeDefinition, Identifiers.BaseDataVariableType.expanded(), true));
    node.addReference(new Reference(Identifiers.SamplingIntervalDiagnosticsType_MaxSampledMonitoredItemsCount, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.SamplingIntervalDiagnosticsType_MaxSampledMonitoredItemsCount, Identifiers.HasComponent, Identifiers.SamplingIntervalDiagnosticsType.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 27 with LocalizedText

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

the class VariableNodeLoader method loadNode547.

private void loadNode547() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.BaseEventType_EventType, new QualifiedName(0, "EventType"), new LocalizedText("en", "EventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.NodeId, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
    node.addReference(new Reference(Identifiers.BaseEventType_EventType, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.BaseEventType_EventType, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.BaseEventType_EventType, Identifiers.HasProperty, Identifiers.BaseEventType.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 28 with LocalizedText

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

the class VariableNodeLoader method loadNode1176.

private void loadNode1176() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ProgramStateMachineType_ProgramDiagnostics_CreateClientName, new QualifiedName(0, "CreateClientName"), new LocalizedText("en", "CreateClientName"), 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.ProgramStateMachineType_ProgramDiagnostics_CreateClientName, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ProgramDiagnostics_CreateClientName, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ProgramDiagnostics_CreateClientName, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_ProgramDiagnostics.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 29 with LocalizedText

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

the class VariableNodeLoader method loadNode1237.

private void loadNode1237() {
    BaseDataVariableTypeNode node = new BaseDataVariableTypeNode(this.context, Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteSubscriptionsCount, new QualifiedName(0, "DeleteSubscriptionsCount"), new LocalizedText("en", "DeleteSubscriptionsCount"), 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.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteSubscriptionsCount, Identifiers.HasTypeDefinition, Identifiers.BaseDataVariableType.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteSubscriptionsCount, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteSubscriptionsCount, Identifiers.HasComponent, Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics.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 30 with LocalizedText

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

the class VariableNodeLoader method loadNode882.

private void loadNode882() {
    PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.HistoryServerCapabilitiesType_InsertAnnotationCapability, new QualifiedName(0, "InsertAnnotationCapability"), new LocalizedText("en", "InsertAnnotationCapability"), 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.HistoryServerCapabilitiesType_InsertAnnotationCapability, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
    node.addReference(new Reference(Identifiers.HistoryServerCapabilitiesType_InsertAnnotationCapability, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.HistoryServerCapabilitiesType_InsertAnnotationCapability, Identifiers.HasProperty, Identifiers.HistoryServerCapabilitiesType.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