AttributeValue Class |
Namespace: Demo3D.PLC.Comms.AttrDb
public abstract class AttributeValue : AttributeProperties
The AttributeValue type exposes the following members.
| Name | Description | |
|---|---|---|
| AttributeValue |
Constructs an AttributeValue.
|
| Name | Description | |
|---|---|---|
| AttributeId |
Attribute ID.
(Inherited from AttributeProperties.) | |
| Dimensions |
The dimensions of the value (or null).
| |
| FixedSize |
True if the value size is fixed.
(Inherited from AttributeProperties.) | |
| Flags |
Attribute value flags.
(Inherited from AttributeProperties.) | |
| GetAttributesAll |
The attribute data is returned in a GetAttributesAll request.
(Inherited from AttributeProperties.) | |
| Gettable |
True if protocol attribute-get requests are allowed.
(Inherited from AttributeProperties.) | |
| IgnoreSet |
True if protocol attribute-set requests are allowed, but should be ignored.
(Inherited from AttributeProperties.) | |
| NotSupported |
The attribute is not supported.
(Inherited from AttributeProperties.) | |
| NumBytes |
The number of bytes of attribute data (or -1).
(Overrides AttributePropertiesNumBytes.) | |
| Settable |
True if protocol attribute-set requests are allowed.
(Inherited from AttributeProperties.) |
| Name | Description | |
|---|---|---|
| AddOnAttributeValueSet |
Add a handler for the OnAttributeValueSet event.
| |
| GetValue(MessageContextBase, ArraySegmentByte) |
Protocol access to the attribute value.
Honours Gettable.
| |
| GetValue(MessageContextBase, IPacketWriter, DataSelect) |
Protocol access to the attribute value.
Honours Gettable.
| |
| NotifyAttributeValueSet |
Raises the OnAttributeValueSet event.
| |
| ReadByte |
Reads the attribute value and returns the data as a value.
| |
| ReadBytes(ArraySegmentByte) |
Read the attribute value into the specified buffer.
| |
| ReadBytes(Int32) |
Reads the attribute value and returns the data as a value.
| |
| ReadDoubleLE |
Reads the attribute value and returns the data as a value.
| |
| ReadInt16LE |
Reads the attribute value and returns the data as a value.
| |
| ReadInt32LE |
Reads the attribute value and returns the data as a value.
| |
| ReadInt64LE |
Reads the attribute value and returns the data as a value.
| |
| ReadSingleLE |
Reads the attribute value and returns the data as a value.
| |
| ReadString |
Reads the attribute value and returns the data as a value.
| |
| ReadUInt16LE |
Reads the attribute value and returns the data as a value.
| |
| ReadUInt32LE |
Reads the attribute value and returns the data as a value.
| |
| ReadUInt64LE |
Reads the attribute value and returns the data as a value.
| |
| RemoveOnAttributeValueSet |
Remove a handler from the OnAttributeValueSet event.
| |
| SetValue(MessageContextBase, ArraySegmentByte, Boolean) | ||
| SetValue(MessageContextBase, IPacketWriter, IPacketReader, DataSelect, Boolean) | ||
| WriteByte |
Write a value to the attribute value.
| |
| WriteBytes |
Write data into the attribute value.
| |
| WriteDoubleLE |
Write a value to the attribute value.
| |
| WriteInt16LE |
Write a value to the attribute value.
| |
| WriteInt32LE |
Write a value to the attribute value.
| |
| WriteInt64LE |
Write a value to the attribute value.
| |
| WriteSingleLE |
Write a value to the attribute value.
| |
| WriteString |
Write a value to the attribute value.
| |
| WriteUInt16LE |
Write a value to the attribute value.
| |
| WriteUInt32LE |
Write a value to the attribute value.
| |
| WriteUInt64LE |
Write a value to the attribute value.
|
| Name | Description | |
|---|---|---|
| OnAttributeValueSet |
Occurs when the attribute value is set, but only under certain circumstances (see remarks).
|