本文整理汇总了Java中org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText类的典型用法代码示例。如果您正苦于以下问题:Java LocalizedText类的具体用法?Java LocalizedText怎么用?Java LocalizedText使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LocalizedText类属于org.eclipse.milo.opcua.stack.core.types.builtin包,在下文中一共展示了LocalizedText类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: createCallMeNode
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static UaMethodNode createCallMeNode(final UShort index, final ServerNodeMap nodeMap) {
final UaMethodNode method = new UaMethodNode(
nodeMap,
new NodeId(index, "call-me-al"),
new QualifiedName(index, "Al"),
LocalizedText.english("Al"),
LocalizedText.english("Call me Al"),
UInteger.MIN, UInteger.MIN, true, true);
try {
final AnnotationBasedInvocationHandler handler = AnnotationBasedInvocationHandler
.fromAnnotatedObject(nodeMap, new CallMe());
method.setInputArguments(handler.getInputArguments());
method.setOutputArguments(handler.getOutputArguments());
method.setInvocationHandler(handler);
} catch (final Exception e) {
e.printStackTrace();
}
return method;
}
开发者ID:ctron,项目名称:milo-ece2017,代码行数:21,代码来源:CallMe.java
示例2: ReferenceTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例3: NodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例4: VariableTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例5: buildNode8
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
private void buildNode8() {
UaVariableTypeNode node = new UaVariableTypeNode(this.nodeMap, NodeId.parse("ns=0;i=2138"), new QualifiedName(0, "ServerStatusType"), new LocalizedText("en", "ServerStatusType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0L), UInteger.valueOf(0L), new DataValue(Variant.NULL_VALUE), NodeId.parse("ns=0;i=862"), -1, new UInteger[]{}, false);
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2007"), NodeClass.Variable, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2139"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2140"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2141"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2142"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2752"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2753"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=45"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2139"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2140"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2141"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2142"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2752"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2753"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2138"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2256"), NodeClass.Variable, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:20,代码来源:UaVariableTypeLoader.java
示例6: decode
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
@Override
public VariableNode decode(UaDecoder decoder) throws UaSerializationException {
NodeId nodeId = decoder.readNodeId("NodeId");
NodeClass nodeClass = NodeClass.from(decoder.readInt32("NodeClass"));
QualifiedName browseName = decoder.readQualifiedName("BrowseName");
LocalizedText displayName = decoder.readLocalizedText("DisplayName");
LocalizedText description = decoder.readLocalizedText("Description");
UInteger writeMask = decoder.readUInt32("WriteMask");
UInteger userWriteMask = decoder.readUInt32("UserWriteMask");
ReferenceNode[] references =
decoder.readBuiltinStructArray(
"References",
ReferenceNode.class
);
Variant value = decoder.readVariant("Value");
NodeId dataType = decoder.readNodeId("DataType");
Integer valueRank = decoder.readInt32("ValueRank");
UInteger[] arrayDimensions = decoder.readArray("ArrayDimensions", decoder::readUInt32, UInteger.class);
UByte accessLevel = decoder.readByte("AccessLevel");
UByte userAccessLevel = decoder.readByte("UserAccessLevel");
Double minimumSamplingInterval = decoder.readDouble("MinimumSamplingInterval");
Boolean historizing = decoder.readBoolean("Historizing");
return new VariableNode(nodeId, nodeClass, browseName, displayName, description, writeMask, userWriteMask, references, value, dataType, valueRank, arrayDimensions, accessLevel, userAccessLevel, minimumSamplingInterval, historizing);
}
开发者ID:eclipse,项目名称:milo,代码行数:26,代码来源:VariableNode.java
示例7: buildNode164
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
private void buildNode164() {
UaObjectNode node = new ServerDiagnosticsNode(this.nodeMap, NodeId.parse("ns=0;i=2274"), new QualifiedName(0, "ServerDiagnostics"), new LocalizedText("en", "ServerDiagnostics"), new LocalizedText("en", "Reports diagnostics about the server."), UInteger.valueOf(0L), UInteger.valueOf(0L), UByte.valueOf(0));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2253"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2275"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2289"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2290"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3706"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2294"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=2020"), NodeClass.ObjectType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2253"), NodeClass.Object, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2275"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2289"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2290"), NodeClass.Variable, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=3706"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=2274"), NodeId.parse("ns=0;i=46"), ExpandedNodeId.parse("svr=0;i=2294"), NodeClass.Variable, true));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:18,代码来源:UaObjectLoader.java
示例8: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static ReferenceTypeNodeAttributes fromGenerated(GeneratedUAReferenceType gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
boolean isAbstract = gNode.isIsAbstract();
boolean symmetric = gNode.isSymmetric();
LocalizedText inverseName = gNode.getInverseName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
return new ReferenceTypeNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
isAbstract,
symmetric,
inverseName
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:38,代码来源:ReferenceTypeNodeAttributes.java
示例9: VariableNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例10: MethodNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例11: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static MethodNodeAttributes fromGenerated(GeneratedUAMethod gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
boolean executable = gNode.isExecutable();
boolean userExecutable = gNode.isUserExecutable();
return new MethodNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
executable,
userExecutable
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:32,代码来源:MethodNodeAttributes.java
示例12: DataTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static DataTypeNodeAttributes fromGenerated(GeneratedUADataType gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
boolean isAbstract = gNode.isIsAbstract();
return new DataTypeNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
isAbstract
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:30,代码来源:DataTypeNodeAttributes.java
示例14: ObjectTypeNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例15: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static ObjectTypeNodeAttributes fromGenerated(GeneratedUAObjectType gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
boolean isAbstract = gNode.isIsAbstract();
return new ObjectTypeNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
isAbstract
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:30,代码来源:ObjectTypeNodeAttributes.java
示例16: ObjectNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例17: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static ObjectNodeAttributes fromGenerated(GeneratedUAObject gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
UByte eventNotifier = ubyte(gNode.getEventNotifier());
return new ObjectNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
eventNotifier
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:30,代码来源:ObjectNodeAttributes.java
示例18: ViewNodeAttributes
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的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
示例19: fromGenerated
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
public static ViewNodeAttributes fromGenerated(GeneratedUAView gNode) {
NodeId nodeId = NodeId.parse(gNode.getNodeId());
QualifiedName browseName = QualifiedName.parse(gNode.getBrowseName());
LocalizedText displayName = gNode.getDisplayName().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.english(browseName.getName()));
LocalizedText description = gNode.getDescription().stream()
.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.orElse(LocalizedText.NULL_VALUE);
UInteger writeMask = uint(gNode.getWriteMask());
UInteger userWriteMask = uint(gNode.getUserWriteMask());
boolean containsNoLoops = gNode.isContainsNoLoops();
UByte eventNotifier = ubyte(gNode.getEventNotifier());
return new ViewNodeAttributes(
nodeId,
browseName,
displayName,
description,
writeMask,
userWriteMask,
containsNoLoops,
eventNotifier
);
}
开发者ID:digitalpetri,项目名称:uanodeset-parser,代码行数:32,代码来源:ViewNodeAttributes.java
示例20: buildNode1085
import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; //导入依赖的package包/类
private void buildNode1085()
throws Exception {
UaVariableNode node = new BaseDataVariableNode(this.nodeMap, NodeId.parse("ns=0;i=11699"), new QualifiedName(0, "DisabledMonitoredItemsSamplingCount"), new LocalizedText("en", "DisabledMonitoredItemsSamplingCount"), 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=11699"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2165"), NodeClass.VariableType, false));
node.addReference(new Reference(NodeId.parse("ns=0;i=11699"), NodeId.parse("ns=0;i=40"), ExpandedNodeId.parse("svr=0;i=63"), NodeClass.VariableType, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=11699"), NodeId.parse("ns=0;i=37"), ExpandedNodeId.parse("svr=0;i=78"), NodeClass.Object, true));
node.addReference(new Reference(NodeId.parse("ns=0;i=11699"), NodeId.parse("ns=0;i=47"), ExpandedNodeId.parse("svr=0;i=2165"), NodeClass.VariableType, false));
this.nodeMap.addNode(node);
}
开发者ID:eclipse,项目名称:milo,代码行数:10,代码来源:UaVariableLoader.java
注:本文中的org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论