This abstract DataType is the base DataType for all DataTypes representing a bit mask.
More...
Inherits UnifiedAutomation.UaBase.IEncodeable.
This abstract DataType is the base DataType for all DataTypes representing a bit mask.
All OptionSet DataTypes representing bit masks shall inherit from this DataType.
The DataType Nodes representing concrete subtypes of the OptionSet shall have an OptionSetValues Property.
UnifiedAutomation.UaBase.OptionSet.OptionSet |
( |
| ) |
|
|
inline |
void UnifiedAutomation.UaBase.OptionSet.Apply |
( |
OptionSet |
other | ) |
|
|
inline |
Applies the valid bits of other to the current value.
The bits set in the Value property of other are written to the Value property of this if the bit is set in ValidBits property of other and this.
- Parameters
-
void UnifiedAutomation.UaBase.OptionSet.Initialize |
( |
int |
NoOfBits | ) |
|
|
inline |
Creates the Value and ValidBits properties.
The bits in Value will not be set. All bits in ValidBits will be set.
- Parameters
-
virtual bool UnifiedAutomation.UaBase.OptionSet.IsEqual |
( |
IEncodeable |
encodeable | ) |
|
|
inlinevirtual |
byte [] UnifiedAutomation.UaBase.OptionSet.ValidBits |
|
getset |
Array of bytes with same size as value representing the valid bits in the value parameter.
When the Server returns the value to the Client, the ValidBits provides information of which bits in the bit mask have a meaning. When the Client passes the value to the Server, the ValidBits defines which bits should be written. Only those bits defined in ValidBits are changed in the bit mask, all others stay the same.
byte [] UnifiedAutomation.UaBase.OptionSet.Value |
|
getset |
Array of bytes representing the bits in the option set.
The length of the ByteString depends on the number of bits.
The documentation for this class was generated from the following files:
- C:/work/uasdknet/src/UaBase/Generated/Opc.Ua.DataTypes.cs
- C:/work/uasdknet/src/UaBase/Helpers/OptionSet.cs