File tree Expand file tree Collapse file tree 3 files changed +24
-18
lines changed
src/frequenz/sdk/timeseries Expand file tree Collapse file tree 3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 1616class BatteryPoolReport (typing .Protocol ):
1717 """A status report for a battery pool."""
1818
19- target_power : Power | None
20- """The currently set power for the batteries."""
19+ @property
20+ def target_power (self ) -> Power | None :
21+ """The currently set power for the batteries."""
2122
22- distribution_result : power_distributing .Result | None
23- """The result of the last power distribution.
23+ @property
24+ def distribution_result (self ) -> power_distributing .Result | None :
25+ """The result of the last power distribution.
2426
25- This is `None` if no power distribution has been performed yet.
26- """
27+ This is `None` if no power distribution has been performed yet.
28+ """
2729
2830 @property
2931 def bounds (self ) -> Bounds [Power ] | None :
Original file line number Diff line number Diff line change 1313class EVChargerPoolReport (typing .Protocol ):
1414 """A status report for an EV chargers pool."""
1515
16- target_power : Power | None
17- """The currently set power for the EV chargers."""
16+ @property
17+ def target_power (self ) -> Power | None :
18+ """The currently set power for the EV chargers."""
1819
19- distribution_result : power_distributing .Result | None
20- """The result of the last power distribution.
20+ @property
21+ def distribution_result (self ) -> power_distributing .Result | None :
22+ """The result of the last power distribution.
2123
22- This is `None` if no power distribution has been performed yet.
23- """
24+ This is `None` if no power distribution has been performed yet.
25+ """
2426
2527 @property
2628 def bounds (self ) -> Bounds [Power ] | None :
Original file line number Diff line number Diff line change 1313class PVPoolReport (typing .Protocol ):
1414 """A status report for a PV pool."""
1515
16- target_power : Power | None
17- """The currently set power for the PV inverters."""
16+ @property
17+ def target_power (self ) -> Power | None :
18+ """The currently set power for the PV inverters."""
1819
19- distribution_result : power_distributing .Result | None
20- """The result of the last power distribution.
20+ @property
21+ def distribution_result (self ) -> power_distributing .Result | None :
22+ """The result of the last power distribution.
2123
22- This is `None` if no power distribution has been performed yet.
23- """
24+ This is `None` if no power distribution has been performed yet.
25+ """
2426
2527 @property
2628 def bounds (self ) -> Bounds [Power ] | None :
You can’t perform that action at this time.
0 commit comments