fix: preserve history sentinels and alarm SDK metadata
This commit is contained in:
@@ -30,8 +30,8 @@ internal static class AdvertisedAggregateFunctions
|
||||
private static readonly object SyncGate = new();
|
||||
/// <summary>Every standard aggregate-function NodeId the SDK's nodeset knows (<c>ObjectIds.AggregateFunction_*</c>).</summary>
|
||||
private static readonly NodeId[] StandardAggregateIds = typeof(ObjectIds)
|
||||
.GetFields(BindingFlags.Public | BindingFlags.Static)
|
||||
.Where(f => f.FieldType == typeof(NodeId) && f.Name.StartsWith("AggregateFunction_", StringComparison.Ordinal))
|
||||
.GetProperties(BindingFlags.Public | BindingFlags.Static)
|
||||
.Where(f => f.PropertyType == typeof(NodeId) && f.Name.StartsWith("AggregateFunction_", StringComparison.Ordinal))
|
||||
.Select(f => (NodeId)f.GetValue(null)!)
|
||||
.ToArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user