View Issue Details

IDProjectCategoryView StatusLast Update
000667210000-003: Address SpaceSpecpublic2021-09-27 19:02
ReporterHerbert Oppmann Assigned ToJeff Harding  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Summary0006672: Types which represent a collection of bits
Description

For types, which represent a collection of bits, OPC UA offers three possibilities:

1) The OptionSet DataType defined in Part 3
2) The OptionSetType VariableType defined in Part 5
3) Just a DataType derived from some UInteger DataType with an OptionSetValues property

While the 3rd possibility is often used in namespace 0, it is barely visible in the specification. Only in Part 3, Table 16, at the OptionSetValues property, does it say "applies for OptionSet DataTypes and UInteger DataTypes". It's just these three words. And in Part 5, OptionSetType mentions the OptionSet DataType and gives advice when to use what, but does not mention the third possibility.

Suggestion: Create a general chapter about "Types which represent a collection of bits", e.g. in Part 3, chapter 8.1. Mention the three possibilities and give advice when to use what. Then the paragraph with the advice in Part 5 at OptionSetType can be removed.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0007309 assignedJeff Harding OptionSet Examples needed 

Activities

Jim Luth

2021-04-06 15:52

administrator   ~0014166

Not for 1.05.0 RC

Jeff Harding

2021-09-27 19:01

developer   ~0015034

During 1.05 RC review we agreed that in future a section which provides examples of when the alternative approaches for OptionSet should be considered.

Issue History

Date Modified Username Field Change
2021-03-19 13:46 Herbert Oppmann New Issue
2021-04-06 15:52 Jim Luth Note Added: 0014166
2021-04-06 15:52 Jim Luth Assigned To => Jeff Harding
2021-04-06 15:52 Jim Luth Status new => assigned
2021-09-27 19:01 Jeff Harding Note Added: 0015034
2021-09-27 19:02 Jeff Harding Relationship added related to 0007309