IAttributeDatabase Interface |
Namespace: Demo3D.PLC.Comms.AttrDb
public interface IAttributeDatabase
The IAttributeDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| NumAttributes |
The number of attributes.
|
| Name | Description | |
|---|---|---|
| FindAttributeValue |
Find an attribute value by id.
| |
| GetOrAddAttributeValue |
Finds or creates the value for a specified attribute.
|
var attribute = attributeDatabase.GetWordAttribute(attributeId: 10); // get attribute 10
attribute.Value = 150; // set its value to 150