本文整理汇总了Java中org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass类的典型用法代码示例。如果您正苦于以下问题:Java NodeClass类的具体用法?Java NodeClass怎么用?Java NodeClass使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NodeClass类属于org.eclipse.milo.opcua.stack.core.types.enumerated包,在下文中一共展示了NodeClass类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ReferenceTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public ReferenceTypeNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
boolean isAbstract,
boolean symmetric,
LocalizedText inverseName) {
super(nodeId, NodeClass.ReferenceType, browseName, displayName, description, writeMask, userWriteMask);
this.isAbstract = isAbstract;
this.symmetric = symmetric;
this.inverseName = inverseName;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:18,代码来源:ReferenceTypeNodeAttributes.java
示例2: NodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public NodeAttributes(NodeId nodeId,
NodeClass nodeClass,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask) {
this.nodeId = nodeId;
this.nodeClass = nodeClass;
this.browseName = browseName;
this.displayName = displayName;
this.description = description;
this.writeMask = writeMask;
this.userWriteMask = userWriteMask;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:17,代码来源:NodeAttributes.java
示例3: VariableTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public VariableTypeNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
DataValue value,
NodeId dataType,
int valueRank,
UInteger[] arrayDimensions,
boolean isAbstract) {
super(nodeId, NodeClass.VariableType, browseName, displayName, description, writeMask, userWriteMask);
this.value = value;
this.dataType = dataType;
this.valueRank = valueRank;
this.arrayDimensions = arrayDimensions;
this.isAbstract = isAbstract;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:22,代码来源:VariableTypeNodeAttributes.java
示例4: buildNode193
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode193() {
UaObjectNode node = new TransitionNode(this.nodeMap, NodeId.parse("ns=0;i=2412"), new QualifiedName(0, "RunningToHalted"), new LocalizedText("en", "RunningToHalted"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), UByte.valueOf(0));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2402"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2406"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2413"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2402"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2406"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2429"), NodeClass.Method, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=54"), ExpandedNodeId.parse("svr=0;i=2378"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2310"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2413"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2412"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2429"), NodeClass.Method, true));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:17,代码来源:UaObjectLoader.java
示例5: buildNode71
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode71() {
UaObjectTypeNode node = new UaObjectTypeNode(this.nodeMap, NodeId.parse("ns=0;i=2310"), new QualifiedName(0, "TransitionType"), new LocalizedText("en", "TransitionType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2312"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=58"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2312"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2935"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2936"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2940"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2942"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2943"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2945"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=9337"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=9338"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=9339"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=9340"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2408"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2410"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2412"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2414"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2416"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2418"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2420"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2422"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2310"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2424"), NodeClass.Object, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:27,代码来源:UaObjectTypeLoader.java
示例6: buildNode192
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode192() {
UaObjectNode node = new TransitionNode(this.nodeMap, NodeId.parse("ns=0;i=2410"), new QualifiedName(0, "ReadyToRunning"), new LocalizedText("en", "ReadyToRunning"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), UByte.valueOf(0));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2400"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2402"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2411"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=2400"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=2402"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2426"), NodeClass.Method, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=54"), ExpandedNodeId.parse("svr=0;i=2378"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2310"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2391"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2411"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2410"), NodeId.parse("ns=0;i=53"), ExpandedNodeId.parse("svr=0;i=2426"), NodeClass.Method, true));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:17,代码来源:UaObjectLoader.java
示例7: removeProperty
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public void removeProperty(UaVariableNode node) {
removeReference(new Reference(
getNodeId(),
Identifiers.HasProperty,
node.getNodeId().expanded(),
NodeClass.Variable,
true
));
node.removeReference(new Reference(
node.getNodeId(),
Identifiers.HasProperty,
getNodeId().expanded(),
getNodeClass(),
false
));
}
开发者ID:eclipse,项目名称:milo,代码行数:18,代码来源:UaNode.java
示例8: buildNode26
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode26() {
UaObjectTypeNode node = new UaObjectTypeNode(this.nodeMap, NodeId.parse("ns=0;i=9906"), new QualifiedName(0, "NonExclusiveLimitAlarmType"), new LocalizedText("en", "NonExclusiveLimitAlarmType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), false);
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9963"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10020"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10029"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10038"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10047"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=2955"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9963"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10020"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10029"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10038"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=10047"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=10060"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=10368"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9906"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=10214"), NodeClass.ObjectType, true));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:19,代码来源:UaObjectTypeLoader.java
示例9: getBrowseDescription
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private BrowseDescription getBrowseDescription(NodeId nodeId) {
return new BrowseDescription(
nodeId,
BrowseDirection.Forward,
Identifiers.References,
true,
uint(NodeClass.Object.getValue() | NodeClass.Variable.getValue()),
uint(BrowseResultMask.All.getValue())
);
}
开发者ID:osswangxining,项目名称:iot-edge-greengrass,代码行数:11,代码来源:OpcUaServerMonitor.java
示例10: VariableNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public VariableNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
DataValue value,
NodeId dataType,
int valueRank,
UInteger[] arrayDimensions,
UByte accessLevel,
UByte userAccessLevel,
Double minimumSamplingInterval,
boolean historizing) {
super(nodeId, NodeClass.Variable, browseName, displayName, description, writeMask, userWriteMask);
this.value = value;
this.dataType = dataType;
this.valueRank = valueRank;
this.arrayDimensions = arrayDimensions;
this.accessLevel = accessLevel;
this.userAccessLevel = userAccessLevel;
this.minimumSamplingInterval = minimumSamplingInterval;
this.historizing = historizing;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:28,代码来源:VariableNodeAttributes.java
示例11: MethodNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public MethodNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
boolean executable,
boolean userExecutable) {
super(nodeId, NodeClass.Method, browseName, displayName, description, writeMask, userWriteMask);
this.executable = executable;
this.userExecutable = userExecutable;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:16,代码来源:MethodNodeAttributes.java
示例12: DataTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public DataTypeNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
boolean isAbstract) {
super(nodeId, NodeClass.DataType, browseName, displayName, description, writeMask, userWriteMask);
this.isAbstract = isAbstract;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:14,代码来源:DataTypeNodeAttributes.java
示例13: ObjectTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public ObjectTypeNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
boolean isAbstract) {
super(nodeId, NodeClass.ObjectType, browseName, displayName, description, writeMask, userWriteMask);
this.isAbstract = isAbstract;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:14,代码来源:ObjectTypeNodeAttributes.java
示例14: ObjectNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public ObjectNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
UByte eventNotifier) {
super(nodeId, NodeClass.Object, browseName, displayName, description, writeMask, userWriteMask);
this.eventNotifier = eventNotifier;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:14,代码来源:ObjectNodeAttributes.java
示例15: ViewNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public ViewNodeAttributes(
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
boolean containsNoLoops,
UByte eventNotifier) {
super(nodeId, NodeClass.View, browseName, displayName, description, writeMask, userWriteMask);
this.containsNoLoops = containsNoLoops;
this.eventNotifier = eventNotifier;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:16,代码来源:ViewNodeAttributes.java
示例16: Reference
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
public Reference(NodeId sourceNodeId,
NodeId referenceTypeId,
ExpandedNodeId targetNodeId,
NodeClass targetNodeClass,
boolean forward) {
this.sourceNodeId = sourceNodeId;
this.referenceTypeId = referenceTypeId;
this.targetNodeId = targetNodeId;
this.targetNodeClass = targetNodeClass;
this.forward = forward;
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:12,代码来源:Reference.java
示例17: buildNode132
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode132() {
UaObjectNode node = new StateNode(this.nodeMap, NodeId.parse("ns=0;i=9333"), new QualifiedName(0, "Low"), new LocalizedText("en", "Low"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), UByte.valueOf(0));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9318"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9334"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=9337"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=9338"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2307"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=9318"), NodeClass.ObjectType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9334"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=52"), ExpandedNodeId.parse("svr=0;i=9337"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9333"), NodeId.parse("ns=0;i=51"), ExpandedNodeId.parse("svr=0;i=9338"), NodeClass.Object, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:14,代码来源:UaObjectLoader.java
示例18: buildNode87
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode87()
throws Exception {
UaVariableNode node = new DataTypeDescriptionNode(this.nodeMap, NodeId.parse("ns=0;i=8576"), new QualifiedName(0, "LiteralOperand"), new LocalizedText("en", "LiteralOperand"), 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=8576"), NodeId.parse("ns=0;i=39"), ExpandedNodeId.parse("svr=0;i=596"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=8576"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=8252"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=8576"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=69"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=8576"), 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='LiteralOperand']</ns2:String>")));
Object valueObject = decoder.readVariantValue();
DataValue value = new DataValue(new Variant(valueObject));
node.setValue(value);
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:15,代码来源:UaVariableLoader.java
示例19: buildNode211
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode211()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=12866"), new QualifiedName(0, "TransportProtocol"), new LocalizedText("en", "TransportProtocol"), 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=12866"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12860"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=12866"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12866"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=12866"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=12860"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:10,代码来源:UaVariableLoader.java
示例20: buildNode352
import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; //导入依赖的package包/类
private void buildNode352()
throws Exception {
UaVariableNode node = new PropertyNode(this.nodeMap, NodeId.parse("ns=0;i=9330"), new QualifiedName(0, "StateNumber"), new LocalizedText("en", "StateNumber"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=7"), -1, new UInteger[]{}, UByte.valueOf(1), UByte.valueOf(1), 0.0D, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=9330"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9329"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=9330"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=68"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9330"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=9330"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=9329"), NodeClass.Object, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:10,代码来源:UaVariableLoader.java
注:本文中的org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论