PIconnect.PIData module#

Module for the PIAFAttribute class.

class PIconnect.PIAFAttribute.PIAFAttribute(element: AFBaseElement, attribute: AFAttribute)#

Bases: PISeriesContainer

Container for attributes of PI AF elements in the database.

property children: dict[str, PIAFAttribute]#

Return a dictionary of the direct child attributes of the current attribute.

property data_reference: AFDataReference#

Return the data reference of the current attribute.

property description: str#

Return the description of the PI Point.

property last_update: datetime#

Return the time at which the current_value was last updated.

property name: str#

Return the name of the current attribute.

property parent: PIAFAttribute | None#

Return the parent attribute of the current attribute, or None if it has none.

property units_of_measurement: str#

Return the units of measurement in which values for this element are reported.

version = '0.1.0'#