Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample server uses old ResultManagement #1426

Open
mdornaus opened this issue Feb 6, 2025 · 1 comment
Open

Sample server uses old ResultManagement #1426

mdornaus opened this issue Feb 6, 2025 · 1 comment

Comments

@mdornaus
Copy link

mdornaus commented Feb 6, 2025

The ResultDataType on the smple server uses an old prerelease version of the ResultManagement.

E.g.:

The Type for the ResultDataType in th .bsd file form the sample server looks like:

<opc:StructuredType BaseType="ua:ExtensionObject" Name="ResultDataType">
opc:DocumentationContains fields that were created during the execution of a recipe.</opc:Documentation>
<opc:Field TypeName="opc:Bit" Name="ResultContentSpecified"/>
<opc:Field Length="31" TypeName="opc:Bit" Name="Reserved1"/>
<opc:Field TypeName="tns:ResultMetaDataType" Name="ResultMetaData"/>
<opc:Field SwitchField="ResultContentSpecified" TypeName="opc:Int32" Name="NoOfResultContent"/>
<opc:Field LengthField="NoOfResultContent" SwitchField="ResultContentSpecified" TypeName="ua:Variant" Name="ResultContent"/>
</opc:StructuredType>

But it should look like:

<opc:StructuredType BaseType="ua:ExtensionObject" Name="ResultDataType">
opc:DocumentationContains fields that were created during the execution of a recipe.</opc:Documentation>
<opc:Field TypeName="ua:ExtensionObject" Name="ResultMetaData"/>
<opc:Field TypeName="opc:Int32" Name="NoOfResultContent"/>
<opc:Field LengthField="NoOfResultContent" TypeName="ua:Variant" Name="ResultContent"/>
</opc:StructuredType>

According to spec.

@wlkrm
Copy link
Contributor

wlkrm commented Feb 6, 2025

Ah great, are you planning to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants