本文整理汇总了Java中org.eclipse.milo.opcua.stack.core.types.builtin.Variant.NULL_VALUE属性的典型用法代码示例。如果您正苦于以下问题:Java Variant.NULL_VALUE属性的具体用法?Java Variant.NULL_VALUE怎么用?Java Variant.NULL_VALUE使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.milo.opcua.stack.core.types.builtin.Variant
的用法示例。
在下文中一共展示了Variant.NULL_VALUE属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: parseValue
public static DataValue parseValue(Object value, Marshaller marshaller) {
JAXBElement<?> jaxbElement = JAXBElement.class.cast(value);
StringWriter sw = new StringWriter();
try {
marshaller.marshal(jaxbElement, sw);
} catch (JAXBException e) {
LOGGER.warn("unable to marshal JAXB element: " + jaxbElement, e);
return new DataValue(Variant.NULL_VALUE);
}
String xmlString = sw.toString();
try {
XmlDecoder xmlDecoder = new XmlDecoder(new StringReader(xmlString));
Object valueObject = xmlDecoder.decodeVariantValue();
return new DataValue(new Variant(valueObject));
} catch (Throwable t) {
LOGGER.warn("unable to parse Value: " + xmlString, t);
return new DataValue(Variant.NULL_VALUE);
}
}
示例2: buildNode101
private void buildNode101()
throws Exception {
UaVariableNode node = new DataTypeDescriptionNode(this.nodeMap, NodeId.parse("ns=0;i=12712"), new QualifiedName(0, "RelativePathElement"), new LocalizedText("en", "RelativePathElement"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=12"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12712"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=538"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12712"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=8252"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12712"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=69"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12712"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=8252"), NodeClass.Variable, false));
String valueXml;
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:String xmlns=\"http://opcfoundation.org/BinarySchema/\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\" xmlns:ns3=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\">//xs:element[@name='RelativePathElement']</ns2:String>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
示例3: buildNode721
private void buildNode721()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=2338"), new QualifiedName(0, "DeleteAtTimeCapability"), new LocalizedText("en", "DeleteAtTimeCapability"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=1"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2338"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2330"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2338"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2338"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2338"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2330"), NodeClass.ObjectType, false));
this.nodeMap.addNode(node);
}
示例4: buildNode1212
private void buildNode1212()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=12101"), new QualifiedName(0, "ClientDescription"), new LocalizedText("en", "ClientDescription"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=308"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12101"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12101"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12101"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12101"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
示例5: buildNode1244
private void buildNode1244()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=12133"), new QualifiedName(0, "DeleteNodesCount"), new LocalizedText("en", "DeleteNodesCount"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=871"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12133"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12133"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12133"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12133"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12098"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
示例6: buildNode1280
private void buildNode1280()
throws Exception {
UaVariableNode node = new DataTypeDescriptionNode(this.nodeMap, NodeId.parse("ns=0;i=12186"), new QualifiedName(0, "DoubleComplexNumberType"), new LocalizedText("en", "DoubleComplexNumberType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=12"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12186"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=12182"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12186"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=7617"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12186"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=69"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12186"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=7617"), NodeClass.Variable, false));
String valueXml;
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:String xmlns=\"http://opcfoundation.org/BinarySchema/\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\" xmlns:ns3=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\">DoubleComplexNumberType</ns2:String>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
示例7: buildNode588
private void buildNode588()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=14415"), new QualifiedName(0, "ServerNetworkGroups"), new LocalizedText("en", "ServerNetworkGroups"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=11944"), 1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=14415"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2296"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=14415"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=14415"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2296"), NodeClass.Object, false));
this.nodeMap.addNode(node);
}
示例8: buildNode581
private void buildNode581()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=2092"), new QualifiedName(0, "NodesToAdd"), new LocalizedText("en", "NodesToAdd"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=376"), 1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2092"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2091"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2092"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2092"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2092"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2091"), NodeClass.ObjectType, false));
this.nodeMap.addNode(node);
}
示例9: buildNode466
private void buildNode466()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=13975"), new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=296"), 1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=13975"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13974"), NodeClass.Method, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=13975"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=13975"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=13975"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=13974"), NodeClass.Method, false));
String valueXml;
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:ListOfExtensionObject xmlns=\"http://opcfoundation.org/BinarySchema/\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\" xmlns:ns3=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\"><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>Masks</ns2:Name><ns2:DataType><ns2:Identifier>i=7</ns2:Identifier></ns2:DataType><ns2:ValueRank>-1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/></ns2:Argument></ns2:Body></ns2:ExtensionObject></ns2:ListOfExtensionObject>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
示例10: buildNode686
private void buildNode686()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=2266"), new QualifiedName(0, "BuildDate"), new LocalizedText("en", "BuildDate"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=294"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 1000.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2266"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2260"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2266"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2266"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2260"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
示例11: buildNode177
private void buildNode177()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=12832"), new QualifiedName(0, "ReadCount"), new LocalizedText("en", "ReadCount"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=871"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12832"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12816"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12832"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12832"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12832"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12816"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
示例12: buildNode120
private void buildNode120()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=12778"), new QualifiedName(0, "OutputArguments"), new LocalizedText("en", "OutputArguments"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=296"), 1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=12778"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12777"), NodeClass.Method, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12778"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12778"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=12777"), NodeClass.Method, false));
String valueXml;
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:ListOfExtensionObject xmlns=\"http://opcfoundation.org/BinarySchema/\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\" xmlns:ns3=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\"><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>Certificates</ns2:Name><ns2:DataType><ns2:Identifier>i=15</ns2:Identifier></ns2:DataType><ns2:ValueRank>1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/></ns2:Argument></ns2:Body></ns2:ExtensionObject></ns2:ListOfExtensionObject>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
示例13: buildNode662
private void buildNode662()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=2239"), new QualifiedName(0, "BrowseNextCount"), new LocalizedText("en", "BrowseNextCount"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=871"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2239"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2197"), NodeClass.VariableType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2239"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2239"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2239"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2197"), NodeClass.VariableType, false));
this.nodeMap.addNode(node);
}
示例14: buildNode814
private void buildNode814()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=2991"), new QualifiedName(0, "InputArguments"), new LocalizedText("en", "InputArguments"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=296"), 1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2991"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2949"), NodeClass.Method, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2991"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2991"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2991"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2949"), NodeClass.Method, false));
String valueXml;
OpcUaXmlStreamDecoder decoder = new OpcUaXmlStreamDecoder(new StringReader(new String("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns2:ListOfExtensionObject xmlns=\"http://opcfoundation.org/BinarySchema/\" xmlns:ns2=\"http://opcfoundation.org/UA/2008/02/Types.xsd\" xmlns:ns3=\"http://opcfoundation.org/UA/2011/03/UANodeSet.xsd\"><ns2:ExtensionObject><ns2:TypeId><ns2:Identifier>i=297</ns2:Identifier></ns2:TypeId><ns2:Body><ns2:Argument><ns2:Name>ShelvingTime</ns2:Name><ns2:DataType><ns2:Identifier>i=290</ns2:Identifier></ns2:DataType><ns2:ValueRank>-1</ns2:ValueRank><ns2:ArrayDimensions/><ns2:Description><ns2:Locale>\n </ns2:Locale><ns2:Text>If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved.</ns2:Text></ns2:Description></ns2:Argument></ns2:Body></ns2:ExtensionObject></ns2:ListOfExtensionObject>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
示例15: buildNode543
private void buildNode543()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=2025"), new QualifiedName(0, "EnabledFlag"), new LocalizedText("en", "EnabledFlag"), new LocalizedText("en", "If TRUE the diagnostics collection is enabled."), UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=1"), -1, new UInteger[]{}, UByte.valueOf(3), UByte.valueOf(3), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2025"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2020"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2025"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2025"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2025"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2020"), NodeClass.ObjectType, false));
this.nodeMap.addNode(node);
}