UnionInstance Class
Class representing a Union Instance
Inheritance Hierarchy
SystemObject
TwinCAT.Ads.TypeSystemInstance
TwinCAT.Ads.TypeSystemSymbol
TwinCAT.Ads.TypeSystemUnionInstance
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public sealed class UnionInstance : Symbol,
IUnionInstance, ISymbol, IAttributedInstance, IInstance, IBitSizeThe UnionInstance type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the access rights. | |
|
|
Gets the Type Attributes. | |
|
|
Gets the size of this Instance in
bits. | |
|
|
Gets the (aligned) size of of the Type/Instance in Bytes | |
|
|
Gets the the DataTypeCategory of
the Instance. | |
|
|
Gets the comment. | |
|
|
Gets the connection that produces values for this IValueSymbol | |
|
|
Gets the context mask of this instance. | |
|
|
Gets the IDataType of the
IInstance. | |
|
|
Gets the member instances of the Struct Instance. | |
|
|
Gets a value indicating whether this instance has a
value. | |
|
|
Gets the AmsAddress of the
Process Image | |
|
|
Gets the index group of the Symbol | |
|
|
Gets the index offset of the Symbol | |
|
|
Gets the name of the instance (without periods (.) | |
|
|
Gets the relative / absolute access path to the instance (with
periods (.)) | |
|
|
Gets a value indicating whether this instance is not basing on
a full DataType but instead of some sort of bit mapping | |
|
|
Indicates that the Size of the Object is Byte aligned (BitSize
% 8 == 0) | |
|
|
Gets a value indicating whether this Symbol is a
container/complex type. | |
|
|
Gets or sets a value indicating whether an ancestor is a
dereferenced Pointer | |
|
|
Gets or sets a value indicating whether an ancestor is a
dereferenced Reference | |
|
|
Indicates that this instance is persistent. | |
|
|
Gets a value indicating whether this instance is
reference. | |
|
|
Gets a value indicating whether this instance is
primitive. | |
|
|
Gets a value indicating whether IInstance is a
property. | |
|
|
Indicates that this instance is read only. | |
|
|
Gets a value indicating whether this instance is
recursive. | |
|
|
Gets a value indicating whether this instance is
reference. | |
|
|
Gets a value indicating whether this IInstance is
static. | |
|
|
Indicates that this instance is a TcComInterfacePointer. | |
|
|
Indicates that this instance has set TypeGuid flag. | |
|
|
Gets a value indicating whether this instance is virtual. | |
|
|
Gets the namespace name. | |
|
|
Gets or sets the notification settings. | |
|
|
Gets the parent Symbol | |
|
|
Gets the size of the IDataType in bytes
or Bits dependant on IsBitType | |
|
|
Gets the number of SubSymbols | |
|
| ||
|
|
Gets the name of the DataType that is
used for this IInstance. | |
|
|
Gets the value encoding. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Equalses the specified inst. | |
|
|
Equals | |
|
|
Equalses the specified inst. | |
|
|
Gets the HashCode of the Address | |
|
|
Gets the Type of the current
instance. | |
|
|
Reads the value of this Value into a new
created instance of the managed type | |
|
|
Reads the value of this Value into a new
created instance of the managed type | |
|
|
Reads the value of this Value into a new
created instance of the managed type | |
|
|
Reads the value of this Value into a new
created instance of the managed type | |
|
|
Reads the (AnyType) value asynchronously. | |
|
|
Read any value as an asynchronous operation. | |
|
|
Reads the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Reads the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Reads the raw value of the IValueSymbol (Ads
Read / Write) asynchronously. | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Reads the Value of the IValueSymbol
asynchronously. | |
|
|
Sets the parent symbol. | |
|
|
Returns a String that represents this
instance. | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Reads the value of this Value into the
specified managed value. | |
|
|
Reads the value of this Value into the
specified managed value. | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads
Read / Write) | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when the RawValue of the IValueSymbol has
changed. | |
|
|
Occurs when the value of the IValueSymbol has
changed. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Indicates, that the Instance value includes process memory
data, that cannot be read in one memory block. | |
|
|
Indicates, that the field is static or is not part of the
parents processimage memory location | |
|
|
Gets the Unwrapped Symbol |
- Symbol.AccessRights Property
- Instance.Attributes Property
- Instance.BitSize Property
- Instance.ByteSize Property
- Instance.Category Property
- Instance.Comment Property
- Symbol.Connection Property
- Instance.ContextMask Property
- Instance.DataType Property
- UnionInstance.FieldInstances Property
- Instance.HasValue Property
- Symbol.ImageBaseAddress Property
- Symbol.IndexGroup Property
- Symbol.IndexOffset Property
- Instance.InstanceName Property
- Symbol.InstancePath Property
- Instance.IsBitType Property
- Instance.IsByteAligned Property
- UnionInstance.IsContainerType Property
- Symbol.IsContainerType Property
- Symbol.IsDereferencedPointer Property
- Symbol.IsDereferencedReference Property
- Instance.IsPersistent Property
- Instance.IsPointer Property
- UnionInstance.IsPrimitiveType Property
- Symbol.IsPrimitiveType Property
- Instance.IsReadOnly Property
- Symbol.IsRecursive Property
- Instance.IsReference Property
- Instance.IsStatic Property
- Instance.IsTcComInterfacePointer Property
- Instance.IsTypeGuid Property
- Symbol.IsVirtual Property
- Instance.Namespace Property
- Symbol.NotificationSettings Property
- Symbol.Parent Property
- Instance.Size Property
- Symbol.SubSymbolCount Property
- Symbol.SubSymbols Property
- Instance.TypeName Property
- Symbol.ValueEncoding Property
- Symbol.Equals Method
- Symbol.GetHashCode Method
- Symbol.ReadAnyValue Method (Type)
- Symbol.ReadAnyValue Method (Type, Int32)
- Symbol.ReadAnyValueAsync Method
- Symbol.ReadRawValue Method
- Symbol.ReadRawValue Method (Int32)
- Symbol.ReadRawValueAsync Method
- Symbol.ReadValue Method
- Symbol.ReadValue Method (Int32)
- Symbol.ReadValueAsync Method
- Symbol.SetParent Method
- Symbol.ToString Method
- Symbol.TryReadValue Method
- Symbol.TryWriteValue Method
- Symbol.UpdateAnyValue Method (Object.)
- Symbol.UpdateAnyValue Method (Object., Int32)
- Symbol.WriteRawValue Method (.Byte.)
- Symbol.WriteRawValue Method (.Byte., Int32)
- Symbol.WriteRawValueAsync Method
- Symbol.WriteValue Method (Object)
- Symbol.WriteValue Method (Object, Int32)
- Symbol.WriteValueAsync Method
- Symbol.Equals Method (ISymbol)
- Symbol.Equals Method (Object)
- Symbol.Equals Method (Symbol)
- Symbol.ReadAnyValue.T. Method
- Symbol.ReadAnyValue.T. Method (Int32)
- Symbol.ReadAnyValueAsync Method (Type, CancellationToken)
- Symbol.ReadAnyValueAsync.T. Method (CancellationToken)
- Symbol.RawValueChanged Event
- Symbol.ValueChanged Event