Phase 3 PR 76 -- OPC UA Client IHistoryProvider #75
Reference in New Issue
Block a user
Delete Branch "phase-3-pr76-opcua-client-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Driver now forwards
HistoryReadto upstream for Raw / Processed / AtTime.ReadEventsAsyncstays at the interface-defaultNotSupportedException— the call path needs anEventFilterSelectClauses spec the currentIHistoryProvidersignature doesn't carry; extending the interface is out of scope for this PR.ExecuteHistoryReadAsync— shared wire path: parse NodeId, buildHistoryReadValueIdCollection, callSession.HistoryReadAsync(RequestHeader, ExtensionObject<details>, TimestampsToReturn.Both, ...), unwrapHistoryDatapayload, preserve upstreamStatusCode+ timestamps verbatim per §8 cascading-quality.MapAggregateToNodeId— maps the 5HistoryAggregateTypevalues to OPC UA Part 13 standardAggregateFunction_*NodeIds. Future additions fail-fast onArgumentOutOfRangeException.ReadRaw—ReadRawModifiedDetailswith IsReadModified=false.ReadProcessed—ReadProcessedDetailswithProcessingIntervalin ms.ReadAtTime—ReadAtTimeDetailswithUseSimpleBounds=true.Core.Abstractions.HistoryReadResultfully-qualified vs. SDK'sOpc.Ua.HistoryReadResult.Validation
dotnet build: 0 errorsFeature complete
All 8 possible
IDriver*capabilities now implemented onOpcUaClientDriver:IDriver + ITagDiscovery + IReadable + IWritable + ISubscribable + IHostConnectivityProbe + IAlarmSource + IHistoryProvider.Test plan
ReadEventsAsyncdefaultNotSupportedException