OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.97k stars 950 forks source link

From stack v1.04, the SourceTimestamp of the children variables of ServerStatus variable is not equal to ServerTimestamp. Is this behavior expected? #2771

Open GhislainPr opened 1 month ago

GhislainPr commented 1 month ago

Type of issue

Current Behavior

From stack v1.05, the SourceTimestamp and ServerTimestamp of the children (CurrentTime for example) variables of ServerStatus variable are not equal.

Expected Behavior

Like in stack v1.04, the SourceTimestamp and ServerTimestamp of the children (CurrentTime for example) variables of ServerStatus variable should be equal.

Steps To Reproduce

No response

Environment

- OS:Windows11
- Environment: VS2022
- Runtime:.NET 4.6.2
- Nuget Version:
- Component:
- Server:Reference Server
- Client: UA Expert

Anything else?

No response

GhislainPr commented 1 month ago

Hi Martin, thanks a lot for your help ! You can find as attached files the screenshots. It shows that the SourceTimestamp is updated once and is frozzen after. v1.04 : CurrentTime104 v1.05 CurrentTime105 This difference of behavior comes from the difference of the code in this method : _ServerStatusValue.OnReadCurrentTime .