To get all available trended attributes of an object, when you have the object ID, use the GetTrendedAttributes
.
Note: You can only read samples for attributes that have
Trend
objects configured for them. If you try to retrieve samples for an attribute of an object that does not have any samples, the client library raises the following exception MetasysHttpNotFoundException
.Library method name |
GetTrendedAttributes
|
---|---|
Description | Get a list of trended attributes for a specific object. |
Method signature |
List<Attribute>GetTrendedAttributes(Guid id);
|
Method input parameters |
id : GUID of the target object the method retrieves the list of attributes from after configuring the trend object. |
Return value | A list of Attribute objects. |