use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.SubscriptionDiagnosticsArrayTypeNode in project milo by eclipse.
the class SessionDiagnosticsObjectTypeNode method setSubscriptionDiagnosticsArray.
@Override
public void setSubscriptionDiagnosticsArray(SubscriptionDiagnosticsDataType[] subscriptionDiagnosticsArray) throws UaException {
SubscriptionDiagnosticsArrayTypeNode node = getSubscriptionDiagnosticsArrayNode();
ExtensionObject[] encoded = ExtensionObject.encodeArray(client.getStaticSerializationContext(), subscriptionDiagnosticsArray);
node.setValue(new Variant(encoded));
}
use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.SubscriptionDiagnosticsArrayTypeNode in project milo by eclipse.
the class ServerDiagnosticsTypeNode method setSubscriptionDiagnosticsArray.
@Override
public void setSubscriptionDiagnosticsArray(SubscriptionDiagnosticsDataType[] subscriptionDiagnosticsArray) throws UaException {
SubscriptionDiagnosticsArrayTypeNode node = getSubscriptionDiagnosticsArrayNode();
ExtensionObject[] encoded = ExtensionObject.encodeArray(client.getStaticSerializationContext(), subscriptionDiagnosticsArray);
node.setValue(new Variant(encoded));
}
Aggregations