refactor: migrate OPC UA server SDK 2.0 compilation and boundaries
This commit is contained in:
@@ -51,5 +51,5 @@ internal static class AggregateFunctionMap
|
||||
/// <param name="aggregateNodeId">The per-node aggregate-function NodeId from the request.</param>
|
||||
/// <returns>The mapped aggregate, or <c>null</c>.</returns>
|
||||
public static HistoryAggregateType? Map(NodeId? aggregateNodeId) =>
|
||||
aggregateNodeId is not null && ByNodeId.TryGetValue(aggregateNodeId, out var aggregate) ? aggregate : null;
|
||||
aggregateNodeId is { } nodeId && ByNodeId.TryGetValue(nodeId, out var aggregate) ? aggregate : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user