use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.SessionDiagnosticsVariableTypeNode in project milo by eclipse.
the class SessionDiagnosticsObjectTypeNode method setSessionDiagnostics.
@Override
public void setSessionDiagnostics(SessionDiagnosticsDataType sessionDiagnostics) throws UaException {
SessionDiagnosticsVariableTypeNode node = getSessionDiagnosticsNode();
ExtensionObject value = ExtensionObject.encode(client.getStaticSerializationContext(), sessionDiagnostics);
node.setValue(new Variant(value));
}
Aggregations