use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.
the class VariableNodeLoader method loadNode1192.
private void loadNode1192() {
PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ImageItemType_YAxisDefinition, new QualifiedName(0, "YAxisDefinition"), new LocalizedText("en", "YAxisDefinition"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.AxisInformation, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
node.addReference(new Reference(Identifiers.ImageItemType_YAxisDefinition, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
node.addReference(new Reference(Identifiers.ImageItemType_YAxisDefinition, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
node.addReference(new Reference(Identifiers.ImageItemType_YAxisDefinition, Identifiers.HasProperty, Identifiers.ImageItemType.expanded(), false));
this.nodeManager.addNode(node);
}
use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.
the class VariableNodeLoader method loadNode485.
private void loadNode485() throws IOException, SAXException {
PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments, new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.Argument, 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.ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
node.addReference(new Reference(Identifiers.ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments, Identifiers.HasProperty, Identifiers.ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate.expanded(), false));
StringBuilder sb = new StringBuilder();
sb.append("<ListOfExtensionObject xmlns=\"http://opcfoundation.org/UA/2008/02/Types.xsd\"><ExtensionObject><TypeId><Identifier>i=297</Identifier> </TypeId><Body><Argument><Name>Certificate</Name><DataType><Identifier>i=15</Identifier> </DataType><ValueRank>-1</ValueRank><ArrayDimensions/> </Argument> </Body> </ExtensionObject><ExtensionObject><TypeId><Identifier>i=297</Identifier> </TypeId><Body><Argument><Name>IsTrustedCertificate</Name><DataType><Identifier>i=1</Identifier> </DataType><ValueRank>-1</ValueRank><ArrayDimensions/> </Argument> </Body> </ExtensionObject> </ListOfExtensionObject>");
String xml = sb.toString();
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(context.getServer().getSerializationContext()).setInput(new StringReader(xml));
Object o = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(o));
node.setValue(value);
this.nodeManager.addNode(node);
}
use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.
the class VariableNodeLoader method loadNode290.
private void loadNode290() {
PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.AcknowledgeableConditionType_ConfirmedState_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_ConfirmedState_Id, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
node.addReference(new Reference(Identifiers.AcknowledgeableConditionType_ConfirmedState_Id, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
node.addReference(new Reference(Identifiers.AcknowledgeableConditionType_ConfirmedState_Id, Identifiers.HasProperty, Identifiers.AcknowledgeableConditionType_ConfirmedState.expanded(), false));
this.nodeManager.addNode(node);
}
use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.
the class VariableNodeLoader method loadNode63.
private void loadNode63() throws IOException, SAXException {
PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open_InputArguments, new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.Argument, 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.ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open_InputArguments, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
node.addReference(new Reference(Identifiers.ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open_InputArguments, Identifiers.HasProperty, Identifiers.ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open.expanded(), false));
StringBuilder sb = new StringBuilder();
sb.append("<ListOfExtensionObject xmlns=\"http://opcfoundation.org/UA/2008/02/Types.xsd\"><ExtensionObject><TypeId><Identifier>i=297</Identifier> </TypeId><Body><Argument><Name>Mode</Name><DataType><Identifier>i=3</Identifier> </DataType><ValueRank>-1</ValueRank><ArrayDimensions/> </Argument> </Body> </ExtensionObject> </ListOfExtensionObject>");
String xml = sb.toString();
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(context.getServer().getSerializationContext()).setInput(new StringReader(xml));
Object o = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(o));
node.setValue(value);
this.nodeManager.addNode(node);
}
use of org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText in project milo by eclipse.
the class VariableNodeLoader method loadNode719.
private void loadNode719() {
PropertyTypeNode node = new PropertyTypeNode(this.context, Identifiers.TwoStateDiscreteType_FalseState, new QualifiedName(0, "FalseState"), new LocalizedText("en", "FalseState"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.LocalizedText, -1, new UInteger[] {}, UByte.valueOf(1), UByte.valueOf(1), 0.0, false);
node.addReference(new Reference(Identifiers.TwoStateDiscreteType_FalseState, Identifiers.HasTypeDefinition, Identifiers.PropertyType.expanded(), true));
node.addReference(new Reference(Identifiers.TwoStateDiscreteType_FalseState, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
node.addReference(new Reference(Identifiers.TwoStateDiscreteType_FalseState, Identifiers.HasProperty, Identifiers.TwoStateDiscreteType.expanded(), false));
this.nodeManager.addNode(node);
}
Aggregations