preheat_open.supplypoint.SupplyPoint
- class preheat_open.supplypoint.SupplyPoint(id=None, name='', sub_type='', type='', units=<factory>, location=None)
Bases:
objectRepresents a supply point.
- Variables:
id (int) – The unique identifier of the supply point.
name (str) – The name of the supply point.
sub_type (str) – The subtype of the supply point.
type (str) – The type of the supply point.
units (list[Unit]) – A list of units associated with the supply point.
adapter (Adapter) – The adapter for the supply point.
__price_components (list[AppliedPriceComponent]) – A list of applied price components.
__price_components_loaded (bool) – Indicates if the price components have been loaded.
- __init__(id=None, name='', sub_type='', type='', units=<factory>, location=None)
Methods
__init__([id, name, sub_type, type, units, ...])Attributes
idlocationnameReturns the list of applied price components associated with the supply point.
sub_typetypeunits- property price_components
Returns the list of applied price components associated with the supply point.
- Returns:
A list of applied price components.
- Return type:
list[AppliedPriceComponent]